/* El Zacatecas — Restaurant Website */

:root {
  --color-bg: #fffaf3;
  --color-text: #2c1c14;
  --color-muted: #6b5a4e;
  --color-cream: #fff4e3;
  --color-terracotta: #c1440e;
  --color-terracotta-dark: #9c3509;
  --color-gold: #e0a526;
  --color-green: #4a6b3a;
  --color-brand: #d92b2b;
  --color-brand-dark: #a91e1e;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(44, 28, 20, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

h1, h2, h3 { font-family: var(--font-heading); margin: 0 0 0.5em; line-height: 1.15; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-terracotta);
  margin: 0 0 8px;
}
.center { text-align: center; }

/* Buttons */
.btn-order {
  display: inline-block;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(217, 43, 43, 0.4);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn-order:hover, .btn-order:focus-visible {
  background: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(217, 43, 43, 0.5);
}
.btn-order--nav { padding: 10px 24px; font-size: 0.95rem; }
.btn-order--hero { font-size: 1.1rem; padding: 16px 38px; }

.btn-secondary {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-secondary:hover, .btn-secondary:focus-visible { background: #fff; color: var(--color-terracotta-dark); }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(44, 28, 20, 0.08);
}
.navbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  margin-right: auto;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-terracotta);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--color-terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  display: block;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px 20px;
}
.mobile-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
}
.mobile-menu.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.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(28, 16, 10, 0.65) 0%, rgba(28, 16, 10, 0.55) 45%, rgba(28, 16, 10, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
  text-align: center;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 14px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.15rem;
  color: #f3e9df;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.hero-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f3e9df;
}
.stars { color: var(--color-gold); letter-spacing: 2px; }

/* About */
.about { padding: 90px 0; background: var(--color-cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.about-text p { color: var(--color-muted); margin-bottom: 1.1em; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Menu */
.menu { padding: 90px 0; }
.menu h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.menu-note { color: var(--color-muted); max-width: 620px; margin: 0 auto 50px; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.menu-category h3 {
  color: var(--color-terracotta-dark);
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 10px;
  margin-bottom: 18px;
  font-size: 1.3rem;
}
.menu-category ul { list-style: none; margin: 0; padding: 0; }
.menu-category li { margin-bottom: 18px; }
.menu-item { display: flex; flex-direction: column; gap: 4px; }
.menu-item-name { font-weight: 700; }
.menu-item-desc { color: var(--color-muted); font-size: 0.95rem; }
.menu-disclaimer { margin-top: 50px; color: var(--color-muted); font-size: 0.9rem; }
.menu-disclaimer a { color: var(--color-terracotta); font-weight: 700; }

/* Gallery */
.gallery { padding: 90px 0; background: var(--color-cream); }
.gallery h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.gallery-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item--pattern { position: relative; }
.gallery-item--terracotta { background: repeating-linear-gradient(135deg, var(--color-terracotta) 0 24px, var(--color-terracotta-dark) 24px 48px); }
.gallery-item--gold { background: repeating-linear-gradient(45deg, var(--color-gold) 0 24px, #b9821a 24px 48px); }
.gallery-item--green { background: repeating-linear-gradient(135deg, var(--color-green) 0 24px, #34502a 24px 48px); }

/* Reviews */
.reviews { padding: 90px 0; }
.reviews h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.reviews-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.review-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 28px;
  margin: 0;
  box-shadow: var(--shadow);
}
.review-card p { font-size: 1.02rem; margin: 12px 0; }
.review-card cite { font-weight: 700; font-style: normal; color: var(--color-terracotta-dark); }
.reviews-cta { margin-top: 40px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; }

/* Hours & Location */
.hours { padding: 90px 0; background: var(--color-cream); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.hours-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.hours-table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; }
.hours-table th, .hours-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid rgba(44,28,20,0.1); }
.hours-table th { font-weight: 600; color: var(--color-muted); }
.hours-contact p { margin: 6px 0; }
.hours-contact a { color: var(--color-terracotta-dark); font-weight: 700; text-decoration: none; }
.hours-info .btn-order { margin-top: 16px; }
.hours-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }

/* Footer */
.footer { background: #241209; color: #f3e9df; padding: 60px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-brand .brand-mark { background: var(--color-gold); color: #241209; }
.footer-brand .brand-name { font-family: var(--font-heading); font-size: 1.15rem; }
.footer-brand p { color: #cbb9aa; margin: 0; }
.footer-info p { margin: 6px 0; color: #e6d9cc; }
.footer-info a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-bottom {
  text-align: center;
  color: #a3907f;
  font-size: 0.85rem;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 8, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}
.modal h2 { font-size: 1.5rem; margin-bottom: 14px; }
.modal p { color: var(--color-muted); margin-bottom: 24px; }
.modal p a { color: var(--color-terracotta-dark); font-weight: 700; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}
.modal-close:hover { color: var(--color-text); }
.modal-call-btn { display: inline-block; }

/* Responsive */
@media (max-width: 900px) {
  .about-grid, .hours-grid { grid-template-columns: 1fr; }
  .about-media img { height: 300px; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 720px) {
  .nav-links, .btn-order--nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 92vh; }
}
