/* Custom styles for MT Ephraim Fire Department */

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Base font */
body {
    font-family: 'Lato', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Coral accent utilities */
.coral-accent {
    color: #ff6b42;
}

.coral-bg {
    background-color: #ff6b42;
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b42, #ff8a6a);
    border-radius: 2px;
}

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

::-webkit-scrollbar-track {
    background: #1e1e28;
}

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

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

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1e1e28 0%, #3d3d4a 30%, #4a4a58 60%, #5c5c6e 100%);
}

/* Selection color */
::selection {
    background-color: #ff6b42;
    color: #ffffff;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #ff6b42;
    outline-offset: 2px;
}

/* Reduced motion */
@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 menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

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

/* Image hover effects */
.group:hover .group-hover\\:bg-coral-500\\/20 {
    background-color: rgba(255, 107, 66, 0.2);
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    .coral-bg,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-gradient {
        background: #f5f5f5;
    }
}
