/* Custom styles for HQ Fort Stewart Fire Station 1 FSGA */

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

/* Scroll reveal base state — always visible (progressive enhancement) */
.service-card,
#about .relative,
#about > div > div:last-child,
#why-us .flex,
#contact .relative {
    opacity: 1;
    transform: none;
}

/* Scroll reveal with prefers-reduced-motion gate */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    #about .relative,
    #about > div > div:last-child,
    #why-us .flex,
    #contact .relative {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .service-card.revealed,
    #about .relative.revealed,
    #about > div > div:last-child.revealed,
    #why-us .flex.revealed,
    #contact .relative.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8635B;
}

/* Selection color */
::selection {
    background: #E8635B;
    color: #ffffff;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

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