/* ========================================
   Taqueria Las Vallitas — Styles
   Burgundy + Blush | Playfair + Inter
   ======================================== */

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

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2C;
  --burgundy-deeper: #3D141C;
  --blush: #F5E6E0;
  --blush-light: #FBF4F1;
  --blush-mid: #E8D0C8;
  --cream: #FDF8F5;
  --warm-white: #FFFAF8;
  --text-dark: #1A0A0E;
  --text-body: #3D2028;
  --text-muted: #7A5060;
  --text-light: #A07888;
  --gold: #C8956C;
  --gold-light: #E8C4A8;
  --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.06);
  --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
  --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.12);
  --shadow-xl: 0 16px 60px rgba(123, 45, 59, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* ========================================
   Typography
   ======================================== */

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--burgundy);
  color: #FFFFFF;
  border-color: var(--burgundy);
}

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

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

.btn-secondary:hover {
  background-color: var(--burgundy);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(253, 248, 245, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--burgundy);
}

.nav-logo-icon {
  color: var(--burgundy);
}

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

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--burgundy);
}

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

.nav-cta {
  background-color: var(--burgundy) !important;
  color: #FFFFFF !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition) !important;
}

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

.nav-cta:hover {
  background-color: var(--burgundy-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--burgundy-deeper);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 20, 28, 0.92) 0%,
    rgba(123, 45, 59, 0.82) 50%,
    rgba(92, 31, 44, 0.88) 100%
  );
}

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

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

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

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

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

.hero-actions .btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.hero-actions .btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

.hero-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
}

.hero-actions .btn-secondary:hover {
  background-color: #FFFFFF;
  color: var(--burgundy);
  border-color: #FFFFFF;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* ========================================
   Intro / About
   ======================================== */

.intro {
  padding: 120px 0;
  background: var(--cream);
}

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

.intro-text .section-headline {
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}

.intro-image {
  position: relative;
}

.intro-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.intro-image-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--burgundy);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
}

/* ========================================
   Features
   ======================================== */

.features {
  padding: 100px 0;
  background: var(--blush-light);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid rgba(123, 45, 59, 0.06);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--burgundy);
  background: var(--blush);
  border-radius: var(--radius-md);
}

.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

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

/* ========================================
   Menu
   ======================================== */

.menu {
  padding: 120px 0;
  background: var(--cream);
}

.menu-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.menu-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.menu-category h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--blush-mid);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.menu-item-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: right;
}

.menu-note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* ========================================
   Catering
   ======================================== */

.catering {
  padding: 120px 0;
  background: var(--burgundy-deeper);
}

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

.catering-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.catering-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.catering-content .section-eyebrow {
  color: var(--gold-light);
}

.catering-content .section-headline {
  color: #FFFFFF;
}

.catering-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
}

.catering-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.catering-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.catering-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
}

.catering-content .btn-primary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--text-dark);
}

.catering-content .btn-primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ========================================
   Gallery
   ======================================== */

.gallery {
  padding: 100px 0;
  background: var(--blush-light);
}

.gallery-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   Testimonials
   ======================================== */

.testimonials {
  padding: 100px 0;
  background: var(--cream);
}

.testimonials-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

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

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(123, 45, 59, 0.06);
  transition: all var(--transition);
}

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

.testimonial-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--burgundy);
  opacity: 0.2;
  margin-bottom: -12px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--burgundy);
  letter-spacing: 0.04em;
}

/* ========================================
   Visit / Contact
   ======================================== */

.visit {
  padding: 120px 0;
  background: var(--blush-light);
}

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

.visit-info .section-headline {
  margin-bottom: 32px;
}

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

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

.visit-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blush);
  border-radius: var(--radius-sm);
  color: var(--burgundy);
}

.visit-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.visit-detail p,
.visit-detail a {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

.visit-detail a:hover {
  color: var(--burgundy);
  text-decoration: underline;
}

.visit-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

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

.footer {
  background: var(--burgundy-deeper);
  padding: 80px 0 0;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-logo-icon {
  color: var(--gold-light);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
}

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

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

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

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

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   Scroll Reveal (progressive enhancement)
   ======================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

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

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

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .menu-category:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

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

  .intro-image {
    order: -1;
  }

  .intro-image img {
    height: 350px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .menu-categories {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .menu-category:last-child {
    max-width: none;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .catering-image img {
    height: 400px;
  }

  .visit-map {
    height: 320px;
  }

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

  .hero-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .visit-cta {
    flex-direction: column;
  }

  .visit-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
