/* Base resets and custom properties */
:root {
    --color-navy-900: #0a1628;
    --color-navy-800: #111d35;
    --color-navy-700: #1a2d4a;
    --color-gold-500: #c8a45e;
    --color-gold-400: #d4b76e;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero animations - always visible, never hidden */
.hero-anim {
    opacity: 1;
    animation: heroSlideUp 0.8s ease forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0.1s; }
.hero-anim:nth-child(2) { animation-delay: 0.3s; }
.hero-anim:nth-child(3) { animation-delay: 0.5s; }
.hero-anim:nth-child(4) { animation-delay: 0.7s; }

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

/* Stat cards - always visible */
.stat-card {
    opacity: 1;
    animation: statFloat 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.8s; }
.stat-card:nth-child(2) { animation-delay: 1.0s; }
.stat-card:nth-child(3) { animation-delay: 1.2s; }

@keyframes statFloat {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal - progressive enhancement, only below fold */
.reveal {
    /* Default state: fully visible for no-JS and reduced-motion */
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

/* Navbar transitions */
#navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.06);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #c8a45e;
    border-radius: 3px;
}

/* Selection */
::selection {
    background: rgba(200, 164, 94, 0.2);
    color: #0a1628;
}

/* Image aspect ratios */
img {
    display: block;
    max-width: 100%;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c8a45e;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Link hover underline animation */
a {
    text-decoration: none;
}

/* Subtle gold accent lines */
.gold-line {
    position: relative;
}

.gold-line::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: #c8a45e;
    margin-top: 1.5rem;
}
