@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --background: #fefce8;
  --foreground: #2a2118;
  --card: #faf6ec;
  --card-foreground: #2a2118;
  --primary: #10b981;
  --primary-foreground: #ffffff;
  --secondary: #b91c1c;
  --secondary-foreground: #ffffff;
  --muted: #f5e6b8;
  --muted-foreground: #6b5c47;
  --accent: #f59e0b;
  --accent-foreground: #1a1507;
  --border: #e8d9b0;
  --emerald: #10b981;
  --chili: #b91c1c;
  --sunset: #f59e0b;
  --sand: #fefce8;
  --sand-dark: #f5e6b8;
  --radius: 0.75rem;
  --shadow-card: 0 8px 30px -8px rgba(42, 33, 24, 0.12);
  --shadow-elevated: 0 20px 50px -12px rgba(42, 33, 24, 0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0; transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(42, 33, 24, 0.95); backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); padding: 0.75rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.nav-logo span { color: var(--emerald); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--emerald); }
.nav-cta {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; padding: 0.625rem 1.25rem; border-radius: 9999px;
  font-weight: 700; font-size: 0.875rem;
  transition: transform 0.2s; box-shadow: 0 4px 15px rgba(16,185,129,0.3);
}
.nav-cta:hover { transform: scale(1.05); }
.nav-toggle { display: none; background: none; color: #fff; font-size: 1.75rem; }
.nav-mobile { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,33,24,0.7) 0%, rgba(42,33,24,0.5) 50%, rgba(42,33,24,0.8) 100%);
}
.hero-content {
  position: relative; z-index: 10; text-align: center; max-width: 56rem; padding: 0 1rem;
}
.hero-tag {
  color: var(--emerald); font-weight: 700; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.25em; margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 0.7s ease-out forwards;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s ease-out 0.1s forwards;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--emerald), var(--sunset));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.125rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem;
  max-width: 40rem; margin-left: auto; margin-right: auto;
  opacity: 0; animation: fadeUp 0.7s ease-out 0.2s forwards;
}
.hero-buttons {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s ease-out 0.3s forwards;
}
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; padding: 1rem 2rem; border-radius: 9999px;
  font-weight: 700; font-size: 1.125rem;
  transition: transform 0.2s; box-shadow: 0 0 30px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.2);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3); color: #fff;
  padding: 1rem 2rem; border-radius: 9999px; font-weight: 700; font-size: 1.125rem;
  background: transparent; transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--emerald); color: var(--emerald); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}
.scroll-dot {
  width: 1.5rem; height: 2.5rem; border-radius: 9999px; border: 2px solid rgba(255,255,255,0.4);
  display: flex; justify-content: center; padding-top: 0.5rem;
}
.scroll-dot span {
  width: 0.375rem; height: 0.75rem; background: var(--emerald); border-radius: 9999px;
  animation: pulse 2s ease-in-out infinite;
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section-tag {
  font-weight: 700; font-size: 0.875rem; text-transform: uppercase;
  letter-spacing: 0.2em; margin-bottom: 0.5rem;
}
.section-tag.green { color: var(--emerald); }
.section-tag.red { color: var(--chili); }
.section-tag.yellow { color: var(--sunset); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ===== MENU ===== */
.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem;
}
.menu-card {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--shadow-card); transition: all 0.5s;
}
.menu-card:hover { box-shadow: var(--shadow-elevated); transform: translateY(-8px); }
.menu-card-img {
  position: relative; overflow: hidden; height: 14rem;
}
.menu-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.menu-card:hover .menu-card-img img { transform: scale(1.1); }
.menu-price {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--chili); color: #fff; padding: 0.25rem 0.75rem;
  border-radius: 9999px; font-weight: 700; font-size: 0.875rem;
}
.menu-card-body { padding: 1.5rem; }
.menu-card-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.menu-card-body p { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }
.btn-add {
  margin-top: 1rem; background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; padding: 0.5rem 1.25rem; border-radius: 9999px;
  font-weight: 600; font-size: 0.875rem; transition: transform 0.2s;
}
.btn-add:hover { transform: scale(1.05); }

/* ===== HOW IT WORKS ===== */
.bg-sand-dark { background: var(--sand-dark); }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem;
}
.step { text-align: center; }
.step-icon {
  width: 5rem; height: 5rem; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--emerald), #059669);
  border-radius: 1rem; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(16,185,129,0.3);
  transition: all 0.3s;
}
.step:hover .step-icon { transform: scale(1.1) rotate(6deg); }
.step-icon svg { width: 2.25rem; height: 2.25rem; color: #fff; }
.step-num { color: var(--emerald); font-weight: 900; font-size: 1.875rem; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--muted-foreground); font-size: 0.875rem; }

