/* ============================================
   LA FIESTA — Restaurant Website Styles
   Burgundy + Blush | Warm & Friendly
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --burgundy: #7B2431;
    --burgundy-dark: #5C1A26;
    --burgundy-deeper: #3D1019;
    --blush: #F5E6D3;
    --blush-light: #FDF6EE;
    --blush-mid: #F0D5C0;
    --cream: #FFF9F5;
    --warm-white: #FFFBF7;
    --text-dark: #2A1518;
    --text-mid: #5C3A3F;
    --text-light: #8A6068;
    --shadow-sm: 0 2px 8px rgba(123, 36, 49, 0.06);
    --shadow-md: 0 8px 30px rgba(123, 36, 49, 0.1);
    --shadow-lg: 0 20px 60px rgba(123, 36, 49, 0.12);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 600;
}
.skip-link:focus {
    top: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: #fff;
    box-shadow: 0 4px 20px rgba(123, 36, 49, 0.3);
}
.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 36, 49, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}
.btn-outline-dark:hover {
    background: var(--burgundy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--burgundy);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ---------- Section shared ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: rgba(123, 36, 49, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .section-desc {
    margin: 0 auto;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 36, 49, 0.06);
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(253, 246, 238, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--burgundy);
}
.nav-logo:hover {
    opacity: 0.8;
}

.logo-text {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}
.nav-links a:hover {
    color: var(--burgundy);
    background: rgba(123, 36, 49, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--burgundy) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: all var(--transition) !important;
}
.nav-cta:hover {
    background: var(--burgundy-dark) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 4px;
}
.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--burgundy-deeper);
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(123, 36, 49, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(245, 230, 211, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(123, 36, 49, 0.3) 0%, var(--burgundy-deeper) 70%);
}

.hero-bg-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("https://images.pexels.com/photos/8922188/pexels-photo-8922188.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080");
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    mix-blend-mode: luminosity;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(61, 16, 25, 0.7) 0%,
        rgba(123, 36, 49, 0.5) 50%,
        rgba(61, 16, 25, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 230, 211, 0.12);
    border: 1px solid rgba(245, 230, 211, 0.2);
    color: var(--blush);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-headline {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-accent {
    color: var(--blush);
    font-style: italic;
    font-weight: 600;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 230, 211, 0.8);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 211, 0.7);
    font-size: 0.9rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 211, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(245, 230, 211, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ========== FEATURED ========== */
.featured {
    padding: 100px 0;
    background: var(--warm-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 36, 49, 0.04);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(123, 36, 49, 0.08);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(123, 36, 49, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== MENU ========== */
.menu-section {
    padding: 100px 0;
    background: var(--blush-light);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.menu-cat-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-mid);
    background: #fff;
    border: 2px solid transparent;
    transition: all var(--transition);
}
.menu-cat-btn:hover {
    color: var(--burgundy);
    border-color: rgba(123, 36, 49, 0.2);
}
.menu-cat-btn.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.menu-item {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 36, 49, 0.04);
    transition: all var(--transition);
}
.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.menu-item-img {
    height: 200px;
    overflow: hidden;
}
.menu-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-item:hover .menu-item-img img {
    transform: scale(1.05);
}

.menu-item-body {
    padding: 24px;
}

.menu-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.menu-item-top h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.menu-item-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy);
    background: rgba(123, 36, 49, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.menu-item-body p {
    color: var(--text-mid);
    font-size: 0.9rem;
    line-height: 1.6;
}

.menu-footer {
    text-align: center;
    margin-top: 48px;
}
.menu-footer p {
    color: var(--text-mid);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ========== ABOUT ========== */
.about-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--warm-white);
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    background: var(--burgundy);
    border-radius: var(--radius-md);
    opacity: 0.08;
    z-index: -1;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 32px 0 40px;
    padding: 24px 0;
    border-top: 1px solid rgba(123, 36, 49, 0.08);
    border-bottom: 1px solid rgba(123, 36, 49, 0.08);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========== GALLERY ========== */
.gallery-section {
    padding: 100px 0;
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5/4;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* ========== VISIT ========== */
.visit-section {
    padding: 100px 0;
    background: var(--blush-light);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-info .section-tag {
    margin-bottom: 16px;
}

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-desc {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(123, 36, 49, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.info-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}
.info-card a {
    color: var(--burgundy);
    font-weight: 700;
    transition: color var(--transition);
}
.info-card a:hover {
    color: var(--burgundy-dark);
    text-decoration: underline;
}

.visit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 450px;
}

/* ========== CTA ========== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--burgundy-deeper);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 50% 80% at 10% 50%, rgba(123, 36, 49, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 90% 50%, rgba(245, 230, 211, 0.06) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    color: rgba(245, 230, 211, 0.75);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--burgundy-deeper);
    color: rgba(245, 230, 211, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(245, 230, 211, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--blush);
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
}
.footer-contact a {
    color: var(--blush);
    font-weight: 600;
    transition: color var(--transition);
}
.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(245, 230, 211, 0.4);
}

/* ========== REVEAL ANIMATIONS ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-secondary {
        right: 0;
        bottom: -24px;
    }

    .about-img-accent {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 246, 238, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(123, 36, 49, 0.06);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    .nav-cta {
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats {
        gap: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .featured,
    .menu-section,
    .about-section,
    .gallery-section,
    .visit-section {
        padding: 72px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .menu-categories {
        gap: 6px;
    }
    .menu-cat-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}
