/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: #c8a44e; border-radius: 3px; }

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(10,22,40,0.06);
}
#navbar.scrolled .nav-logo-text { color: #0a1628; }
#navbar.scrolled .nav-link { color: rgba(10,22,40,0.6) !important; }
#navbar.scrolled .nav-link:hover { color: #c8a44e !important; }
#navbar.scrolled #bar1, #navbar.scrolled #bar2, #navbar.scrolled #bar3 { background: #0a1628; }

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.closed { opacity: 0 !important; pointer-events: none !important; }
#bar1.open { transform: translateY(6px) rotate(45deg); }
#bar2.open { opacity: 0; }
#bar3.open { transform: translateY(-6px) rotate(-45deg); width: 24px; }

/* ── Hero ── */
.hero-eyebrow { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.2s; }
.hero-headline { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.4s; }
.hero-sub { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.6s; }
.hero-cta { animation: fadeUp 0.8s ease forwards; opacity: 0; animation-delay: 0.8s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Stat Cards ── */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: cardIn 0.6s ease forwards;
}
.stat-card[data-delay="0"] { animation-delay: 1s; }
.stat-card[data-delay="100"] { animation-delay: 1.15s; }
.stat-card[data-delay="200"] { animation-delay: 1.3s; }

@keyframes cardIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll Line ── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Reveal on Scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-delay="0"] { transition-delay: 0s; }
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }

/* ── Room Cards ── */
.room-card {
    border-bottom: 1px solid transparent;
    padding-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}
.room-card:hover { border-bottom-color: #c8a44e; }
.room-card img { transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }

/* ── Amenity Items ── */
.amenity-item { transition: background 0.4s ease; }
.amenity-item:hover svg { transform: scale(1.1); transition: transform 0.3s ease; }

/* ── Button Hover Glow ── */
button:hover, a:hover { transition: all 0.3s ease; }

/* ── Focus States ── */
input:focus, textarea:focus {
    outline: none;
    border-color: #c8a44e !important;
    box-shadow: 0 0 0 3px rgba(200,164,78,0.1);
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .stat-card { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .stat-card { display: none; }
}
