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

/* ── Custom Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0D1F17; }
::-webkit-scrollbar-thumb { background: #C9A84C40; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C9A84C70; }

/* ── Selection ──────────────────────────────────────── */
::selection { background: #C9A84C30; color: #FAF8F0; }

/* ── Hero ───────────────────────────────────────────── */
.hero-image {
    animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.15); }
    to   { transform: scale(1); }
}

.hero-reveal {
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-reveal:nth-child(1) { animation-delay: 0.2s; }
.hero-reveal:nth-child(2) { animation-delay: 0.4s; }
.hero-reveal:nth-child(3) { animation-delay: 0.6s; }
.hero-reveal:nth-child(4) { animation-delay: 0.8s; }

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

/* ── Navbar ─────────────────────────────────────────── */
#navbar {
    backdrop-filter: blur(0px);
    transition: background 0.5s ease, backdrop-filter 0.5s ease, padding 0.5s ease;
}
#navbar.scrolled {
    background: rgba(13, 31, 23, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.08);
}

/* ── Mobile Menu ────────────────────────────────────── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
#mobile-menu.closed #bar1 { transform: rotate(45deg) translate(4px, 4px); }
#mobile-menu.closed #bar2 { opacity: 0; }
#mobile-menu.closed #bar3 { transform: rotate(-45deg) translate(4px, -4px); width: 1.5rem; }

.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C9A84C;
    transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* ── Reveal on Scroll ───────────────────────────────── */
.reveal {
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Menu Tabs ──────────────────────────────────────── */
.menu-tab {
    background: transparent;
    color: #F5F0E6;
    border: none;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}
.menu-tab.active {
    background: #C9A84C;
    color: #0D1F17;
}
.menu-tab:not(.active):hover {
    color: #C9A84C;
}

/* ── Menu Items ─────────────────────────────────────── */
.menu-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(250, 248, 240, 0.06);
    transition: padding-left 0.3s ease;
}
.menu-item:first-child { border-top: 1px solid rgba(250, 248, 240, 0.06); }
.menu-item:hover { padding-left: 8px; }

/* ── Gold Accent Line ───────────────────────────────── */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, transparent);
}

/* ── Form Styles ────────────────────────────────────── */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.3);
}

/* ── Gallery Hover ──────────────────────────────────── */
.group img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .font-display { line-height: 1.1; }
}
