/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background-color: #c8a45c;
    color: #0a1f3f;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1f3f;
}
::-webkit-scrollbar-thumb {
    background: #c8a45c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4b76e;
}

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

#navbar.scrolled {
    background: rgba(10, 31, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(200, 164, 92, 0.1);
}

.nav-logo-text {
    color: #faf8f5;
}

.nav-link-text {
    color: rgba(250, 248, 245, 0.7);
}

#navbar.scrolled .nav-link-text {
    color: rgba(250, 248, 245, 0.8);
}

.nav-link:hover .nav-link-text {
    color: #d4b76e;
}

/* ===== Mobile Menu ===== */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    color: rgba(250, 248, 245, 0.8);
    transition: color 0.3s ease;
}

/* ===== Room Cards ===== */
.room-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.room-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Amenities ===== */
.amenity-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

/* ===== About Image ===== */
.about-image-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .room-card,
    .amenity-item,
    .about-image-wrapper {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Focus Styles ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #c8a45c;
    outline-offset: 2px;
}

/* ===== Print ===== */
@media print {
    #navbar,
    #contact-form,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
