/* Custom styles for Kettering Fire Department Station 37 */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2ff;
}
::-webkit-scrollbar-thumb {
    background: #c026d3;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a21caf;
}

/* Selection color */
::selection {
    background: #fcd34d;
    color: #4a044e;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(120, 26, 112, 0.08);
}

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

/* Hero parallax-like subtle effect */
#hero {
    scroll-behavior: smooth;
}

/* Service card hover glow */
.group:hover .w-14 {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Print styles */
@media print {
    .fixed, #backToTop, #mobileMenu {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
