/* Custom styles for Redwood Lodge */

/* Ensure smooth transitions on interactive elements */
a, button {
    transition: all 0.2s ease-in-out;
}

/* Custom focus visible styles for accessibility */
*:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .img-zoom img {
        transform: none !important;
    }
    
    nav, button {
        display: none;
    }
}

/* Reduced motion preferences */
@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;
    }
    
    .img-zoom img {
        transition: none;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .bg-teal-600 {
        background-color: ButtonText;
    }
    
    .text-teal-600 {
        color: ButtonText;
    }
}

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

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

/* Selection color */
::selection {
    background-color: #0d9488;
    color: white;
}
