/* ============================================
   Madi's 12|12 — HOMEPAGE
   Navy + Gold brand layout (mirrors madis.restaurant)
   ============================================ */

:root {
  --mw-navy: #173963;
  --mw-navy-deep: #0E2340;
  --mw-ink: #181824;
  --mw-gold: #DAAB28;
  --mw-cream: #FAF9F5;
  --mw-muted: #4A5462;
}

/* ---------- Shared building blocks ---------- */
.mw-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
}

.mw-eyebrow {
  display: block;
  font-family: var(--font-script);
  color: var(--mw-gold);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.mw-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--mw-ink);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}
.mw-h2--center { text-align: center; }

.mw-text {
  color: var(--mw-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.75rem;
  max-width: 48ch;
}
.mw-text--center { margin: 1rem auto 0; text-align: center; max-width: 62ch; }

.mw-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.mw-center { text-align: center; margin-top: 2.5rem; }

/* Decorative gold "nacho chip" triangles */
.mw-chips {
  position: absolute;
  top: -16px;
  left: 22px;
  display: flex;
  gap: 12px;
  z-index: 3;
}
.mw-chips i {
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 17px solid var(--mw-gold);
}
.mw-chips i:nth-child(2) { transform: translateY(11px); }
.mw-chips i:nth-child(3) { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.mw-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 1.5rem 90px;
  overflow: hidden;
}
.mw-hero__bg { position: absolute; inset: 0; z-index: 0; }
.mw-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.mw-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(14, 35, 64, 0.85) 0%,
    rgba(14, 35, 64, 0.6) 45%,
    rgba(14, 35, 64, 0.25) 100%
  );
}
.mw-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.mw-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  background: var(--mw-gold);
  color: #1a2236;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.4rem;
}
.mw-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0 0 1.3rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}
.mw-hero__sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  max-width: 48ch;
  margin: 0 0 2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}
.mw-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.mw-hero__badge {
  position: absolute;
  right: 6%;
  bottom: 12%;
  z-index: 2;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.55rem;
  line-height: 1.05;
  text-transform: uppercase;
}

/* White-outline button variant for dark backgrounds */
.btn-on-dark { color: #fff; border-color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--mw-navy); border-color: #fff; }

/* ---------- Image / text split (full-bleed media, like live site) ---------- */
.mw-section.mw-split {
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.mw-split--alt { background: var(--mw-cream); }
.mw-split__media {
  position: relative;
  min-height: 480px;
}
.mw-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}
.mw-split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 620px;
}
.mw-split--reverse .mw-split__media { order: 2; }
.mw-split--reverse .mw-split__body { order: 1; margin-left: auto; }
/* non-reverse text hugs the centre gutter; reverse text hugs the page edge */
.mw-split:not(.mw-split--reverse) .mw-split__body { margin-right: auto; }

/* ---------- Signature plates grid ---------- */
.mw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}
.mw-card { text-align: center; }
.mw-card__media {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.15rem;
}
.mw-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mw-card:hover .mw-card__media img { transform: scale(1.06); }
.mw-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.55rem;
  line-height: 1.05;
  margin: 0 0 0.5rem;
}
.mw-card__text {
  color: #5b6675;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 34ch;
  margin: 0 auto;
}
/* Rotating accent colours, like the live "specials" headings */
.mw-card:nth-child(1) .mw-card__name { color: #DAAB28; }
.mw-card:nth-child(2) .mw-card__name { color: #1FA39B; }
.mw-card:nth-child(3) .mw-card__name { color: #173963; }
.mw-card:nth-child(4) .mw-card__name { color: #E0327D; }
.mw-card:nth-child(5) .mw-card__name { color: #173963; }
.mw-card:nth-child(6) .mw-card__name { color: #DAAB28; }

/* ---------- Navy CTA band ---------- */
.mw-band {
  position: relative;
  background: var(--mw-navy);
  color: #fff;
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.5rem;
  overflow: hidden;
}
.mw-band .mw-chips {
  position: static;
  justify-content: center;
  margin: 0 auto 1.1rem;
}
.mw-band__script {
  font-family: var(--font-script);
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  margin: 0 0 1rem;
}
.mw-band__text {
  color: rgba(255, 255, 255, 0.85);
  max-width: 48ch;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Gallery ---------- */
.mw-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mw-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}
.mw-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mw-gallery__item:hover img { transform: scale(1.07); }

/* ============================================
   Re-skin existing FAQ section to the light theme
   ============================================ */
#faq.faq { background: var(--mw-cream); padding: clamp(3.5rem, 7vw, 6rem) 0; }
#faq .section-title { color: var(--mw-navy); }
#faq .section-subtitle { color: #5b6675; }
#faq .faq-category {
  background: #fff;
  border: 1px solid #ECE7DC;
  box-shadow: 0 12px 30px rgba(14, 35, 64, 0.06);
}
#faq .faq-category-title { color: var(--mw-navy); border-bottom-color: #ECE7DC; }
#faq .faq-item { border-bottom: 1px solid #EEE9DE; }
#faq .faq-question h4 { color: var(--mw-ink); font-weight: 600; }
#faq .faq-question:hover h4,
#faq .faq-icon { color: var(--mw-gold); }
#faq .faq-answer p { color: #5b6675; }
#faq .faq-answer a { color: var(--mw-gold); }

/* ============================================
   Re-skin "Find Us" navy section text for legibility
   ============================================ */
#find-us.locations { background: var(--mw-navy-deep); }
#find-us .section-title { color: #fff; }
#find-us .section-subtitle { color: rgba(255, 255, 255, 0.72); }
#find-us .location-card { background: rgba(255, 255, 255, 0.04); }
#find-us .location-info-item,
#find-us .location-hours-grid { color: rgba(255, 255, 255, 0.7); }
#find-us .location-hours { background: rgba(255, 255, 255, 0.05); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .mw-section.mw-split { grid-template-columns: 1fr; }
  .mw-split--reverse .mw-split__media { order: 1; }
  .mw-split--reverse .mw-split__body,
  .mw-split:not(.mw-split--reverse) .mw-split__body { order: 2; margin: 0; max-width: none; }
  .mw-split__media { order: 1; min-height: 320px; }
  .mw-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .mw-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .mw-hero__badge { width: 96px; height: 96px; font-size: 1.25rem; right: 5%; bottom: 6%; }
}

@media (max-width: 560px) {
  .mw-hero { min-height: 88vh; padding-top: 120px; }
  .mw-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .mw-gallery__grid { grid-template-columns: 1fr 1fr; }
  .mw-hero__badge { display: none; }
  .mw-hero__ctas .btn-primary,
  .mw-hero__ctas .btn-secondary { width: 100%; }
}
