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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0f1a0b;
    color: #faf9f6;
    font-family: 'Lato', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f1a0b;
}
::-webkit-scrollbar-thumb {
    background: #2f5021;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3e682b;
}

/* ─── Selection ─── */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #faf9f6;
}

/* ─── Scroll Indicator Animation ─── */
@keyframes scroll-line {
    0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

.animate-scroll-line {
    animation: scroll-line 1.8s ease-in-out infinite;
}

/* ─── Menu Card Hover ─── */
.menu-card {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ─── Navbar Styles ─── */
.nav-scrolled {
    background: rgba(15, 26, 11, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-scrolled .nav-link {
    color: rgba(250, 249, 246, 0.7) !important;
}

/* ─── Gold Gradient Text (for special cases) ─── */
.gold-gradient {
    background: linear-gradient(135deg, #f0d78c, #d4a843, #e6c256);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Reveal Animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ─── Input Date Picker Dark Theme ─── */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(10deg);
    cursor: pointer;
}

/* ─── Select Dropdown ─── */
select option {
    background: #1f3417;
    color: #faf9f6;
}

/* ─── Mobile Menu Transition ─── */
#mobile-menu {
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* ─── Utility: Subtle Glow ─── */
.glow-gold {
    box-shadow: 0 0 40px rgba(212, 168, 67, 0.15);
}

/* ─── Form Focus States ─── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ─── Button Ripple Effect ─── */
button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

button:active::after {
    opacity: 1;
}

button {
    position: relative;
    overflow: hidden;
}
