/* Custom styles for Rose's Lodging */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll reveal base - content is visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduced motion - no animations */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .room-card, .amenity-card {
        transition: none;
    }
}

/* Active state for JS-applied reveal (progressive enhancement) */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 250, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-link {
    position: relative;
}

/* Room card hover */
.room-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Amenity card hover */
.amenity-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgb(196, 76, 104);
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgb(255, 250, 247);
}
::-webkit-scrollbar-thumb {
    background: rgb(210, 165, 180);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(156, 33, 68);
}

/* Selection color */
::selection {
    background: rgb(249, 205, 213);
    color: rgb(94, 31, 42);
}
