/* Custom styles for Battlecreek Fire Department */

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

/* Scroll reveal animations - progressive enhancement only */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4a84b 0%, #C9A84C 50%, #b08d3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

::-webkit-scrollbar-track {
    background: #040a14;
}

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

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(4, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Card hover glow */
.group:hover .group-hover\:bg-gold-500\/20 {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.1);
}

/* Input focus animation */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Hero image parallax feel */
@media (prefers-reduced-motion: no-preference) {
    .hero-image-stack {
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px); }
        50% { transform: translateY(-10px); }
    }
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}
