/* =====================================================
   EL SEÑOR MEXICAN TAQUERIA — styles.css
   Fonts: Lobster (hero/tagline) · Rye (headings/menu) · Nunito (body)
   ===================================================== */

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', -apple-system, sans-serif;
    background: #fff;
    color: #1a0600;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* --- VARIABLES --- */
:root {
    --orange:    #E8520A;
    --orange-lt: #FF6B2B;
    --orange-bg: #FFF3EC;
    --gold:      #D4A017;
    --yellow:    #FFB800;
    --yellow-lt: #FFD000;
    --yellow-bg: #FFF8E1;
    --red:       #C0320A;
    --dark:      #1A0600;
    --text:      #2C1000;
    --muted:     #7A4A20;
    --light:     #FFFBF5;
    --uber:      #000000;
    --uber-grn:  #06C167;
    --dd-red:    #FF3008;
    --ease:      cubic-bezier(0.4, 0, 0.2, 1);
    --t:         0.26s var(--ease);
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* --- FADE IN --- */
.fade { opacity: 0; transform: translateY(18px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.fade.in { opacity: 1; transform: translateY(0); }

/* --- EYEBROW --- */
.eyebrow {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}
.eyebrow.light { color: #FFAB7A; }

/* --- SECTION TITLE (Rye font) --- */
.section-title {
    font-family: 'Rye', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.section-title.light { color: #fff; }

.section-head { text-align: center; margin-bottom: 52px; }

/* =====================================================
   NAV — bright yellow background always
   ===================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--yellow);
    padding: 10px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    transition: padding var(--t);
}
.nav--scrolled { padding: 6px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.18); }

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

.nav-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    transition: height var(--t), width var(--t);
}
.nav--scrolled .nav-logo { height: 40px; width: 40px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 50px;
    transition: background var(--t), color var(--t);
    letter-spacing: 0.01em;
}
.nav-links a:hover {
    background: rgba(0,0,0,0.1);
    color: var(--dark);
}

/* Order Now — dark button with yellow glow animation */
.nav-cta {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--dark);
    color: var(--yellow);
    letter-spacing: 0.02em;
    transition: background var(--t), transform var(--t);
    animation: cta-glow 2.4s ease-in-out infinite;
    white-space: nowrap;
}
.nav-cta:hover {
    background: #2C1000;
    transform: translateY(-1px);
}

@keyframes cta-glow {
    0%, 100% {
        box-shadow: 0 0 8px 2px rgba(255,184,0,0.55),
                    0 0 20px 4px rgba(255,208,0,0.25);
    }
    50% {
        box-shadow: 0 0 16px 4px rgba(255,184,0,0.9),
                    0 0 36px 8px rgba(255,208,0,0.55),
                    0 0 52px 10px rgba(255,220,0,0.2);
    }
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 101;
}
.nav-burger span {
    width: 24px; height: 2px;
    background: var(--dark);
    display: block;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   HERO — split layout
   ===================================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    padding-top: 70px;
}

.hero-text {
    background: var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 56px 60px;
    padding-left: max(56px, calc((100vw - 1180px) / 2 + 28px));
}

.hero-logo {
    width: 100px; height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 18px;
}

.hero-est {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

/* Fresh Everyday — Pacifico, warm gradient */
.hero-tagline {
    font-family: 'Rye', serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    color: #C0320A;
}

/* Platform Buttons */
.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin-bottom: 28px;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    border-radius: 14px;
    transition: transform var(--t), box-shadow var(--t);
    text-decoration: none;
}
.platform-btn:hover {
    transform: translateY(-2px);
}

.uber-btn {
    background: var(--uber);
    color: #fff;
}
.uber-btn:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.45); }
.uber-btn .p-btn-cta { color: #fff; }

.doordash-btn {
    background: #fff;
    color: var(--dd-red);
    border: 2px solid rgba(255,48,8,0.15);
}
.doordash-btn:hover { box-shadow: 0 10px 28px rgba(255,48,8,0.25); border-color: rgba(255,48,8,0.3); }
.doordash-btn .p-btn-cta { color: var(--dd-red); }

/* Actual logo images in hero buttons */
.p-logo { height: 48px; width: auto; flex-shrink: 0; display: block; }
.p-logo-uber { border-radius: 10px; }
.p-logo-dd   { border-radius: 10px; }

.p-btn-cta {
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

.hero-rating-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 50px;
    padding: 9px 18px;
    width: fit-content;
}
.hero-stars { font-size: 0.78rem; color: var(--gold); letter-spacing: 2px; }
.hero-rating-text { font-size: 0.75rem; font-weight: 700; color: var(--muted); }

.hero-image { position: relative; overflow: hidden; }
.hero-photo {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: transform 0.6s var(--ease);
}
.hero-image:hover .hero-photo { transform: scale(1.03); }

/* =====================================================
   STRIP
   ===================================================== */
.strip { background: var(--orange); overflow: hidden; padding: 12px 0; }
.strip-track {
    display: flex;
    width: max-content;
    animation: marquee 26s linear infinite;
}
.strip-track span {
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    padding: 0 20px;
    white-space: nowrap;
}
.strip-track .dot { font-size: 0.45rem; opacity: 0.55; padding: 0 2px; align-self: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   MENU
   ===================================================== */
.menu { padding: 100px 0; background: #fff; }

/* Food photo cards */
.food-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    height: 400px;
    gap: 12px;
    margin-bottom: 64px;
}
.food-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
}
.food-card--large { /* naturally occupies first column */ }
.food-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.food-card:hover .food-img { transform: scale(1.08); }
.food-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 42px 20px 18px;
    background: linear-gradient(to top, rgba(18,4,0,0.85) 0%, transparent 100%);
    display: flex; flex-direction: column; gap: 3px;
}
.food-name {
    font-family: 'Rye', serif;
    font-size: 1.05rem;
    color: #fff;
    letter-spacing: 0.02em;
}
.food-price {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--gold);
}

/* Menu body: list + side image */
.menu-body {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 56px;
    align-items: start;
}

.menu-list {
    list-style: none;
    border-top: 2px solid var(--yellow);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    gap: 16px;
    transition: background var(--t), padding var(--t);
}
.menu-item:hover { background: var(--orange-bg); padding-left: 14px; padding-right: 14px; border-radius: 8px; }

.menu-item-name {
    font-family: 'Rye', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}
.highlight-item .menu-item-name { color: var(--orange); }

.fav-tag {
    font-family: 'Nunito', sans-serif;
    font-size: 0.62rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    background: rgba(232,82,10,0.1);
    padding: 2px 9px;
    border-radius: 50px;
    border: 1px solid rgba(232,82,10,0.25);
}

.menu-item-price {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: var(--orange);
    flex-shrink: 0;
}

/* Menu side */
.menu-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 88px;
}
.menu-side-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}

