/* Custom styles for Wilson Fire Department */

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

/* Base font styling */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero stat cards - default visible state */
.stat-card {
    opacity: 1;
    transform: translateY(0);
}

/* Service cards - default visible state */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile menu animation */
#mobileMenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobileMenu.open {
    max-height: 400px;
}

/* Navbar scroll effect */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4a843;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e0bc6a;
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a843;
    outline-offset: 2px;
}

/* Image aspect ratio utilities */
.aspect-card {
    aspect-ratio: 3/4;
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a843, #e0bc6a);
    border-radius: 2px;
}
