/* Custom styles supplementing Tailwind */

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}
img[data-src] {
    opacity: 0;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 164, 0.3);
    color: #f0fdf9;
}

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

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

/* Print styles */
@media print {
    .hero-bg { background: none !important; }
    nav, footer, .reveal { display: none; }
    body { background: white; color: black; }
}
