/* Custom enhancements beyond Tailwind */

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

/* Selection color */
::selection {
    background: rgba(168, 56, 56, 0.2);
    color: #3d0e0e;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form, button {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .bg-burgundy-950, .bg-burgundy-800, .bg-burgundy-900 {
        background: #3d0e0e !important;
        color: #fff !important;
    }
}

/* 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;
    }
    html {
        scroll-behavior: auto;
    }
    .float-card, .float-card-delayed, .float-card-slow {
        animation: none;
    }
    .img-overlay img {
        transition: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card, .bg-white {
        border: 1px solid ButtonText;
    }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        min-height: auto;
        padding: 6rem 0;
    }
    .font-serif.text-5xl {
        font-size: 2.5rem;
    }
}

/* Very narrow mobile */
@media (max-width: 360px) {
    .font-serif.text-4xl {
        font-size: 2rem;
    }
    .service-card {
        padding: 1.5rem;
    }
}

/* Large screen optimization */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
