/* Base & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #12190c;
    color: #faf8f3;
    font-family: 'Montserrat', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #12190c; }
::-webkit-scrollbar-thumb { background: #2c3f23; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #364f2a; }

/* Selection */
::selection {
    background: rgba(196, 154, 60, 0.3);
    color: #faf8f3;
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(18, 25, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(250, 248, 243, 0.05);
}

/* Gold gradient text */
.gold-gradient {
    background: linear-gradient(135deg, #d4a853 0%, #c49a3c 50%, #b0852e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #12190c inset !important;
    -webkit-text-fill-color: #faf8f3 !important;
}

/* Smooth focus for links */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #c49a3c;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1e2d18 0%, #12190c 100%);
}

/* Reveal animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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);
    }
    .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; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Gold shimmer on hover for buttons */
button.bg-gold-500:hover,
a.bg-gold-500:hover {
    box-shadow: 0 0 30px rgba(196, 154, 60, 0.3) !important;
}

/* Card hover effects */
.bg-forest-900\/60:hover,
.bg-forest-900\/80:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.3s ease, pointer-events 0.3s ease;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}
