/* ============================================
   Maria's Authentic Street Tacos
   Classic & Elegant — Terracotta + Sand
   ============================================ */

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

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

body {
    font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3D2B1F;
    background-color: #FDF8F4;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #2C1810;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 244, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(184, 92, 56, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(44, 24, 16, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2C1810;
}

.logo-icon {
    color: #B85C38;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-tagline {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #B85C38;
    font-weight: 600;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a:not(.nav-cta) {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5C4033;
    transition: color 0.2s ease;
    position: relative;
}

.main-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #B85C38;
    transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
    color: #B85C38;
}

.main-nav a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #B85C38;
    border: 1.5px solid #B85C38;
    padding: 8px 18px;
    border-radius: 100px;
    transition: all 0.25s ease;
}

.nav-cta:hover {
    background: #B85C38;
    color: #FDF8F4;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #2C1810;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: #2C1810;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2C1810;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(44, 24, 16, 0.88) 0%,
        rgba(74, 40, 28, 0.75) 50%,
        rgba(44, 24, 16, 0.85) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FDF8F4' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #E8C4A0;
    margin-bottom: 24px;
    font-weight: 600;
}

.hero-headline {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    color: #FDF8F4;
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-headline em {
    color: #E8C4A0;
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(253, 248, 244, 0.75);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

.hero-details {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(253, 248, 244, 0.55);
    letter-spacing: 0.04em;
}

.hero-divider {
    color: rgba(232, 196, 160, 0.4);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #B85C38;
    color: #FDF8F4;
    border: 1.5px solid #B85C38;
}

.btn-primary:hover {
    background: #9E4A2A;
    border-color: #9E4A2A;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(184, 92, 56, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FDF8F4;
    border: 1.5px solid rgba(253, 248, 244, 0.4);
}

.btn-secondary:hover {
    border-color: #FDF8F4;
    background: rgba(253, 248, 244, 0.08);
}

.btn-outline-light {
    background: transparent;
    color: #2C1810;
    border: 1.5px solid rgba(44, 24, 16, 0.25);
}

.btn-outline-light:hover {
    border-color: #2C1810;
    background: rgba(44, 24, 16, 0.04);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* --- Pillars --- */
.pillars {
    padding: 100px 0;
    background: #FDF8F4;
}

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

.pillar-card {
    text-align: center;
    padding: 48px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(184, 92, 56, 0.08);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.08);
    border-color: rgba(184, 92, 56, 0.15);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #B85C38;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 92, 56, 0.08);
    border-radius: 50%;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #2C1810;
}

.pillar-card p {
    font-size: 0.95rem;
    color: #6B5344;
    line-height: 1.7;
}

/* --- Section shared --- */
.section-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #B85C38;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    color: #2C1810;
}

.section-desc {
    font-size: 1.05rem;
    color: #6B5344;
    max-width: 540px;
    line-height: 1.8;
}

/* --- Menu --- */
.menu {
    padding: 100px 0;
    background: #F5EDE6;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc {
    margin: 0 auto;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.menu-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 92, 56, 0.06);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.1);
}

.menu-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.15), transparent 50%);
}

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

.menu-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.menu-card-top h3 {
    font-size: 1.15rem;
    color: #2C1810;
}

.menu-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #B85C38;
    background: rgba(184, 92, 56, 0.1);
    padding: 3px 10px;
    border-radius: 100px;
}

.menu-card-desc {
    font-size: 0.9rem;
    color: #6B5344;
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    padding: 24px 32px;
    background: rgba(184, 92, 56, 0.06);
    border-radius: 12px;
    border: 1px dashed rgba(184, 92, 56, 0.2);
}

.menu-note p {
    font-size: 0.9rem;
    color: #6B5344;
    line-height: 1.7;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: #FDF8F4;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(44, 24, 16, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -24px;
    border-radius: 16px;
    overflow: hidden;
    border: 6px solid #FDF8F4;
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.12);
    max-width: 260px;
}

.about-img-secondary img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.about-divider {
    width: 60px;
    height: 2px;
    background: #B85C38;
    margin-bottom: 28px;
    border-radius: 2px;
}

.about-content p {
    font-size: 1rem;
    color: #5C4033;
    line-height: 1.85;
    margin-bottom: 18px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-family: 'Lora', serif;
    font-style: italic;
    color: #B85C38;
    font-size: 1rem;
}

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background: #F5EDE6;
}

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

.visit-info {
    padding: 48px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(184, 92, 56, 0.08);
}

.visit-divider {
    width: 60px;
    height: 2px;
    background: #B85C38;
    margin-bottom: 36px;
    border-radius: 2px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B85C38;
    background: rgba(184, 92, 56, 0.08);
    border-radius: 50%;
}

.visit-detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9A7B6A;
    font-weight: 600;
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    color: #2C1810;
    line-height: 1.6;
}

.visit-detail-value a {
    color: #B85C38;
    transition: color 0.2s ease;
}

.visit-detail-value a:hover {
    color: #9E4A2A;
    text-decoration: underline;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 16px 48px rgba(44, 24, 16, 0.1);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: #2C1810;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FDF8F4' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-section .section-eyebrow {
    color: #E8C4A0;
}

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

.cta-text {
    font-size: 1.05rem;
    color: rgba(253, 248, 244, 0.65);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* --- Footer --- */
.site-footer {
    background: #1E100A;
    padding: 64px 0 32px;
    color: rgba(253, 248, 244, 0.5);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.logo-light {
    color: #FDF8F4;
}

.logo-light .logo-tagline {
    color: #E8C4A0;
}

.footer-copy {
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 260px;
    line-height: 1.6;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-phone {
    font-size: 0.95rem;
    color: #E8C4A0;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #FDF8F4;
}

.footer-bottom {
    border-top: 1px solid rgba(253, 248, 244, 0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* --- Mobile Navigation --- */
.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(184, 92, 56, 0.1);
    box-shadow: 0 16px 32px rgba(44, 24, 16, 0.1);
}

.main-nav.open a:not(.nav-cta) {
    font-size: 1rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero-headline {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pillar-card {
        padding: 36px 28px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .visit-info {
        padding: 32px 24px;
    }

    .visit-map {
        min-height: 300px;
    }

    .visit-map iframe {
        min-height: 300px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

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

    .hero-details {
        flex-direction: column;
        gap: 4px;
    }

    .hero-divider {
        display: none;
    }
}

/* --- Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Ensure content is visible when JS is disabled or reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

html:not(.js) .reveal,
.no-js .reveal {
    opacity: 1;
    transform: none;
}
