/* Custom styles that complement Tailwind */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #243b53;
}

/* Selection color */
::selection {
    background: #22c55e;
    color: white;
}

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

/* Button press effect */
.btn-primary:active {
    transform: translateY(0);
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

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

/* Print styles */
@media print {
    nav, .mobile-menu, #quote-form, button {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
    
    .hero-gradient {
        background: #102a43 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
