/* ===== Custom Styles for Taqueria El Texano ===== */

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

/* ===== Navigation ===== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-fixed.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

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

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

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #E8654B;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #E8654B;
}

.btn-primary:hover {
    background: #D9523A;
    border-color: #D9523A;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 101, 75, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: #E8654B;
    color: #E8654B;
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    position: relative;
}

/* ===== Card Styles ===== */
.card-main {
    background: #2D2D2D;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.card-float {
    animation: float 3s ease-in-out infinite;
}

.card-float-delayed {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ===== Menu Cards ===== */
.card-menu {
    background: #3D3D3D;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-menu:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(232, 101, 75, 0.2);
}

/* ===== Location Cards ===== */
.card-location {
    background: #3D3D3D;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.card-location:hover {
    border-color: rgba(232, 101, 75, 0.2);
    transform: translateX(4px);
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}

/* ===== Reveal Animations (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: content always visible if JS is disabled or reduced motion */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.mobile-menu.hidden {
    display: none;
}

/* ===== Utility ===== */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

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

/* ===== Image Optimization ===== */
img {
    max-width: 100%;
    height: auto;
}
