/* ==========================================================================
   Terrace Cantina V2 - Redesigned Stylesheet
   Deep charcoal + bold accents (red, gold, teal)
   Inspired by Cantina Laredo + Barrio Queen
   ========================================================================== */

:root {
    /* Colors — clean deep charcoal base with bold accents */
    --primary-dark: #0f0f1a;
    --secondary-dark: #1a1a2e;
    --tertiary-dark: #252540;
    --card-dark: #1e1e35;
    --warm-red: #C83C2D;
    --warm-gold: #E8A830;
    --terracotta: #D4943C;
    --warm-orange: #D4543A;
    --cantina-green: #2D6B3F;
    --cantina-teal: #4A8B9B;
    --cantina-brown: #5C3A1E;
    --cantina-tan: #C8A96E;
    --cantina-cream: #F0E8D8;
    --text-light: #E8E4F0;
    --text-muted: #9B97B0;
    --border-color: #3a3a5c;
    
    /* Typography */
    --font-heading: 'Righteous', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Permanent Marker', cursive;
    
    /* Spacing */
    --section-padding: 100px 20px;
    --container-max-width: 1200px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    background: var(--primary-dark);
}

.section:nth-of-type(even) {
    background: var(--secondary-dark);
}

.dark-section {
    background: var(--tertiary-dark) !important;
}

/* Section dividers */
.section::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--warm-red), var(--warm-gold), var(--cantina-teal));
    margin: 0 auto 0;
    border-radius: 2px;
    opacity: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(58, 58, 92, 0.5);
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    background: rgba(15, 15, 26, 0.98);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--warm-gold);
    letter-spacing: 1.5px;
    line-height: 1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a:not(.cta-btn):hover {
    color: var(--warm-gold);
}

.nav-links a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--warm-gold), var(--warm-red));
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.cta-btn {
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200, 60, 45, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 60, 45, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--warm-gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section - Full Viewport with Food Photography
   ========================================================================== */

#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero-tacos.webp') center/cover no-repeat;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 26, 0.7) 0%,
        rgba(15, 15, 26, 0.5) 40%,
        rgba(15, 15, 26, 0.6) 70%,
        rgba(15, 15, 26, 0.95) 100%
    );
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(15, 15, 26, 0.6) 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--warm-gold) 40%, var(--terracotta) 70%, var(--warm-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 30px rgba(232, 168, 48, 0.4));
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 45px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: var(--warm-gold);
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 8px rgba(232, 168, 48, 0.5));
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 16px 42px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cantina-green) 0%, #3a8a50 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(45, 107, 63, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(45, 107, 63, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--warm-gold);
    border: 2px solid var(--warm-gold);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--warm-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator a {
    color: var(--warm-gold);
    font-size: 2rem;
    opacity: 0.7;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--warm-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Order Online / Menu Section
   ========================================================================== */

#order-online {
    padding: 80px 20px;
    background: var(--primary-dark);
}

/* Ordering hours notice */
.ordering-notice {
    background: linear-gradient(135deg, rgba(200, 60, 45, 0.15), rgba(232, 168, 48, 0.1));
    border: 1px solid rgba(232, 168, 48, 0.3);
    border-radius: 12px;
    padding: 18px 25px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.05rem;
}

.ordering-notice i {
    color: var(--warm-gold);
    font-size: 1.3rem;
}

.ordering-notice .notice-text {
    color: var(--text-light);
}

.order-system {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 40px;
}

.menu-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(37, 37, 64, 0.6);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
    background: rgba(232, 168, 48, 0.08);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    border-color: var(--warm-red);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 60, 45, 0.3);
}

.order-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 10px;
}

.order-menu-grid::-webkit-scrollbar {
    width: 6px;
}

.order-menu-grid::-webkit-scrollbar-track {
    background: var(--secondary-dark);
    border-radius: 10px;
}

.order-menu-grid::-webkit-scrollbar-thumb {
    background: var(--warm-gold);
    border-radius: 10px;
}

