/* Rodeo Mexican Kitchen — Stage 1 (static) */

:root {
  --header-height: 72px;
  --color-bg: #faf6f0;
  --color-surface: #ffffff;
  --color-ink: #1c1917;
  --color-muted: #57534e;
  --color-accent: #b45309;
  --color-accent-dark: #92400e;
  --color-forest: #14532d;
  --color-border: #e7e5e4;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08);
  --radius: 12px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(180deg, rgba(250, 246, 240, 0.95) 0%, rgba(250, 246, 240, 0.9) 35%, rgba(250, 246, 240, 0.96) 100%),
    radial-gradient(circle at 12% 16%, rgba(180, 83, 9, 0.12) 0%, rgba(180, 83, 9, 0) 38%),
    radial-gradient(circle at 88% 82%, rgba(20, 83, 45, 0.1) 0%, rgba(20, 83, 45, 0) 36%),
    url("../assets/3863713.jpg"),
    url("../assets/3863926.jpg");
  background-size: auto, auto, auto, cover, cover;
  background-position: center, center, center, right top, left bottom;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-attachment: scroll, scroll, scroll, fixed, fixed;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll, scroll, scroll, scroll, scroll;
    background-size: auto, auto, auto, 150% auto, 150% auto;
    background-position: center, center, center, center top, center bottom;
  }
}

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

a {
  color: var(--color-accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--color-forest);
  color: #fff;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
  background: #000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .nav-desktop a,
.site-header.is-scrolled .social-links a {
  color: #fff;
}

.site-header.is-scrolled .nav-desktop a:hover,
.site-header.is-scrolled .social-links a:hover {
  color: #fbbf24;
}

.site-header.is-scrolled .menu-toggle span {
  background: #fff;
}

.site-header.is-scrolled .nav-mobile {
  background: #000;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .nav-mobile a {
  color: #fff;
}

.header-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  width: min(220px, 42vw);
  max-height: 48px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop--left {
  grid-column: 1;
  justify-self: end;
}

.nav-desktop--right {
  grid-column: 3;
  justify-self: start;
}

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

.nav-desktop a:hover {
  color: var(--color-accent);
}

.social-links {
  display: none;
  align-items: center;
  gap: 0.6rem;
  position: fixed;
  top: calc(var(--header-height) / 2);
  right: 1.25rem;
  transform: translateY(-50%);
  z-index: 60;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-ink);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.social-links a:hover {
  color: var(--color-accent);
  transform: translateY(-1px);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links .yelp-icon {
  width: 22px;
  height: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-forest);
  border: 2px solid var(--color-forest);
}

.btn-ghost:hover {
  background: var(--color-forest);
  color: #fff;
}

.menu-toggle {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1.25rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
  background: #faf6f0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 51;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--color-ink);
  text-decoration: none;
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }
  .social-links {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 879px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
  }

  .logo {
    grid-column: 1;
    justify-self: start;
  }

  .logo-image {
    width: min(150px, 42vw);
    max-height: 34px;
  }

  .menu-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .social-links {
    grid-column: 2;
    justify-self: end;
    display: flex;
    position: static;
    transform: none;
    gap: 0.35rem;
    z-index: auto;
    margin-right: 0.25rem;
  }

  .social-links a {
    width: 24px;
    height: 24px;
  }

  .social-links svg {
    width: 17px;
    height: 17px;
  }

  .social-links .yelp-icon {
    width: 19px;
    height: 19px;
  }
}

.hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
  padding: 3rem 1.25rem 4rem;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.55) 0%, rgba(28, 25, 23, 0.88) 50%, rgba(146, 64, 14, 0.65) 100%),
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(251, 191, 36, 0.15), transparent),
    #1c1917;
  color: #fff;
}

.hero--video {
  margin-top: calc(-1 * var(--header-height));
  padding: 0;
  align-items: stretch;
  background: #1c1917;
  min-height: min(100vh, 900px);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.50) 0%, rgba(28, 25, 23, 0.70) 55%, rgba(146, 64, 14, 0.45) 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero--video .hero-inner {
  padding: calc(6.5rem + var(--header-height)) 1.25rem 4rem;
  min-height: min(100vh, 900px);
  display: grid;
  align-content: end;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 40ch;
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  color: var(--color-ink);
}

.section-intro {
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 0 2rem;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.menu-preview {
  background: linear-gradient(180deg, #fff7ed 0%, var(--color-bg) 100%);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
}

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

.menu-item-name {
  font-weight: 700;
}

.menu-item-desc {
  display: block;
  font-size: 0.92rem;
  color: var(--color-muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-accent-dark);
  white-space: nowrap;
}

.menu-category {
  margin: 0;
  padding: 0;
  border: 0;
}

.menu-preview .section-inner > .menu-category:first-of-type {
  margin-top: 2rem;
}

.menu-category + .menu-category {
  margin-top: 1rem;
}

.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0;
  padding: 0.85rem 0;
  color: var(--color-forest);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.menu-category-title::-webkit-details-marker {
  display: none;
}

.menu-category-label {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.menu-category-description {
  margin: 0.2rem 0 0.75rem;
  color: var(--color-muted);
  font-size: 0.97rem;
  line-height: 1.45;
}

.menu-category-title::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--color-forest);
  border-bottom: 2px solid var(--color-forest);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  opacity: 0.85;
}

.menu-category[open] .menu-category-title::after {
  margin-top: 0.15rem;
  transform: rotate(-135deg);
}

.menu-category-title:focus {
  outline: none;
}

.menu-category-title:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 3px;
  border-radius: 4px;
}

.menu-category .menu-card-grid {
  margin-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.menu-preview .menu-list + .menu-category-title {
  margin-top: 2.5rem;
}

/* Menu item cards (image on top, details below) */
.menu-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .menu-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .menu-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.menu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.menu-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.menu-card-link:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 2px;
}

.menu-card-image-wrap {
  display: block;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
}

.menu-card-image {
  width: 100%;
  height: auto;
  display: block;
}

.menu-card-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 240px;
  font-size: 2.5rem;
  opacity: 1;
}

.menu-card-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  text-align: left;
  background: linear-gradient(180deg, #f5f1ea 0%, #ebe4d9 100%);
  border-top: 1px solid var(--color-border);
}

.menu-card-name {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
}

.menu-card-link:hover .menu-card-name {
  color: var(--color-accent-dark);
}

.menu-card-desc {
  display: block;
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.45;
  flex: 1;
}

.menu-card-price {
  display: block;
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-accent-dark);
}


.note-box {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-muted);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.split > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.hours-list li span:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.hours-list li span:last-child {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .hours-list li {
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
  }

  .hours-list li span:last-child {
    width: 100%;
    text-align: left;
    white-space: normal;
  }
}

.hours-list li:last-child {
  border-bottom: none;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 280px;
  background: #e7e5e4;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-size: 0.95rem;
  padding: 1rem;
  text-align: center;
}

.map-embed.map-embed--iframe {
  display: block;
  padding: 0;
  place-items: unset;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  background: #94a3b8;
}

.map-embed.map-embed--iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-open-google {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

#location a[href^="tel:"],
#location a[href^="mailto:"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#location a[href^="tel:"]:hover,
#location a[href^="mailto:"]:hover {
  color: var(--color-accent-dark);
}

.site-footer {
  background: var(--color-ink);
  color: #e7e5e4;
  padding: 3rem 1.25rem;
}

.site-footer a {
  color: #fcd34d;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a29e;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #44403c;
  font-size: 0.85rem;
  color: #a8a29e;
  grid-column: 1 / -1;
}
