/* Taco Ranch — base */
:root {
  --brand-red: #d1290a;
  --brand-red-dark: #a81f07;
  --brand-orange: #e8871e;
  --brand-cream: #fff8ec;
  --ink: #2a1a12;
  --ink-soft: #5a4436;
  --border: #eadfcd;
  --shadow: 0 10px 30px rgba(42, 26, 18, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--brand-cream);
  line-height: 1.6;
}

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

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

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 16px; color: var(--ink); }
h2 { font-size: 2.1rem; text-align: center; }
h3 { font-size: 1.25rem; }

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin-top: -8px;
  margin-bottom: 36px;
}

section { padding: 72px 0; }

/* Order button — brand cta */
.btn-order {
  background: var(--brand-red);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(209, 41, 10, 0.4);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-order:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(209, 41, 10, 0.5);
}

.btn-order-lg {
  font-size: 1.15rem;
  padding: 16px 40px;
}

.btn-secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 236, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--ink);
  text-decoration: none;
}

.brand span { color: var(--brand-red); }

.nav-links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

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

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

/* Hero */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}

.hero-content { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: #f4ece0;
}

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

/* About */
.about .container { max-width: 780px; }
.about p { font-size: 1.05rem; color: var(--ink-soft); }

/* Menu */
.menu { background: #fff; }

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

.menu-category {
  background: var(--brand-cream);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.menu-category h3 {
  color: var(--brand-red);
  border-bottom: 2px solid var(--brand-orange);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.menu-category ul { list-style: none; margin: 0; padding: 0; }

.menu-category li {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

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

.menu-category li span { font-weight: 700; }
.menu-category li em { color: var(--ink-soft); font-style: italic; font-size: 0.9rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.gallery-pattern {
  border-radius: 10px;
  height: 200px;
  background: repeating-linear-gradient(45deg, var(--brand-orange) 0, var(--brand-orange) 12px, var(--brand-red) 12px, var(--brand-red) 24px);
  opacity: 0.85;
}

/* Reviews */
.reviews { background: #fff; }

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

.review-card {
  margin: 0;
  background: var(--brand-cream);
  border-left: 4px solid var(--brand-red);
  border-radius: 10px;
  padding: 24px;
}

.review-card p { font-size: 1.05rem; margin: 0 0 12px; }
.review-card footer { font-weight: 700; color: var(--ink-soft); font-size: 0.9rem; }
.stars { color: var(--brand-orange); margin-left: 6px; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.hours-list { list-style: none; padding: 0; margin: 0 0 24px; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.location-info a { color: var(--brand-red); font-weight: 700; text-decoration: none; }

.location-map {
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #f4ece0;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #fff; margin: 0 0 6px; }
.site-footer p { margin: 2px 0; color: #d8c9b8; }
.site-footer a { color: #f4ece0; text-decoration: none; }

/* Modal */
.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

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

.modal h2 { color: var(--brand-red); }

.modal a { color: var(--brand-red); font-weight: 700; text-decoration: none; }

.modal-close {
  position: absolute;
  top: 12px;
  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); }

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

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
