/* Custom Styles for Trigg Insurance Agency */

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

/* Navigation Active State */
nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #911e43;
}

/* Focus Styles for Accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Animation for scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Print Styles */
@media print {
    nav,
    #contactForm,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
