/**
 * Taco Zocalo - Public Website Styles
 * Mobile-First Responsive Design
 */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Brand Colors */
    --primary: #E85D2D;
    --primary-dark: #C94A1D;
    --primary-light: #FF7A4D;
    --primary-subtle: rgba(232, 93, 45, 0.08);
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;
}

/* ============================================
   Base Styles (Mobile First)
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin-bottom: var(--space-md); }

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

a:hover { color: var(--primary-dark); }

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

::selection {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-2xl) 0;
}

/* ============================================
   Mobile App Header (Bottom Navigation Style)
   ============================================ */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.app-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    min-height: 60px;
}

/* Logo */
.brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--gray-100);
}

.menu-toggle i {
    font-size: 1.25rem;
}

/* Desktop Navigation - Hidden on Mobile */
.nav-desktop {
    display: none;
}

/* Mobile Full Screen Menu */
.nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    min-height: 60px;
    border-bottom: 1px solid var(--gray-200);
}

.nav-mobile-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
    font-size: 1.5rem;
    border-radius: var(--radius-sm);
}

.nav-mobile-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.nav-mobile-list {
    list-style: none;
}

.nav-mobile-item {
    border-bottom: 1px solid var(--gray-100);
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-sm);
    color: var(--gray-800);
    font-size: 1.125rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    color: var(--primary);
}

.nav-mobile-link i {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.nav-mobile-cta {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-xl);
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Hero Section - Mobile App Style
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-align: center;
    padding: var(--space-xl);
}

.hero-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, rgba(240, 89, 45, 0.55) 0%, rgba(220, 70, 30, 0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 24px rgba(240, 89, 45, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.hero-title {
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 280px;
    margin: 0 auto;
}

.hero-buttons .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* ============================================
   Menu Section - App Style Cards
   ============================================ */
.menu-section {
    background: var(--gray-50);
}

.menu-tabs-container {
    position: sticky;
    top: 60px;
    z-index: var(--z-sticky);
    background: var(--gray-50);
    padding: var(--space-md) 0;
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.menu-tabs-container.sticky {
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.menu-tabs {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding: 0 var(--space-md);
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.menu-tabs::-webkit-scrollbar {
    display: none;
}

.menu-tab {
    flex-shrink: 0;
    padding: var(--space-sm) var(--space-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    scroll-snap-align: start;
    white-space: nowrap;
}

.menu-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.menu-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.menu-category {
    display: none;
    scroll-margin-top: 120px; /* so sticky tabs don't cover when scrolling to category */
}

.menu-category.active {
    display: block;
    animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-md);
}

/* Menu Card - App Style */
.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    display: flex;
    gap: var(--space-md);
}

.menu-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.menu-card-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

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

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

.menu-card-body {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.menu-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
    font-family: var(--font-sans);
}

.menu-card-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* ============================================
   Chef Section
   ============================================ */
.chef-section {
    background: var(--white);
}

.chef-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-xl);
}

.chef-image-wrapper img {
    width: 100%;
    height: auto;
}

.chef-content {
    text-align: center;
}

.chef-title {
    margin-bottom: var(--space-lg);
}

.chef-text {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.chef-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: var(--space-lg);
}

.chef-role {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Chef Stats */
.chef-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

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

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    background: var(--gray-50);
}

.about-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-xl);
}

.about-content {
    text-align: center;
}

.about-subtitle {
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.about-text {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.8;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    text-align: left;
}

.feature-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

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

.feature-icon i {
    color: var(--primary);
    font-size: 1.25rem;
}

.feature-content h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.feature-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.service-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.service-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-lg);
    height: 180px;
}

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

.service-card h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.7;
}

/* ============================================
   Reviews Section - Dark Theme
   ============================================ */
.reviews-section {
    background: var(--gray-900);
    color: var(--white);
}

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

.reviews-section .section-subtitle {
    color: var(--gray-400);
}

.reviews-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.review-stars {
    color: #FBBF24;
    font-size: 1rem;
    margin-bottom: var(--space-md);
}

.review-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.review-author {
    font-weight: 600;
    color: var(--white);
}

.review-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    background: var(--gray-50);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-sans);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h5 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding-right: var(--space-md);
}

.faq-question i {
    color: var(--primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--gray-600);
    line-height: 1.8;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fadeUp 0.3s ease;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.contact-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.contact-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.contact-card h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
}

/* Locations List in Contact */
.locations-list {
    text-align: left;
}

.location-item {
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
}