.order-item {
    background: var(--card-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.order-item:hover {
    border-color: rgba(232, 168, 48, 0.4);
    background: rgba(37, 37, 64, 0.8);
    transform: translateX(4px);
}

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--warm-gold);
    margin-bottom: 4px;
}

.order-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.order-item-price {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--warm-red);
    margin-right: 12px;
}

.order-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--cantina-green) 0%, #3a8a50 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 107, 63, 0.5);
}

.add-to-cart:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cart Sidebar */
.cart-sidebar {
    background: var(--card-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.cart-header h3 {
    font-family: var(--font-heading);
    color: var(--warm-gold);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-cart {
    background: transparent;
    border: 1px solid var(--warm-red);
    color: var(--warm-red);
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.clear-cart:hover {
    background: var(--warm-red);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-track {
    background: var(--secondary-dark);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--warm-gold);
    border-radius: 10px;
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

.empty-cart i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.25;
}

.empty-cart p {
    margin-bottom: 5px;
}

.cart-item {
    background: var(--secondary-dark);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-light);
    flex: 1;
    font-size: 0.95rem;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--warm-red);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 5px;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    color: var(--warm-gold);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--warm-gold);
    color: var(--primary-dark);
}

.qty-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

.cart-item-price {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--warm-red);
}

.cart-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.cart-total.grand-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--warm-gold);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.checkout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 60, 45, 0.5);
}

.checkout-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.order-divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.order-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.order-divider span {
    position: relative;
    background: var(--primary-dark);
    padding: 0 20px;
    color: var(--text-muted);
    font-weight: 600;
}

.order-banner {
    text-align: center;
}

.order-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-gold);
    margin-bottom: 10px;
}

.order-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.phone-number {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border: 2px solid var(--warm-gold);
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.phone-number:hover {
    background: var(--warm-gold);
    color: var(--primary-dark);
    transform: scale(1.05);
}

/* ==========================================================================
   Entertainment Section - with margarita background
   ========================================================================== */

#entertainment {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(15, 15, 26, 0.92) 0%, rgba(37, 37, 64, 0.88) 50%, rgba(15, 15, 26, 0.95) 100%),
        url('images/margarita.webp') center/cover no-repeat !important;
}

.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.entertainment-card {
    background: rgba(30, 30, 53, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 58, 92, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.entertainment-card:hover {
    transform: translateY(-8px);
    border-color: var(--warm-gold);
    box-shadow: 0 15px 40px rgba(232, 168, 48, 0.15);
    background: rgba(37, 37, 64, 0.95);
}

.card-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(200, 60, 45, 0.35);
}

.entertainment-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--warm-gold);
    margin-bottom: 12px;
}

.entertainment-card p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--cantina-teal);
    font-weight: 600;
    font-size: 0.95rem;
}

.schedule i {
    font-size: 1.1rem;
}

/* ==========================================================================
   About Section - with interior background
   ========================================================================== */

#about {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(15, 15, 26, 0.93) 0%, rgba(26, 26, 46, 0.88) 50%, rgba(15, 15, 26, 0.95) 100%),
        url('images/interior.webp') center/cover no-repeat;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 50px;
}

.about-description p {
    margin-bottom: 20px;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.highlight-item {
    display: flex;
    gap: 18px;
    align-items: start;
    padding: 25px;
    background: rgba(30, 30, 53, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: var(--warm-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(232, 168, 48, 0.1);
}

.highlight-item i {
    font-size: 2.2rem;
    color: var(--warm-gold);
    min-width: 45px;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--warm-gold);
    margin-bottom: 6px;
}

.highlight-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ==========================================================================
   Google Reviews Section
   ========================================================================== */

#reviews {
    position: relative;
    overflow: hidden;
}

.google-rating {
    text-align: center;
    margin-bottom: 40px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 2rem;
    color: var(--warm-gold);
    margin-bottom: 12px;
}

.rating-text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 18px;
    font-weight: 600;
}

