/* Tio Pedro Latin Cuisine — Custom Styles */
/* This file provides additional custom styles beyond Tailwind CDN */

/* Base reset and typography refinements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling is handled in index.html */

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

/* Selection color */
::selection {
    background: #8B1A1A;
    color: white;
}

/* Print styles */
@media print {
    .navbar, .hamburger, .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .cta-btn, .service-card, .testimonial-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card {
        border: 2px solid #8B1A1A;
    }
    
    .testimonial-card {
        border: 2px solid #8B1A1A;
    }
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 3px solid #8B1A1A;
    outline-offset: 2px;
}

/* 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;
    }
    
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-pattern {
        min-height: auto;
        padding: 80px 0;
    }
}

/* Very large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .cta-btn:hover {
        transform: none;
    }
    
    .img-zoom:hover img {
        transform: none;
    }
}
