/* Custom styles for Enrique's Southeast Mexico Taqueria and Tortilleria */

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #050D1A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #10B981;
}

/* Mobile menu transitions */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #34D399;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(5, 13, 26, 0.98) !important;
    backdrop-filter: blur(20px) !important;
}

/* Menu card hover effects */
.menu-card {
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-card:hover::before {
    opacity: 1;
}

/* Testimonial card hover */
.testimonial-card {
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(52, 211, 153, 0.1);
    line-height: 1;
    pointer-events: none;
}

/* Feature item animation */
.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
}

/* Geometric decorative elements */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #34D399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion preference */
@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;
    }
}

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

/* Mobile optimizations */
@media (max-width: 640px) {
    .shadow-hard {
        box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
    }
    
    .shadow-hard-mint {
        box-shadow: 4px 4px 0px 0px #34D399;
    }
    
    .shadow-hard-midnight {
        box-shadow: 4px 4px 0px 0px #0A1628;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu-btn,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-midnight-900,
    .bg-midnight-800 {
        background: white !important;
    }
    
    .text-white,
    .text-midnight-900 {
        color: black !important;
    }
}