/* ===== TEXAS MAP ===== */
.map-section { background: var(--foreground); color: #fff; padding: 6rem 0; position: relative; overflow: hidden; }
.map-section .section-title { color: #fff; }
.map-section .section-desc { color: rgba(255,255,255,0.6); margin-top: 1rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.map-wrapper { position: relative; max-width: 48rem; margin: 0 auto; }
.map-wrapper img { width: 100%; border-radius: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.map-glow {
  position: absolute; inset: 0; border-radius: 1.5rem;
  border: 2px solid rgba(16,185,129,0.2);
  box-shadow: 0 0 30px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.2);
  pointer-events: none;
}
.city-pin {
  position: absolute; cursor: pointer;
}
.city-dot {
  width: 1rem; height: 1rem; background: var(--sunset); border-radius: 50%;
  animation: pulseGlow 2s ease-in-out infinite;
}
.city-label {
  position: absolute; top: -2rem; left: 50%; transform: translateX(-50%);
  background: rgba(42,33,24,0.9); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 0.5rem; border-radius: 0.25rem; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.city-pin:hover .city-label { opacity: 1; }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-top: 3rem; text-align: center;
}
.stat-val { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; color: var(--emerald); }
.stat-label { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-top: 0.25rem; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review-card {
  background: var(--card); padding: 2rem; border-radius: 1rem;
  box-shadow: var(--shadow-card);
}
.review-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.review-stars svg { width: 1.125rem; height: 1.125rem; fill: var(--sunset); color: var(--sunset); }
.review-card p { margin-bottom: 1.5rem; line-height: 1.6; }
.review-name { font-weight: 700; }
.review-city { color: var(--muted-foreground); font-size: 0.875rem; }
.review-carousel { display: none; }
.review-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.review-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--border); transition: background 0.2s;
}
.review-dot.active { background: var(--emerald); }
.carousel-nav {
  display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 1.5rem;
}
.carousel-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(16,185,129,0.1); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; border: none; cursor: pointer;
}
.carousel-btn:hover { background: rgba(16,185,129,0.2); }
.carousel-btn svg { width: 1.25rem; height: 1.25rem; color: var(--emerald); }

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px; gap: 1rem;
}
.gallery-item {
  position: relative; border-radius: 1rem; overflow: hidden; cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(42,33,24,0); transition: background 0.3s;
}
.gallery-item:hover::after { background: rgba(42,33,24,0.3); }
.gallery-item:nth-child(1) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-row: span 2; }
.gallery-item:nth-child(5) { grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }

/* ===== FAQ ===== */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--card); border-radius: 1rem; box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
  text-align: left; font-weight: 700; font-size: 1rem; color: var(--foreground);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: color 0.2s; font-family: inherit;
}
.faq-question:hover { color: var(--emerald); }
.faq-question svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem; color: var(--muted-foreground); line-height: 1.6;
}

/* ===== ORDER CTA ===== */
.cta-section {
  padding: 6rem 0; background: linear-gradient(135deg, var(--chili), #991b1b);
  position: relative; overflow: hidden; text-align: center;
}
.cta-section .blob1 {
  position: absolute; top: 0; left: 0; width: 16rem; height: 16rem;
  background: rgba(16,185,129,0.1); border-radius: 50%; filter: blur(3rem);
  transform: translate(-50%, -50%);
}
.cta-section .blob2 {
  position: absolute; bottom: 0; right: 0; width: 24rem; height: 24rem;
  background: rgba(245,158,11,0.1); border-radius: 50%; filter: blur(3rem);
  transform: translate(33%, 33%);
}
.cta-content { position: relative; z-index: 10; }
.cta-section .section-tag { color: var(--sunset); }
.cta-section .section-title { color: #fff; margin-bottom: 1.5rem; }
.cta-section .section-title span { color: var(--sunset); }
.cta-desc { color: rgba(255,255,255,0.7); max-width: 36rem; margin: 0 auto 2.5rem; font-size: 1.125rem; }
.btn-cta {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff; padding: 1.25rem 2.5rem; border-radius: 9999px;
  font-weight: 900; font-size: 1.25rem; transition: transform 0.2s;
  box-shadow: 0 0 30px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.2);
  display: inline-block;
}
.btn-cta:hover { transform: scale(1.05); }
.cta-note { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin-top: 1.5rem; }

/* ===== FOOTER ===== */
.footer { background: var(--foreground); padding: 3rem 0; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.footer-logo span { color: var(--emerald); }
.footer-tagline { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 1.5rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--emerald); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 0.75rem; margin-top: 2rem; }

/* ===== FLOATING BUTTON ===== */
.floating-btn {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), #059669);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(16,185,129,0.4), 0 0 60px rgba(16,185,129,0.2);
  transition: transform 0.2s;
}
.floating-btn:hover { transform: scale(1.1); }
.floating-btn svg { width: 1.5rem; height: 1.5rem; color: #fff; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(245,158,11,0.6), 0 0 24px rgba(245,158,11,0.3); }
  50% { box-shadow: 0 0 20px rgba(245,158,11,0.9), 0 0 40px rgba(245,158,11,0.5); }
}

.fade-in-section {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-section.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(42,33,24,0.95); backdrop-filter: blur(12px);
    padding: 0.5rem 1rem 1.5rem;
  }
  .nav-mobile a {
    display: block; padding: 0.75rem 0; color: rgba(255,255,255,0.8);
    font-weight: 500; transition: color 0.2s;
  }
  .nav-mobile a:hover { color: var(--emerald); }
  .nav-mobile .nav-cta { display: block; text-align: center; margin-top: 0.75rem; padding: 0.75rem; }

  .menu-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { display: none; }
  .review-carousel { display: block; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }
  .gallery-item:nth-child(4) { grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-row: span 1; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; align-items: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