.location-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.location-item h5 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.location-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.contact-methods {
    margin-bottom: var(--space-xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    background: var(--primary-subtle);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-icon i {
    color: var(--white);
    font-size: 1.125rem;
}

.contact-method-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.contact-method-value a {
    color: var(--gray-700);
}

.contact-method-value a:hover {
    color: var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   CTA Section (Order)
   ============================================ */
.cta-section {
    background: var(--gray-50);
    text-align: center;
    padding: var(--space-3xl) 0;
}

.cta-section .section-header {
    margin-bottom: var(--space-2xl);
}

.cta-section .section-title {
    color: var(--gray-900);
}

.cta-section .section-subtitle {
    color: var(--gray-600);
}

/* Location Cards Grid - Zocalo Style */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.location-card-header {
    background: var(--primary);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    position: relative;
}

.location-card-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 10px solid var(--primary);
}

.location-card-header h4 {
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.location-card-body {
    padding: var(--space-xl);
    padding-top: calc(var(--space-xl) + 10px);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
}

.location-address-item {
    flex-direction: column;
    text-align: center;
}

.location-address-item i {
    margin-bottom: var(--space-xs);
}

.location-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.location-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.location-contact-item i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.location-contact-item a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

.location-contact-item a:hover {
    color: var(--primary);
}

/* Legacy location-info styles (kept for compatibility) */
.location-info {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.location-info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-info-icon i {
    color: var(--primary);
    font-size: 1rem;
}

.location-info-text {
    color: var(--gray-700);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.location-info-text a {
    color: var(--gray-700);
}

.location-info-text a:hover {
    color: var(--primary);
}

.location-card-footer {
    padding: 0 var(--space-xl) var(--space-xl);
    margin-top: auto;
}

.btn-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 93, 45, 0.3);
}

.btn-order:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 45, 0.4);
}

.btn-order i {
    font-size: 1.1rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-about {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    text-align: justify;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.social-link:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.92);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-hours {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    white-space: pre-line;
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
}

/* ============================================
   Mobile Bottom Navigation (App Style)
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: var(--space-sm) 0;
    z-index: var(--z-fixed);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}

.bottom-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.bottom-nav-item a i {
    font-size: 1.25rem;
}

.bottom-nav-item a:hover,
.bottom-nav-item a.active {
    color: var(--primary);
}

.bottom-nav-order {
    position: relative;
    top: -10px;
}

.bottom-nav-order a {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(232, 93, 45, 0.4);
}

.bottom-nav-order a i {
    font-size: 1.5rem;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Tablet Breakpoint (768px+)
   ============================================ */
@media (min-width: 768px) {
    .section {
        padding: var(--space-3xl) 0;
    }
    
    /* Menu Grid - 2 columns */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Menu Card - Vertical on tablet */
    .menu-card {
        flex-direction: column;
    }
    
    .menu-card-image {
        width: 100%;
        height: 180px;
    }
    
    /* Chef Stats - 4 columns */
    .chef-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Features Grid - 2 columns */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Services Grid - 2 columns */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Reviews Grid - 2 columns */
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Grid - 2 columns */
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
    
    /* Locations Grid - 2 columns */
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Footer Grid - 2x2 */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Hero Buttons - Row */
    .hero-buttons {
        flex-direction: row;
        max-width: none;
    }
}

/* ============================================
   Desktop Breakpoint (992px+)
   ============================================ */
@media (min-width: 992px) {
    .container {
        padding: 0 var(--space-xl);
    }
    
    /* Hide mobile menu toggle */
    .menu-toggle {
        display: none;
    }
    
    /* Show desktop nav */
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
    
    .nav-list {
        display: flex;
        align-items: center;
        list-style: none;
        gap: var(--space-xs);
    }
    
    .nav-link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        color: var(--gray-600);
        font-weight: 500;
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
        transition: all var(--transition-fast);
    }
    
    .nav-link:hover {
        color: var(--primary);
        background: var(--primary-subtle);
    }
    
    /* Dropdown */
    .nav-dropdown {
        position: relative;
    }
    
    .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: var(--space-xs);
    }
    
    .nav-dropdown-toggle i {
        font-size: 0.75rem;
        transition: transform var(--transition-fast);
    }
    
    .nav-dropdown:hover .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        padding: var(--space-sm);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all var(--transition-fast);
        z-index: var(--z-dropdown);
    }
    
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-dropdown-item {
        display: block;
        padding: var(--space-sm) var(--space-md);
        color: var(--gray-700);
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
        transition: all var(--transition-fast);
    }
    
    .nav-dropdown-item:hover {
        background: var(--gray-50);
        color: var(--primary);
    }
    
    .nav-cta {
        display: flex;
        gap: var(--space-sm);
    }
    
    /* Hide bottom nav on desktop */
    .bottom-nav {
        display: none !important;
    }
    
    /* Two column layouts */
    .chef-grid,
    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
        align-items: center;
    }
    
    .chef-image-wrapper,
    .about-image-wrapper {
        margin-bottom: 0;
    }
    
    .chef-content,
    .about-content {
        text-align: left;
    }
    
    /* Menu Grid - 3 columns */
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Services Grid - 3 columns */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Reviews Grid - 3 columns */
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Locations Grid - up to 4 */
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer Grid - 4 columns */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* ============================================
   Large Desktop (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
}

/* ============================================
   Extra Large (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2xl);
    }
}

/* ============================================
   Mobile Only Styles
   ============================================ */
@media (max-width: 767px) {
    /* Show bottom nav on mobile */
    .bottom-nav {
        display: block;
    }
    
    /* Add padding at bottom for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    .site-footer {
        padding-bottom: calc(var(--space-xl) + 70px);
    }
    
    /* Location Cards - Mobile */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .location-card-header {
        padding: var(--space-md);
    }
    
    .location-card-header h4 {
        font-size: 1.125rem;
    }
    
    .location-card-body {
        padding: var(--space-lg);
        padding-top: calc(var(--space-lg) + 8px);
        gap: var(--space-md);
    }
    
    .location-address {
        font-size: 0.9375rem;
    }
    
    .location-card-footer {
        padding: 0 var(--space-lg) var(--space-lg);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .app-header,
    .bottom-nav,
    .nav-mobile {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: var(--space-xl) 0;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
