/* Custom styles for Clay City Fire Protection District */

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

/* Custom gradient animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Hero decorative elements animation */
#hero .absolute.rounded-full {
    animation: float 6s ease-in-out infinite;
}

#hero .absolute:nth-child(2) {
    animation-delay: -2s;
}

#hero .absolute:nth-child(3) {
    animation-delay: -4s;
}

/* Scroll reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .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; }
}

/* Navbar scroll effect handled in JS */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.1);
}

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

::-webkit-scrollbar-track {
    background: #ecfdf5;
}

::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 5px;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, .scroll-indicator, #contactForm button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