.btn-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    background: var(--orange);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    border-radius: 50px;
    transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-orange:hover {
    background: var(--orange-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,82,10,0.45);
}

/* =====================================================
   ORDER ONLINE
   ===================================================== */
.order {
    padding: 100px 0;
    background: var(--dark);
    text-align: center;
}
.order-sub {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
    margin-bottom: 52px;
}

.order-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto 36px;
}

.order-card {
    display: block;
    padding: 40px 36px;
    border-radius: 24px;
    text-align: left;
    transition: transform var(--t), box-shadow var(--t);
}
.order-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.55);
}

.uber-card { background: #111; }
.dd-card   { background: var(--dd-red); }

.order-card-head {
    margin-bottom: 32px;
}

/* Uber Eats logo — black bg card, logo has black bg, seamless */
.order-logo-uber {
    height: 80px;
    width: auto;
    border-radius: 14px;
    display: block;
}

/* DoorDash logo — white bg logo on red card, needs white container */
.order-logo-dd-wrap {
    background: #fff;
    border-radius: 14px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
}
.order-logo-dd {
    height: 64px;
    width: auto;
    display: block;
}

.order-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.order-rating { display: flex; align-items: center; gap: 12px; }

.order-score {
    font-family: 'Rye', serif;
    font-size: 3rem;
    color: #fff;
    line-height: 1;
}

.order-stars { font-size: 0.72rem; color: #fff; letter-spacing: 3px; display: block; margin-bottom: 3px; }
.order-count { font-size: 0.72rem; color: rgba(255,255,255,0.55); }

.order-go {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255,255,255,0.65);
    transition: color var(--t);
}
.order-card:hover .order-go { color: #fff; }

.order-phone {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.45);
}
.phone-link {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold);
    transition: color var(--t);
}
.phone-link:hover { color: #f0c040; }

/* =====================================================
   FIND US — with Mexican art decorations
   ===================================================== */
.info {
    padding: 110px 0 100px;
    background: var(--light);
    position: relative;
    overflow: hidden;
}

/* El Señor logo watermark tiled across the section */
.info::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('Logos and Assets/Gemini_Generated_Image_fc36v8fc36v8fc36.png');
    background-repeat: repeat;
    background-size: 130px 130px;
    opacity: 0.055;
    z-index: 0;
    pointer-events: none;
}

/* Mexican Art positioning */
.mexican-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.art-piece { position: absolute; opacity: 0.18; }

