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

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

body {
    margin: 0;
    min-height: 100vh;
}

::selection {
    background: rgba(15, 196, 132, 0.3);
    color: #fff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050A18;
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 196, 132, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 196, 132, 0.5);
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.4;
}

.shape-circle-1 {
    top: 15%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 196, 132, 0.08) 0%, transparent 70%);
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    top: 45%;
    right: -8%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 196, 132, 0.06) 0%, transparent 70%);
    animation: float-slow 25s ease-in-out infinite reverse;
}

.shape-circle-3 {
    bottom: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(62, 216, 160, 0.05) 0%, transparent 70%);
    animation: float-slow 18s ease-in-out infinite;
}

.shape-diamond {
    top: 30%;
    right: 15%;
    width: 120px;
    height: 120px;
    background: rgba(15, 196, 132, 0.04);
    transform: rotate(45deg);
    animation: float-slow 15s ease-in-out infinite;
}

.shape-arc {
    bottom: 25%;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(15, 196, 132, 0.06);
    border-radius: 50%;
    border-top-color: transparent;
    border-left-color: transparent;
    animation: spin-slow 30s linear infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Navigation ===== */
.nav-header {
    background: rgba(5, 10, 24, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.nav-header.scrolled {
    background: rgba(5, 10, 24, 0.95);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3ED8A0;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ===== Room Cards ===== */
.room-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(15, 196, 132, 0.1);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    max-h: 0;
}

#mobile-menu.open {
    max-h: 500px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
}

/* ===== 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .room-card:hover {
        transform: none;
    }
    
    .geo-shape {
        animation: none;
    }
}

/* ===== Select Dropdown Fix ===== */
select option {
    background: #0A1628;
    color: #fff;
}
