/* Custom Styles for El Mariachi Mexican Grill & Bar */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #c4806d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b06050;
}

/* Feature Card Hover Effects */
.feature-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* Menu Card Hover Effects */
.menu-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Animation */
.mobile-menu-open {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Ripple Effect */
button, a {
    position: relative;
    overflow: hidden;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid #c4806d;
    outline-offset: 2px;
}

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

/* Print Styles */
@media print {
    nav,
    .animate-float,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
    .bg-terracotta-600 {
        background-color: ButtonText;
    }
    
    .text-terracotta-600 {
        color: ButtonText;
    }
}

/* Loading State for Form */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Image Loading Placeholder */
img {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}
