/* Custom Styles for Azure Boutique Hotel */

@keyframes subtle-zoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.animate-subtle-zoom {
    animation: subtle-zoom 10s ease-out forwards;
}

@keyframes fade-in-up {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fade-in-up 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
    opacity: 0;
}

.delay-200 { animation-delay: 0.2s; }
.delay-500 { animation-delay: 0.5s; }

/* Navigation Glassmorphism on Scroll */
nav.scrolled {
    background: rgba(247, 247, 242, 0.9);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(203, 192, 173, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f7f7f2;
}

::-webkit-scrollbar-thumb {
    background: #cbc0ad;
}

::-webkit-scrollbar-thumb:hover {
    background: #47614d;
}

/* Editorial Image Hover Effect */
.editorial-image-container {
    overflow: hidden;
}

.editorial-image-container img {
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.editorial-image-container:hover img {
    transform: scale(1.05);
}

/* Animate on Scroll Classes */
.animate-on-scroll {
    transition: all 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Mobile Menu Transition */
#mobile-menu.active {
    transform: translateX(0);
}

/* Booking Bar Spacing */
body {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 240px; /* More space for stacked mobile bar */
    }
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    border-color: #d9b57d !important;
}

/* Room Card Layout */
.room-card:nth-child(even) {
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .room-card:nth-child(even) {
        margin-top: 0;
    }
}
