/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #C5A059;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF61;
}

/* Navbar Scroll State */
nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Reveal Animations */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Scroll Reveal (below fold only) */
.room-card,
.amenity-item,
.reveal-scale {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-scale {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Prefers reduced motion - content always visible */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .room-card,
    .amenity-item,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Mobile Menu */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Room Card Hover */
.room-card {
    transition: transform 0.3s ease;
}
.room-card:hover {
    transform: translateY(-4px);
}

/* Amenity Item Hover */
.amenity-item {
    transition: transform 0.3s ease;
}
.amenity-item:hover {
    transform: translateY(-4px);
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Image Aspect Ratio Utilities */
img {
    display: block;
}

/* Selection Color */
::selection {
    background: #C5A059;
    color: #0A1628;
}
