/* Custom styles that complement Tailwind */

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

/* Selection color */
::selection {
    background: #ffaaa4;
    color: #18181b;
}

/* 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; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

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

/* Image loading */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, #back-to-top, .reveal { display: none; }
    body { color: #000; background: #fff; }
}
