/* =========================================================
   Añejo Taqueria — "Aged to Perfection"
   Palette sampled from the restaurant's own logo:
   near-black background, agave teal, cream/gold banner, chili red
   ========================================================= */

:root {
  --black: #08090b;
  --black-soft: #101314;
  --charcoal: #181c1d;
  --teal: #4c7377;
  --teal-light: #6f9a9d;
  --teal-dark: #33504f;
  --cream: #f5d99b;
  --cream-soft: #fbf1dc;
  --red: #b8262b;
  --red-dark: #8f1c20;
  --white: #ffffff;
  --text-dark: #201d1a;
  --text-muted: #6b6763;
  --radius: 14px;
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.4);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--red);
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-teal:hover { background: var(--teal-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--black); }

/* =========================== HEADER =========================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(245, 217, 155, 0.12);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 20px;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.logo-text {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}
.logo-text span { display: block; font-size: 0.65rem; letter-spacing: 0.14em; color: var(--teal-light); font-family: var(--font-body); font-weight: 600; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--cream-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { border-color: var(--red); color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.social-icon-row { display: flex; gap: 10px; }
.social-icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(245, 217, 155, 0.1);
  color: var(--cream);
  transition: background 0.2s ease, color 0.2s ease;
}
.social-icon:hover { background: var(--teal); color: var(--white); }
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

.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(--cream); border-radius: 2px; }

/* =========================== HERO =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/background.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,9,11,0.88) 0%, rgba(8,9,11,0.72) 45%, rgba(8,9,11,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 140px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-content .eyebrow { color: var(--cream); }

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 6px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--cream);
}

.hero-tagline {
  color: var(--teal-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  margin: 10px 0 26px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}
.hero-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(245,217,155,0.18);
  border-radius: var(--radius);
  padding: 16px 12px;
  color: var(--cream-soft);
}
.hero-feature h3 { color: var(--white); font-size: 0.98rem; margin-bottom: 4px; }
.hero-feature p { font-size: 0.8rem; color: rgba(255,255,255,0.65); }

/* floating dish photos */
.hero-floating {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius);
  border: 5px solid rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  display: none;
}
.hero-floating-1 {
  width: 230px; height: 230px;
  left: 4%;
  bottom: 12%;
  transform: rotate(-7deg);
  animation: float-a 6s ease-in-out infinite;
}
.hero-floating-2 {
  width: 200px; height: 260px;
  right: 5%;
  top: 22%;
  transform: rotate(6deg);
  animation: float-b 7s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-16px); }
}
@keyframes float-b {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(14px); }
}
@media (min-width: 980px) {
  .hero-floating { display: block; }
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================== ABOUT =========================== */
.about {
  padding: 100px 0;
  background: var(--cream-soft);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,115,119,0.14), transparent 70%);
  top: -160px; right: -160px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-photo-wrap { position: relative; }
.about-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}
.about-photo-badge {
  position: absolute;
  bottom: -12px; left: -12px;
  background: var(--teal);
  color: var(--white);
  padding: 32px 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  text-align: center;
  line-height: 1.2;
}
.about-photo-badge strong { display: block; font-size: 1.5rem; }
.about-photo-badge span { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-body); }

.about-text .eyebrow { color: var(--red); }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 1rem; }
.about-text p strong { color: var(--text-dark); }
.about-signoff {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--teal-dark);
}

.about-stats {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.about-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
}
.about-stats .stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================== FAN FAVORITES =========================== */
.menu {
  padding: 100px 0;
  background: var(--black);
}
.menu .section-title, .menu .eyebrow-wrap { color: var(--white); }
.menu .section-title { color: var(--white); }
.menu .section-subtitle { color: rgba(255,255,255,0.55); }
.menu .eyebrow { color: var(--cream); }

.top-sellers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.top-seller-card {
  background: var(--black-soft);
  border: 1px solid rgba(245,217,155,0.12);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.top-seller-card:hover { transform: translateY(-6px); border-color: var(--teal); }
.top-seller-rank {
  position: absolute;
  top: -14px; left: 22px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.top-seller-icon { font-size: 1.8rem; margin-bottom: 12px; }
.top-seller-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.top-seller-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 14px; }
.top-seller-card .price { color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }

.menu-cta {
  text-align: center;
  margin-top: 46px;
}
.menu-note {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* =========================== ORDER ONLINE =========================== */
.order-online {
  padding: 100px 0;
  background: var(--white);
}
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.order-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(0,0,0,0.06);
}
.order-card.featured {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
}
.order-card.featured h3 { color: var(--white); }
.order-card.featured p { color: rgba(255,255,255,0.85); }
.order-card h3 { font-size: 1.3rem; }
.order-card p { color: var(--text-muted); font-size: 0.95rem; }
.order-platform-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.platform-pill {
  background: rgba(0,0,0,0.05);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}
.order-card.featured .platform-pill {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

/* =========================== REVIEWS =========================== */
.reviews {
  padding: 100px 0;
  background: var(--cream-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.review-stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.95rem; }
.review-card p { font-style: italic; color: var(--text-dark); margin-bottom: 14px; }
.review-card cite { color: var(--text-muted); font-size: 0.85rem; font-style: normal; font-weight: 600; }

.reviews-cta {
  text-align: center;
  margin-top: 42px;
}

/* =========================== VISIT / CONTACT =========================== */
.contact {
  padding: 100px 0;
  background: var(--black);
  color: var(--cream-soft);
}
.contact .section-title { color: var(--white); }
.contact .section-subtitle { color: rgba(255,255,255,0.55); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--black-soft);
  border: 1px solid rgba(245,217,155,0.14);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card p, .contact-card address { color: rgba(255,255,255,0.72); font-style: normal; margin-bottom: 8px; font-size: 0.95rem; }
.contact-card a.inline-link { color: var(--teal-light); font-weight: 600; }
.contact-card a.inline-link:hover { color: var(--cream); }

.hours-table { width: 100%; margin-top: 4px; }
.hours-table tr td { padding: 5px 0; font-size: 0.92rem; color: rgba(255,255,255,0.72); }
.hours-table tr td:last-child { text-align: right; font-weight: 600; color: var(--cream-soft); }
.hours-table tr.closed td:last-child { color: var(--red); }

.contact-buttons { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.social-block { margin-top: 26px; display: flex; align-items: center; gap: 14px; }

/* =========================== FOOTER =========================== */
.site-footer {
  background: var(--black-soft);
  border-top: 1px solid rgba(245,217,155,0.1);
  padding: 34px 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-grid p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-nav a:hover { color: var(--cream); }

/* =========================== SCROLL REVEAL =========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 900px) {
  .about-grid, .order-grid, .contact-grid { grid-template-columns: 1fr; }
  .top-sellers-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-features { grid-template-columns: 1fr; }
  .top-sellers-grid { grid-template-columns: 1fr; }
  .nav-row.open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    padding: 20px 24px;
    gap: 16px;
    border-top: 1px solid rgba(245,217,155,0.14);
  }
  .nav-row { flex-wrap: nowrap; padding: 10px 16px; gap: 10px; }
  .logo-text { font-size: 0.9rem; }
  .logo-text span { font-size: 0.55rem; }
  .logo-img { height: 40px; width: 40px; }
  .nav-actions .social-icon-row { display: none; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 10px 14px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
  .logo-text span { display: none; }
  .nav-cta span.full-label { display: none; }
}
