/* ===================================
   EL CHARRO GRILL "TO GO" — STYLES
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --teal-900: #0d2b38;
    --teal-800: #144252;
    --teal-700: #1a5266;
    --teal-600: #1f6f7c;
    --teal-500: #268a99;
    --teal-400: #3da8b8;
    --teal-100: #d4eef2;
    --teal-50:  #eaf6f8;
    
    --slate-950: #0c1520;
    --slate-900: #132030;
    --slate-800: #1e3045;
    --slate-700: #2d4a61;
    --slate-600: #4a6b82;
    --slate-500: #6b8fa3;
    --slate-400: #94b5c7;
    --slate-300: #bdd4e0;
    --slate-200: #dce9f0;
    --slate-100: #edf4f7;
    --slate-50:  #f6fafc;
    
    --warm-900:  #3d2b1f;
    --warm-700:  #7a5240;
    --warm-500:  #b8865e;
    --warm-300:  #d4b896;
    --warm-100:  #f0e4d4;
    --warm-50:   #faf5ef;
    
    --cream: #faf8f5;
    --white: #ffffff;
    --black: #0a0f14;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(12, 21, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(12, 21, 32, 0.10);
    --shadow-lg: 0 8px 32px rgba(12, 21, 32, 0.14);
    --shadow-xl: 0 16px 48px rgba(12, 21, 32, 0.18);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --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;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--teal-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 12px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    max-width: 600px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.9rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 43, 56, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-icon {
    color: var(--teal-400);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--teal-400);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--white);
}

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

.nav-cta {
    background: var(--teal-500);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-weight: 500;
    transition: all var(--transition) !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--teal-400) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(38, 138, 153, 0.4);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 43, 56, 0.88) 0%,
        rgba(20, 66, 82, 0.80) 40%,
        rgba(31, 111, 124, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
    padding: 0 24px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-300);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 620px;
    margin: 0 auto 40px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- Features --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    background: var(--teal-50);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-600);
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--teal-600);
    color: var(--white);
}

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

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* --- Menu Preview --- */
.menu-preview {
    padding: 100px 0;
    background: var(--cream);
}

.menu-preview .section-header {
    text-align: center;
    margin-bottom: 48px;
}

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

.menu-tab {
    padding: 10px 28px;
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-xl);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate-600);
    cursor: pointer;
    transition: all var(--transition);
}

.menu-tab:hover,
.menu-tab.active {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: var(--white);
}

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

.menu-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.menu-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.menu-item-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    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-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--teal-900);
}

.menu-item-content p {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--slate-500);
}

.menu-note a {
    color: var(--teal-600);
    font-weight: 500;
    border-bottom: 1px solid var(--teal-300);
    transition: all var(--transition);
}

.menu-note a:hover {
    color: var(--teal-800);
    border-color: var(--teal-600);
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

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

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

.about-content p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: var(--slate-900);
}

.gallery .section-eyebrow {
    color: var(--teal-400);
}

.gallery .section-title {
    color: var(--white);
}

.gallery .section-desc {
    color: var(--slate-400);
}

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

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 43, 56, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: var(--teal-50);
}

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

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

.testimonial-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: var(--teal-600);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
}

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background: var(--white);
}

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

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

.visit-desc {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal-50);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--teal-900);
    font-weight: 500;
}

.contact-link {
    font-size: 1rem;
    color: var(--teal-600);
    font-weight: 500;
    border-bottom: 1px solid var(--teal-300);
    transition: all var(--transition);
}

.contact-link:hover {
    color: var(--teal-800);
    border-color: var(--teal-600);
}

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

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

/* --- Footer --- */
.footer {
    background: var(--slate-950);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: var(--slate-500);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    color: var(--slate-500);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-contact li {
    color: var(--slate-500);
    font-size: 0.9rem;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--slate-600);
    font-size: 0.8rem;
}

/* --- Mobile Navigation --- */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--teal-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-xl);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

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

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

    .menu-item {
        grid-template-columns: 120px 1fr;
        gap: 16px;
    }

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

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

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

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

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

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

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .menu-item-img {
        aspect-ratio: 16/9;
    }

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

    .about-img-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        width: 100%;
        margin-top: 16px;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

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

    .reveal.visible {
        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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
