/* El Rodeo De Jalisco */

:root {
  --brand-red: #c8102e;
  --brand-red-dark: #a10d25;
  --brand-orange: #e8871e;
  --ink: #241a14;
  --ink-soft: #4a3c33;
  --cream: #fdf6ec;
  --cream-dark: #f4e8d4;
  --line: #e5d8c2;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.7em 1.4em;
  border-radius: 999px;
  font-weight: 800;
  font-family: var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-order {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}
.btn-order:hover {
  background: var(--brand-red-dark);
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.5);
}

.btn-lg {
  padding: 0.9em 1.9em;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(0,0,0,0.06); }

.hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.hero .btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 246, 236, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--brand-red);
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--brand-red); }

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

.main-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 16px;
  border-top: 1px solid var(--line);
}
.main-nav-mobile a {
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.main-nav-mobile.open { display: flex; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #3a1a12 0%, #6b2712 45%, #c8102e 100%),
    url('../images/hero-exterior-day.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,6,0.55) 0%, rgba(20,10,6,0.35) 45%, rgba(20,10,6,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 80px;
  max-width: 780px;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #f4d9b0;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 1.15rem;
  max-width: 620px;
  color: #f6ece0;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #f4d9b0;
}
.stars { color: #ffc94a; letter-spacing: 2px; }

/* Sections */
section { padding: 88px 0; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-red);
  margin-bottom: 10px;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 20px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* About */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(36, 26, 20, 0.18);
}
.about-copy h2 { font-size: 2.1rem; color: var(--ink); }
.about-copy p { color: var(--ink-soft); margin-bottom: 1em; }

/* Menu */
.menu { background: var(--cream-dark); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.menu-category {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(36, 26, 20, 0.08);
}
.menu-category h3 {
  font-size: 1.25rem;
  color: var(--brand-red);
  border-bottom: 2px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.menu-category ul { list-style: none; margin: 0; padding: 0; }
.menu-category li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-category li:last-child { border-bottom: none; }
.menu-category li span:first-child { font-weight: 800; }
.menu-category .price {
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.menu-note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Gallery */
.gallery { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 14px;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* Reviews */
.reviews { background: var(--cream-dark); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  margin: 0;
  box-shadow: 0 10px 26px rgba(36, 26, 20, 0.08);
}
.review-card .stars { display: block; margin-bottom: 10px; }
.review-card p {
  font-size: 0.96rem;
  color: var(--ink);
  margin: 0 0 14px;
}
.review-card footer {
  font-weight: 800;
  color: var(--brand-red);
  font-size: 0.88rem;
}

/* Hours */
.hours { background: var(--cream); }
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.hours-copy address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.hours-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-top: 1px solid var(--line);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.hours-list span:last-child { color: var(--ink-soft); font-weight: 400; }
.hours-map {
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(36, 26, 20, 0.1);
}
.hours-map iframe { width: 100%; height: 100%; }

/* Footer */
.site-footer {
  background: #241a14;
  color: #f4e8d4;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px;
}
.footer-brand p { margin: 4px 0; color: #cbb89f; }
.footer-brand a { color: #f4e8d4; text-decoration: none; }
.footer-brand .brand-mark { color: #ff8a5c; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #f4e8d4;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
}
.footer-links a:hover { color: #ff8a5c; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #a8937b;
}

/* 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: 18px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}
.modal h2 {
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-bottom: 14px;
}
.modal p { color: var(--ink-soft); margin-bottom: 24px; }
.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) {
  .about-grid, .hours-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner .btn-order { padding: 0.6em 1.1em; font-size: 0.88rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .hero-content { padding: 140px 20px 60px; }
  .footer-inner { flex-direction: column; text-align: center; justify-content: center; }
}
