/* ========================================
   Taqueria el Toro — Custom Styles
   Forest Green + Off-White Palette
======================================== */

/* CSS Custom Properties */
:root {
    --color-green-dark: #1a3c2a;
    --color-green: #2d5a3d;
    --color-green-medium: #3d7a52;
    --color-green-light: #4a9462;
    --color-green-pale: #e8f5e9;
    --color-cream: #faf8f4;
    --color-cream-dark: #f0ece4;
    --color-warm: #f5f0e8;
    --color-text: #1a1a1a;
    --color-text-light: #4a4a4a;
    --color-text-muted: #7a7a7a;
    --color-white: #ffffff;
    --color-border: rgba(45, 90, 61, 0.12);
    --color-shadow: rgba(26, 60, 42, 0.08);
    --color-shadow-md: rgba(26, 60, 42, 0.12);
    --color-shadow-lg: rgba(26, 60, 42, 0.16);
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s 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-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(250, 248, 244, 0.95);
    box-shadow: 0 4px 30px var(--color-shadow);
}

.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: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-green-dark);
}

.nav-logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.938rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-green);
    background: var(--color-green-pale);
}

.nav-link--cta {
    background: var(--color-green);
    color: var(--color-white) !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--color-green-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--color-green-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-cream);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(45, 90, 61, 0.04) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(45, 90, 61, 0.06) 0%, transparent 40%),
                      radial-gradient(circle at 60% 80%, rgba(45, 90, 61, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--color-green-pale);
    border: 1px solid rgba(45, 90, 61, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-green);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-green-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-green-dark);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-headline-accent {
    color: var(--color-green-medium);
    font-style: italic;
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-trust {
    display: flex;
    gap: 28px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.hero-trust-item svg {
    color: var(--color-green-medium);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px var(--color-shadow-lg);
    aspect-ratio: 6/7;
}

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

.hero-image-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px var(--color-shadow-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.hero-image-float--1 {
    bottom: 60px;
    left: -30px;
    animation-delay: 0s;
}

.hero-image-float--2 {
    top: 60px;
    right: -20px;
    animation-delay: 1.5s;
}

.hero-float-label {
    font-size: 1.25rem;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: var(--color-green-dark);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--color-green-dark);
    border-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--color-green);
    border-color: var(--color-green);
}

.btn--secondary:hover {
    background: var(--color-green-pale);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: var(--color-green-dark);
    border-color: var(--color-green-dark);
}

.btn--outline-white:hover {
    background: var(--color-green-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ========================================
   Section Shared
======================================== */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-green-pale);
    border-radius: var(--radius-full);
    font-size: 0.813rem;
    font-weight: 600;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-green-dark);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.063rem;
    color: var(--color-text-light);
    max-width: 560px;
}

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

/* ========================================
   Menu Section
======================================== */
.menu {
    padding: 100px 0;
    background: var(--color-green-dark);
    position: relative;
}

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

.menu-cat-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.938rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.menu-cat-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

.menu-cat-btn.active {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-green-dark);
}

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

.menu-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
}

.menu-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.menu-item-image {
    height: 200px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

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

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.menu-item-badge {
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.menu-item-desc {
    font-size: 0.938rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.menu-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
}

.menu-note svg {
    flex-shrink: 0;
    color: var(--color-green-light);
}

/* ========================================
   About Section
======================================== */
.about {
    padding: 100px 0;
    background: var(--color-cream);
}

.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-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px var(--color-shadow-lg);
    aspect-ratio: 5/6;
}

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 50px var(--color-shadow-lg);
    border: 4px solid var(--color-cream);
}

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

.about-img-accent {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 35%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px var(--color-shadow-md);
    border: 4px solid var(--color-cream);
}

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

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    left: -10px;
    background: var(--color-green);
    color: var(--color-white);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 10px 40px var(--color-shadow-md);
}

.about-exp-number {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.about-exp-text {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.about-content {
    max-width: 480px;
}

.about-content .section-title {
    color: var(--color-green-dark);
}

.about-text {
    font-size: 1.063rem;
    line-height: 1.85;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    gap: 16px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-green-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
}

.about-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-green-dark);
    margin-bottom: 4px;
}

.about-feature-desc {
    font-size: 0.938rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   Visit Section
======================================== */
.visit {
    padding: 100px 0;
    background: var(--color-green-dark);
    position: relative;
    overflow: hidden;
}

.visit::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

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

.visit-info {
    max-width: 480px;
}

.visit-text {
    font-size: 1.063rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

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

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green-light);
}

.visit-detail-label {
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1rem;
    color: var(--color-white);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color var(--transition-fast);
}

.visit-detail-value a:hover {
    border-color: var(--color-green-light);
}

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

.visit-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.visit-map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.visit-map iframe {
    width: 100%;
    height: 500px;
    display: block;
}

/* ========================================
   CTA Section
======================================== */
.cta {
    padding: 80px 0;
    background: var(--color-cream);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--color-green-dark);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.063rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

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

/* ========================================
   Footer
======================================== */
.footer {
    padding: 60px 0 0;
    background: #0f2417;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    font-size: 1.5rem;
}

.footer-desc {
    font-size: 0.938rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    max-width: 300px;
}

.footer-heading {
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   Responsive
======================================== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .visit-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 32px 32px;
        gap: 8px;
        transition: right var(--transition-medium);
        box-shadow: -10px 0 40px var(--color-shadow-lg);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 18px;
    }
    
    .nav-link--cta {
        margin-left: 0;
        text-align: center;
        justify-content: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image-float--1 {
        left: 0;
        bottom: 40px;
    }
    
    .hero-image-float--2 {
        right: 0;
        top: 40px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map iframe {
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-image-float {
        display: none;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-categories {
        gap: 8px;
    }
    
    .menu-cat-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
}
