/* Custom styles beyond Tailwind */

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

/* Selection color */
::selection {
    background-color: #bbf7d0;
    color: #102a43;
}

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

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

::-webkit-scrollbar-thumb {
    background: #9fb3c8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #627d98;
}

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

/* Subtle pattern for background sections */
.mint-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(74, 222, 128, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(134, 239, 172, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Image lazy loading fade */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-lazy] {
    opacity: 0;
}

img[data-lazy].loaded {
    opacity: 1;
}

/* Print styles */
@media print {
    nav, .btn-primary, .btn-outline, #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero-gradient {
        background: #102a43 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
