/* Custom styles that complement Tailwind CSS */

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

/* Ensure all text has proper contrast */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #4a9d82;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reduced motion - content is visible by default, no animation needed */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Mobile optimization */
@media (max-width: 640px) {
    .room-card {
        border-radius: 1.5rem !important;
    }
    
    .img-zoom {
        border-radius: 1rem !important;
    }
}

/* Tablet optimization */
@media (min-width: 641px) and (max-width: 1023px) {
    .blob {
        filter: blur(40px);
        opacity: 0.08;
    }
}

/* Large screen optimization */
@media (min-width: 1280px) {
    .room-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 32px 64px rgba(16, 42, 67, 0.18);
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .room-card {
        border: 2px solid currentColor;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
}

/* Touch device optimization */
@media (hover: none) {
    .room-card:hover {
        transform: none;
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}
