/* La Playa Taqueria & Mariscos — Custom Styles */

/* Base styles that extend Tailwind */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all interactive elements have proper focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #ffc200;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Smooth transitions for all interactive elements */
a, button, input, select, textarea {
    transition: all 0.2s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #f3ebee 0%, #e8d5dd 100%);
}

/* Selection color */
::selection {
    background: #ffc200;
    color: #562b37;
}

/* Print styles */
@media print {
    nav, #backToTop, button {
        display: none !important;
    }
    
    .menu-card {
        break-inside: avoid;
    }
    
    body {
        background: white !important;
    }
}

/* Reduced motion */
@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;
    }
    
    .menu-card:hover {
        transform: none;
    }
}

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .hero-title {
        font-size: clamp(3rem, 8vw, 5rem);
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .menu-card {
        padding: 0;
    }
}

/* Utility: hide but keep accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
