/* Additional custom styles */
html {
    scroll-behavior: smooth;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

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

/* Print styles */
@media print {
    nav, footer, #contact-form, .map-container {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
    }
}

/* 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;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-brand-700 {
        background-color: #7f1d1d !important;
    }
    
    .text-brand-700 {
        color: #7f1d1d !important;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
        padding: 4rem 0;
    }
    
    nav {
        position: relative;
    }
}

/* Ensure touch targets are large enough on mobile */
@media (pointer: coarse) {
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .mobile-menu button {
        min-height: 48px;
    }
}
