/* Custom styles for Center Fire Department */

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

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

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

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

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

/* Selection color */
::selection {
    background: #f5c8d1;
    color: #5d1c28;
}

/* Animation for mobile menu */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle hover effects */
.group:hover .group-hover\\:stroke-white {
    stroke: white;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(194, 68, 93, 0.1);
}

/* Card hover transitions */
.rounded-2xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rounded-2xl:hover {
    transform: translateY(-4px);
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile responsiveness adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem !important;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem !important;
    }
}
