/* Custom styles for Mercer Rural Fire Protection */

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

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

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

::-webkit-scrollbar-thumb {
    background: #d19a60;
    border-radius: 3px;
}

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

/* Selection color */
::selection {
    background: #e05826;
    color: #fdfcfa;
}

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

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger animation */
#menu-btn.active #line1 {
    transform: translateY(7px) rotate(45deg);
}

#menu-btn.active #line2 {
    opacity: 0;
    transform: scaleX(0);
}

#menu-btn.active #line3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Subtle hover effects for cards */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Print styles */
@media print {
    header,
    #hero,
    .group,
    iframe {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
