/* Custom styles that complement Tailwind */

/* Smooth font rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(212, 154, 42, 0.3);
    color: #1a0a2e;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d49a2a;
    outline-offset: 2px;
}

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

/* Reduced motion preference */
@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 {
        opacity: 1;
        transform: none;
    }
    .hero-gradient {
        background-size: 100% 100%;
        animation: none;
    }
}

/* Print styles */
@media print {
    nav, .hero-pattern, #contactForm, #formSuccess {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
    .hero-gradient {
        background: #1a0a2e !important;
    }
}
