/* ===== Custom Styles for Taqueria Marisele ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5eb;
}
::-webkit-scrollbar-thumb {
    background: #d93f1e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b33118;
}

/* Menu card animations */
.menu-card {
    transform: translateY(0);
    transition: box-shadow 0.3s ease;
}

/* Specialty card hover lift */
.specialty-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.specialty-card:hover {
    transform: translateY(-4px);
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #f3e8d0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-link:last-child {
    border-bottom: none;
}
.mobile-link:hover {
    color: #d93f1e;
    padding-left: 8px;
}

/* Hero text animation - only for below-fold content */
.hero-content {
    opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .specialty-card:hover {
        transform: none;
    }
    .menu-card img {
        transition: none;
    }
}

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

/* Selection color */
::selection {
    background: #f8c4b5;
    color: #762616;
}

/* Mobile menu button animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}
