/* Custom Styles for D&S Gonzales Insurance Services */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0a192f;
    color: #ffffff;
    overflow-x: hidden;
}

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

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Reveal Animation for Scroll */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(40px);
}

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

::-webkit-scrollbar-track {
    background: #0a192f;
}

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

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

/* Selection Color */
::selection {
    background: #C5A059;
    color: #0a192f;
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #C5A059;
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A059 50%, #B08D48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.group:hover .group-hover\\:scale-x-100 {
    transform: scaleX(1);
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    border-color: #C5A059 !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in {
        opacity: 1;
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    #contact-form {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .text-gray-300,
    .text-gray-400 {
        color: #333;
    }
}
