/* Reyna's Taco — restaurant site styles */

:root {
  --brand-red: #d62828;
  --brand-red-dark: #a91d1d;
  --brand-orange: #f77f00;
  --brand-cream: #fff8ee;
  --ink: #241608;
  --ink-soft: #5c4a3a;
  --border: #ecdfd0;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--brand-cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

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

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

/* Order Online button — the star of the show */
.btn-order {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(214, 40, 40, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-order:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(214, 40, 40, 0.4);
}
.btn-order--nav { padding: 10px 22px; font-size: 0.92rem; }
.btn-order--hero { font-size: 1.1rem; padding: 16px 36px; }

.btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 238, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
}
.brand-mark { font-size: 1.5rem; }
.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--brand-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}
.mobile-menu[hidden] { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .navbar .btn-order--nav { display: none; }
  .nav-toggle { 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;
  background-color: #7a1f1f;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,5,0.55) 0%, rgba(20,10,5,0.72) 60%, rgba(20,10,5,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px 80px;
  max-width: 780px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 20px;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 0 32px;
  color: #f4e9dc;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.stars { color: var(--brand-orange); letter-spacing: 2px; }

/* Sections */
.section { padding: 80px 0; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--brand-red);
  margin: 0 0 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0 0 16px;
}
.section-sub { color: var(--ink-soft); max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); }
.about-image img {
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(36, 22, 8, 0.18);
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

/* Menu */
.menu { background: #fff; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.menu-category h3 {
  font-family: var(--font-display);
  color: var(--brand-red-dark);
  border-bottom: 2px solid var(--brand-orange);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.menu-category ul { list-style: none; padding: 0; margin: 0; }
.menu-category li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.price { color: var(--ink-soft); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.menu-cta { text-align: center; margin-top: 48px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 180px; }
}

/* Reviews */
.reviews { background: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background: var(--brand-cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 0;
}
.review-card p { font-style: italic; color: var(--ink); }
.review-card footer { margin-top: 12px; font-weight: 700; color: var(--brand-red-dark); font-style: normal; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.location-info address { font-style: normal; color: var(--ink-soft); margin-bottom: 8px; display: block; }
.location-info > p a { font-weight: 700; color: var(--brand-red); text-decoration: none; }
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 28px;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.hours-table th { font-weight: 700; width: 40%; }
.location-map {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(36, 22, 8, 0.18);
}
.location-map iframe { width: 100%; height: 100%; min-height: 320px; }
@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #f4e9dc;
  padding: 48px 0;
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-inner a { text-decoration: none; color: #f4e9dc; }
.footer-inner .btn-order { margin: 12px 0; }
.footer-note { font-size: 0.85rem; color: #b8a996; margin-top: 8px; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #fff;
  border-radius: 18px;
  max-width: 440px;
  width: 100%;
  padding: 40px 32px;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.modal h2 {
  font-family: var(--font-display);
  color: var(--brand-red-dark);
  margin: 0 0 16px;
  font-size: 1.6rem;
}
.modal p { color: var(--ink-soft); margin-bottom: 24px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-soft);
}
.modal-close:hover { color: var(--brand-red); }
