/* Custom Styles for Gore Fire Department */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    /* Ensure smooth rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseSlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Utility Classes for Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0; /* Start hidden */
}

.animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease-out 0.4s forwards;
    opacity: 0; /* Start hidden */
}

.animate-pulse-slow {
    animation: pulseSlow 4s ease-in-out infinite;
}

/* Scroll Reveal Class (Applied via JS) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

::-webkit-scrollbar-track {
    background: #05101C;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4DB6AC;
}

/* Pattern for Community Section */
.pattern-dots {
    background-image: radial-gradient(#4DB6AC 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Form Focus States */
input:focus, textarea:focus {
    border-bottom-color: #4DB6AC !important;
}

/* Selection Color */
::selection {
    background: #4DB6AC;
    color: #05101C;
}
