/* Custom Styles for Darlington Fire Station */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1E3A5F;
}

/* Service Card Hover Effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Navigation Active State */
.nav-active {
    color: #2A9D8F;
}

/* Button Hover Effects */
a, button {
    cursor: pointer;
}

/* Form Input Focus Effects */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

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

/* Navbar Background on Scroll */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(11, 29, 51, 0.08);
}

/* Hero Content Animation */
.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.hero-delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

/* Testimonial Card Hover */
.bg-white.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-white.rounded-3xl:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(11, 29, 51, 0.15);
}

/* Image Hover Zoom */
img {
    transition: transform 0.3s ease;
}

/* Custom Selection Color */
::selection {
    background: #2A9D8F;
    color: white;
}
