/* Erick's Tacos & Fruteria #2 — site styles */

:root {
  --color-brand-red: #d62828;
  --color-brand-red-dark: #a81f1f;
  --color-brand-green: #2f7d4f;
  --color-brand-orange: #f2762e;
  --color-ink: #1c1410;
  --color-ink-soft: #4a3f38;
  --color-cream: #fff8ef;
  --color-cream-dark: #f4e9d8;
  --color-card: #ffffff;
  --shadow-soft: 0 12px 30px rgba(28, 20, 16, 0.12);
  --shadow-lift: 0 18px 40px rgba(28, 20, 16, 0.18);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--color-cream);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 999;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn-order {
  background: var(--color-brand-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.4);
  letter-spacing: 0.02em;
}
.btn-order:hover,
.btn-order:focus-visible {
  background: var(--color-brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(214, 40, 40, 0.48);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.15);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 20, 16, 0.96);
  backdrop-filter: blur(6px);
}
.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand-orange);
}
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e7d9c8;
}
.brand-num {
  color: var(--color-brand-orange);
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  color: #f2e9dd;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--color-brand-orange);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 8, 0.55) 0%, rgba(20, 12, 8, 0.72) 55%, rgba(20, 12, 8, 0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--color-brand-orange);
  font-weight: 700;
  margin: 0 0 14px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 18px;
}
.hero-tagline {
  font-size: 1.1rem;
  color: #f2e9dd;
  max-width: 560px;
  margin: 0 auto 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}
.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f2e9dd;
}
.stars {
  color: var(--color-brand-orange);
  letter-spacing: 2px;
}

/* Section basics */
section {
  padding: 84px 0;
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-brand-red);
  margin: 0 0 10px;
}
.section-eyebrow.center {
  text-align: center;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin: 0 0 16px;
}
h2.center {
  text-align: center;
}
.section-lead {
  color: var(--color-ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}
.section-lead.center {
  text-align: center;
}

/* About */
.about {
  background: var(--color-card);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-copy p {
  color: var(--color-ink-soft);
  margin: 0 0 16px;
}
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

/* Menu */
.menu {
  background: var(--color-cream-dark);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.menu-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.menu-card h3 {
  font-family: var(--font-display);
  color: var(--color-brand-red);
  margin: 0 0 16px;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--color-cream-dark);
  padding-bottom: 12px;
}
.menu-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-card li {
  margin-bottom: 14px;
}
.menu-card li:last-child {
  margin-bottom: 0;
}
.menu-card li span {
  display: block;
  font-weight: 700;
}
.menu-card li em {
  display: block;
  font-style: normal;
  color: var(--color-ink-soft);
  font-size: 0.88rem;
  margin-top: 2px;
}
.menu-note {
  text-align: center;
  margin: 40px 0 0;
  color: var(--color-ink-soft);
}
.menu-note a {
  color: var(--color-brand-red);
  font-weight: 700;
  text-decoration: none;
}

/* Gallery */
.gallery {
  background: var(--color-card);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Reviews */
.reviews {
  background: var(--color-ink);
  color: #fdf6ec;
}
.reviews .section-eyebrow {
  color: var(--color-brand-orange);
}
.reviews h2 {
  color: #fff;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.review-card p {
  margin: 12px 0 16px;
  color: #f2e9dd;
}
.review-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--color-brand-orange);
}

/* Hours & Location */
.hours-location {
  background: var(--color-cream-dark);
}
.hl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  background: var(--color-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hours-table th,
.hours-table td {
  padding: 12px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.95rem;
}
.hours-table th {
  font-weight: 600;
  color: var(--color-ink-soft);
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}
address {
  font-style: normal;
  margin: 0 0 24px;
  color: var(--color-ink-soft);
}
.hl-map {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hl-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: #f2e9dd;
  padding: 56px 0 28px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-grid p {
  margin: 6px 0;
  color: #cbb9a4;
}
.footer-grid a {
  text-decoration: none;
  color: #f2e9dd;
}
.footer-cta {
  text-align: right;
}
.footer-note {
  margin-top: 12px;
  font-size: 0.85rem;
}
.footer-legal {
  text-align: center;
  color: #9c8b78;
  font-size: 0.82rem;
  margin: 24px 0 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal {
  position: relative;
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.modal h2 {
  margin-top: 0;
}
.modal p {
  color: var(--color-ink-soft);
  margin-bottom: 24px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-ink-soft);
}
.modal-close:hover {
  color: var(--color-brand-red);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid,
  .hl-grid {
    grid-template-columns: 1fr;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 20, 16, 0.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 14px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar-inner .btn-order {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid img {
    height: 160px;
  }
  section {
    padding: 56px 0;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  .footer-cta {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