.reviews-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    transition: transform 0.5s ease;
}

.review-card {
    background: rgba(30, 30, 53, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(232, 168, 48, 0.1);
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 168, 48, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.review-stars {
    color: var(--warm-gold);
    font-size: 1.1rem;
    margin-bottom: 18px;
    display: flex;
    gap: 3px;
}

.review-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
    font-style: italic;
    opacity: 0.9;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.review-author strong {
    color: var(--warm-gold);
    font-size: 0.95rem;
}

.review-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(232, 168, 48, 0.1);
    border: 2px solid var(--warm-gold);
    color: var(--warm-gold);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--warm-gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--warm-gold);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(30, 30, 53, 0.7);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(232, 168, 48, 0.3);
}

.info-card i {
    font-size: 1.8rem;
    color: var(--warm-gold);
    margin-bottom: 12px;
    display: block;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--warm-gold);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.info-card a {
    color: var(--cantina-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--warm-gold);
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hours p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(58, 58, 92, 0.4);
}

.hours p:last-child {
    border-bottom: none;
}

.btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 60, 45, 0.4);
}

.social-links h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--warm-gold);
    margin-bottom: 18px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 48px;
    height: 48px;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-gold);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    border-color: var(--warm-red);
    color: white;
    transform: translateY(-3px);
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--warm-gold);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--warm-gold);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 18px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--warm-red);
}

.footer-contact a {
    color: var(--cantina-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--warm-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Menu Section (category view)
   ========================================================================== */

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

.category-btn {
    padding: 12px 25px;
    background: var(--secondary-dark);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.category-btn:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--warm-red) 0%, var(--warm-orange) 100%);
    border-color: var(--warm-red);
    color: white;
    box-shadow: 0 4px 15px rgba(200, 60, 45, 0.3);
}

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

.menu-item {
    background: var(--card-dark);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 168, 48, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--warm-gold);
    flex: 1;
}

.menu-item-price {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    color: var(--warm-red);
    white-space: nowrap;
    margin-left: 15px;
}

.menu-item-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.menu-item-category {
    display: inline-block;
    margin-top: 14px;
    padding: 5px 14px;
    background: rgba(37, 37, 64, 0.7);
    color: var(--cantina-teal);
    border-radius: 15px;
    font-size: 0.82rem;
    font-weight: 600;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.loading i {
    font-size: 3rem;
    color: var(--warm-gold);
    margin-bottom: 20px;
}

/* ==========================================================================
   Customization Modal
   ========================================================================== */

.customization-modal-content {
    max-width: 700px;
}

.customize-item-info {
    background: var(--secondary-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.customize-item-price {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--warm-red);
    white-space: nowrap;
}

.customize-item-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

#modifier-groups-container {
    margin-bottom: 25px;
}

.modifier-steps-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background: var(--secondary-dark);
    border-radius: 12px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--warm-gold);
    transform: scale(1.3);
}

.step-dot.completed {
    background: var(--cantina-green);
}

.modifier-group {
    background: var(--secondary-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: none;
}

.modifier-group.active {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.modifier-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.modifier-group-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--warm-gold);
    margin: 0;
}

.modifier-required-badge {
    background: var(--warm-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.modifier-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.modifier-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 14px;
    background: var(--card-dark);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 90px;
    text-align: center;
    position: relative;
}

.modifier-option:hover {
    border-color: var(--warm-gold);
    background: rgba(232, 168, 48, 0.08);
    transform: translateY(-2px);
}

.modifier-option.selected {
    border-color: var(--warm-gold);
    background: rgba(232, 168, 48, 0.15);
    box-shadow: 0 0 15px rgba(232, 168, 48, 0.2);
}

.modifier-option.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    background: var(--warm-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.modifier-option input[type="radio"],
.modifier-option input[type="checkbox"] {
    display: none;
}

.modifier-option-label {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    cursor: pointer;
}

.modifier-name {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.modifier-price {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--warm-red);
    white-space: nowrap;
    margin-left: 15px;
}

.customize-quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--secondary-dark);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
}

