/* La Pasadita Cocina Mexicana — site styles */

:root {
  --brand-red: #d62828;
  --brand-red-dark: #a81f1f;
  --brand-orange: #f2994a;
  --brand-gold: #f7b731;
  --ink: #241a17;
  --ink-soft: #4a3a34;
  --cream: #fff8ef;
  --cream-dark: #f5ead9;
  --line: #e8d9c4;
  --shadow: 0 10px 30px rgba(36, 26, 23, 0.18);
  --radius: 16px;
  --radius-pill: 999px;
  font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  color: var(--ink);
}

a {
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-red-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

section {
  padding: 88px 0;
}

/* ---------- Buttons ---------- */

.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(214, 40, 40, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-order:hover,
.btn-order:focus-visible {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(214, 40, 40, 0.5);
}

.btn-order.small {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-order.large {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* ---------- Navbar ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 248, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.brand .flag-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: conic-gradient(var(--brand-red) 0 33%, #fff 33% 66%, #2e7d32 66% 100%);
  flex-shrink: 0;
}

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

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--brand-red);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(160deg, #2b1410 0%, #4a1f16 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/photo-1.jpg");
  background-size: cover;
  background-position: center 65%;
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 10, 8, 0.55) 0%, rgba(20, 10, 8, 0.78) 60%, rgba(20, 10, 8, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 24px 80px;
}

.hero-content .eyebrow {
  color: var(--brand-gold);
}

.hero-content h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: #fff;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: #f4e9dd;
  max-width: 560px;
  margin-bottom: 32px;
}

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

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-meta div {
  min-width: 120px;
}

.hero-meta strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-gold);
  font-family: Georgia, serif;
}

.hero-meta span {
  font-size: 0.85rem;
  color: #e6d7c8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-link-secondary {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- About ---------- */

.about {
  background: #fff;
}

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

.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

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

.about-text .eyebrow {
  margin-bottom: 6px;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.badge {
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- Menu ---------- */

.menu {
  background: var(--cream-dark);
  position: relative;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.menu-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 30px 10px;
  box-shadow: var(--shadow);
}

.menu-card h3 {
  font-size: 1.3rem;
  color: var(--brand-red-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--line);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

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

.menu-item-name {
  font-weight: 700;
  font-size: 1rem;
}

.menu-item-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 3px;
}

.menu-item-price {
  font-weight: 700;
  color: var(--brand-red);
  white-space: nowrap;
  font-size: 1rem;
}

.menu-note {
  text-align: center;
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */

.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-grid figure {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.08);
}

.gallery-grid figure:nth-child(1),
.gallery-grid figure:nth-child(6) {
  grid-row: span 2;
}

/* ---------- Reviews ---------- */

.reviews {
  background: linear-gradient(160deg, #2b1410 0%, #4a1f16 100%);
  color: #fff;
}

.reviews .section-head h2 {
  color: #fff;
}

.reviews .section-head p {
  color: #e6d7c8;
}

.reviews .eyebrow {
  color: var(--brand-gold);
}

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

.review-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
}

.review-stars {
  color: var(--brand-gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card p {
  color: #f4e9dd;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.review-author {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
}

/* ---------- Hours & Location ---------- */

.hours-location {
  background: var(--cream-dark);
}

.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.hl-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.hl-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--brand-red-dark);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

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

.hours-list .day {
  font-weight: 600;
}

.hl-contact {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--line);
}

.hl-contact a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- Footer ---------- */

footer {
  background: #1c1210;
  color: #e6d7c8;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-grid p,
.footer-grid a {
  color: #c9b7a6;
  text-decoration: none;
  font-size: 0.92rem;
  display: block;
  margin-bottom: 10px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #8f7d6f;
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 8, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cream-dark);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}

.modal-close:hover {
  background: var(--line);
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.modal p {
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.modal .btn-order {
  width: 100%;
  justify-content: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .about-grid,
  .hl-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    order: -1;
    aspect-ratio: 16 / 10;
  }

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

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

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

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta .btn-order.small {
    padding: 9px 18px;
    font-size: 0.78rem;
  }

  section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-meta {
    gap: 20px;
  }
}
