/* ===================================================
   El Ruso Tacos — site styles
   Palette pulled from the logo: maroon, olive, cream
=================================================== */

:root {
  --maroon: #7a1f2b;
  --maroon-dark: #5c1620;
  --olive: #74762c;
  --olive-dark: #5a5b22;
  --cream: #f7efdc;
  --cream-dark: #ecdfc0;
  --ink: #241b16;
  --blue: #0f5fa6;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 20px rgba(36, 27, 22, 0.12);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, .display {
  font-family: "Ultra", "Georgia", serif;
  letter-spacing: 0.5px;
  color: var(--maroon);
  line-height: 1.15;
}

a { color: var(--maroon); }
a:hover { color: var(--olive); }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--maroon);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--maroon);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  color: var(--maroon);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--maroon);
  color: var(--white);
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-bar { flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 3px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--maroon);
  color: var(--white);
}
.btn-primary:hover { background: var(--maroon-dark); color: var(--white); }

.btn-secondary {
  background: var(--olive);
  color: var(--white);
}
.btn-secondary:hover { background: var(--olive-dark); color: var(--white); }

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 55%, var(--ink) 100%);
  color: var(--white);
  padding: 64px 0 72px;
  text-align: center;
}

.hero img.hero-logo {
  max-width: 360px;
  margin: 0 auto 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 0 0 6px;
}

.hero .subtagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 24px;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.1rem;
  color: var(--cream);
}

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

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--cream-dark); }

.section-title {
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  color: #5a4c42;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* ---------- Menu page ---------- */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(36,27,22,0.2);
}
.menu-item:last-child { border-bottom: none; }

.menu-item .name {
  font-weight: 800;
  color: var(--maroon);
}
.menu-item .desc {
  display: block;
  font-weight: 400;
  color: #5a4c42;
  font-size: 0.95rem;
}
.menu-item .price {
  font-weight: 800;
  color: var(--olive-dark);
  white-space: nowrap;
}

.menu-notes {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--cream-dark);
  border-left: 5px solid var(--maroon);
  border-radius: 8px;
}
.menu-notes ul { margin: 0; padding-left: 20px; }

.taco-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--maroon);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  margin-right: 10px;
  font-weight: 800;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.gallery-item figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #5a4c42;
}
.gallery-item { margin: 0; }

/* ---------- Press ---------- */
.press-item {
  border-left: 5px solid var(--olive);
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.press-item .outlet {
  font-weight: 800;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.press-item blockquote {
  margin: 8px 0;
  font-size: 1.15rem;
  font-style: italic;
}
.press-item .date { color: #8a7a6c; font-size: 0.85rem; }

/* ---------- Location ---------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 8px 4px;
  border-bottom: 1px solid rgba(36,27,22,0.1);
}
.hours-table td:first-child { font-weight: 700; }
.hours-table td:last-child { text-align: right; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/9;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  border-radius: var(--radius);
  color: #8a7a6c;
  text-align: center;
  padding: 20px;
  font-weight: 700;
}

/* ---------- Placeholder banner ---------- */
.placeholder-flag {
  display: inline-block;
  background: #fff3cd;
  color: #6b5300;
  border: 1px solid #ffe08a;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 40px 0 28px;
  text-align: center;
}
.site-footer a { color: var(--cream); text-decoration: underline; }
.site-footer .foot-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.site-footer .copyright {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #a89a8c;
}