.customize-quantity label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.customize-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 18px 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 22px;
    color: var(--warm-gold);
}

.modifier-step-nav {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: space-between;
}

.step-nav-btn {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid var(--warm-gold);
    background: transparent;
    color: var(--warm-gold);
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.step-nav-btn:hover {
    background: var(--warm-gold);
    color: var(--primary-dark);
}

.step-nav-btn.primary {
    background: linear-gradient(135deg, var(--cantina-green) 0%, #3a8a50 100%);
    border-color: var(--cantina-green);
    color: white;
}

.step-nav-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(45, 107, 63, 0.5);
}

.step-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.step-nav-btn:disabled:hover {
    background: transparent;
    color: var(--warm-gold);
    transform: none;
}

.skip-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: transparent;
    border: 1px dashed var(--text-muted);
    color: var(--text-muted);
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.skip-btn:hover {
    border-color: var(--warm-gold);
    color: var(--warm-gold);
}

#add-customized-to-cart {
    width: 100%;
    font-size: 1.15rem;
}

.cart-item-modifiers {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cart-item-modifier {
    padding: 2px 0;
    padding-left: 15px;
    position: relative;
}

.cart-item-modifier::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--warm-gold);
}

/* ==========================================================================
   Checkout Modal
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--warm-gold);
    font-size: 1.8rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--tertiary-dark);
    color: var(--warm-red);
}

.modal-body {
    padding: 28px;
}

.checkout-step h3 {
    font-family: var(--font-heading);
    color: var(--warm-gold);
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--tertiary-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--warm-gold);
    box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.1);
}

.order-summary {
    background: var(--tertiary-dark);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 22px;
}

.order-summary h4 {
    color: var(--warm-gold);
    margin-bottom: 12px;
    font-size: 1.1rem;
}

#checkout-items {
    margin-bottom: 12px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkout-item:last-child {
    border-bottom: none;
}

.summary-totals {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 2px solid var(--border-color);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.summary-line.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--warm-gold);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.payment-section {
    margin-top: 22px;
}

#clover-card-frame {
    min-height: 200px;
    margin-bottom: 18px;
}

#submit-payment {
    width: 100%;
}

.payment-note {
    text-align: center;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-note i {
    color: var(--cantina-teal);
}

.confirmation-content {
    text-align: center;
    padding: 35px 20px;
}

.confirmation-content i {
    font-size: 4.5rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.confirmation-content h3 {
    color: var(--warm-gold);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

#confirmation-details {
    background: var(--tertiary-dark);
    border-radius: 12px;
    padding: 22px;
    margin: 22px 0;
    text-align: left;
}

#new-order {
    margin-top: 18px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
        gap: 35px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .order-system {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        position: static;
        max-height: none;
    }
    
    .modifier-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .entertainment-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .reviews-carousel {
        padding: 0 50px;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .order-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-item-actions {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    
    .modifier-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .phone-number {
        font-size: 1.6rem;
        padding: 12px 30px;
    }
    
    .logo-text {
        display: none;
    }
    
    .reviews-carousel {
        padding: 0 40px;
    }
    
    .modal-content {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .modifier-list {
        grid-template-columns: 1fr;
    }
}

/* Menu CTA Grid (Homepage) */
.menu-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.menu-cta-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-cta-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-red, #C83C2D);
}

.cta-icon {
    font-size: 2.5rem;
    color: var(--accent-gold, #E8A830);
    margin-bottom: 20px;
}

.menu-cta-card h3 {
    font-family: 'Righteous', cursive;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.menu-cta-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}

.menu-cta-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.menu-cta-call {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
}

.menu-cta-call a {
    color: var(--accent-gold, #E8A830);
    text-decoration: none;
}

.menu-cta-call a:hover {
    color: #fff;
}