.art-molcajete {
    width: 160px;
    bottom: 60px;
    left: -20px;
    opacity: 0.2;
    transform: rotate(-8deg);
}

.art-cilantro {
    width: 80px;
    top: 30px;
    right: 60px;
    opacity: 0.22;
    transform: rotate(12deg);
}

.art-corn {
    width: 70px;
    bottom: 40px;
    right: 100px;
    opacity: 0.2;
    transform: rotate(-15deg);
}

.art-cilantro2 {
    width: 60px;
    top: 80px;
    left: 180px;
    opacity: 0.18;
    transform: rotate(-6deg);
}

.info .container { position: relative; z-index: 1; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    margin-bottom: 52px;
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.hours-table tr { border-bottom: 1px solid rgba(0,0,0,0.08); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td {
    padding: 15px 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--muted);
}
.hours-table td:last-child { text-align: right; font-weight: 800; color: var(--dark); }

.info-address {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.85;
    margin-top: 18px;
    margin-bottom: 14px;
}
.info-address strong { font-size: 1.05rem; font-weight: 900; color: var(--dark); display: block; }

.info-phone {
    display: block;
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--orange);
    margin-bottom: 24px;
    letter-spacing: 0.01em;
    transition: color var(--t);
}
.info-phone:hover { color: var(--orange-lt); }

.info-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--dark);
    border: 2px solid rgba(0,0,0,0.18);
    transition: border-color var(--t), color var(--t), background var(--t);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-bg); }
.btn-insta:hover { border-color: #C13584; color: #C13584; background: #fdf0f6; }

.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.map-wrap iframe { display: block; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: #0d0300; padding: 64px 0 0; }

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand { display: flex; flex-direction: column; }
.footer-logo { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; margin-bottom: 12px; }
.footer-tagline {
    font-family: 'Pacifico', cursive;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 4px;
}
.footer-brand p:not(.footer-tagline) { font-family: 'Nunito', sans-serif; font-size: 0.85rem; color: #5a3a20; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.footer-cols h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 16px;
}
.footer-cols ul { list-style: none; }
.footer-cols li {
    font-family: 'Nunito', sans-serif;
    font-size: 0.84rem;
    color: #5a3a20;
    margin-bottom: 7px;
    line-height: 1.5;
}
.footer-cols a { color: #5a3a20; transition: color var(--t); }
.footer-cols a:hover { color: #c8a87a; }

.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-family: 'Nunito', sans-serif; font-size: 0.76rem; color: #3a1e0a; }

/* =====================================================
   RESPONSIVE — TABLET ≤ 900px
   ===================================================== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 68px; }
    .hero-image { height: 48vw; min-height: 260px; order: -1; }
    .hero-text { padding: 50px 28px 52px; }
    .hero-logo { width: 80px; height: 80px; }
    .hero-btns { max-width: 100%; flex-direction: row; flex-wrap: wrap; }
    .platform-btn { flex: 1; min-width: 195px; }

    .food-grid { grid-template-columns: 1fr 1fr; height: auto; grid-template-rows: 260px 260px; }
    .food-card--large { grid-column: span 2; }

    .menu-body { grid-template-columns: 1fr; }
    .menu-side { position: static; flex-direction: row; align-items: center; }
    .menu-side-img { width: 140px; height: 140px; border-radius: 14px; }

    .order-cards { grid-template-columns: 1fr; max-width: 440px; }

    .info-grid { grid-template-columns: 1fr; gap: 44px; }

    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .footer-cols { grid-template-columns: repeat(3, 1fr); }

    .art-molcajete { width: 110px; }
    .art-cilantro  { width: 60px; }
    .art-corn      { width: 50px; }
    .art-cilantro2 { display: none; }
}

/* =====================================================
   RESPONSIVE — MOBILE ≤ 640px
   ===================================================== */
@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--yellow);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        z-index: 100;
    }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.3rem; padding: 14px 48px; border-radius: 50px; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }

    .hero-btns { flex-direction: column; }
    .platform-btn { min-width: unset; }

    .food-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .food-card { height: 240px; }
    .food-card--large { grid-column: span 1; }

    .menu-body { grid-template-columns: 1fr; }
    .menu-side { display: none; }

    .order-card { padding: 28px 22px; }
    .order-score { font-size: 2.4rem; }

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

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

    .menu, .order, .info { padding: 72px 0; }

    .art-molcajete, .art-cilantro, .art-corn, .art-cilantro2 { display: none; }
}

@media (max-width: 400px) {
    .hero-tagline { font-size: 2.8rem; }
    .section-title { font-size: 1.8rem; }
}
