/* Custom styles for Letty's Insurance Services */

/* Ensure all text has proper contrast */
body {
    background-color: #1a2744;
    color: #ffffff;
}

/* Ensure links are visible */
a {
    color: inherit;
    text-decoration: none;
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Smooth section transitions */
section {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: rgba(168, 33, 68, 0.4);
    color: white;
}

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

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f9d0d9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Reduced motion support */
@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;
    }
}

/* Print styles */
@media print {
    nav, #contact, .cta-pulse {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
    .hero-gradient {
        background: #a82144 !important;
    }
}
