/* ═══════════════════════════════════════════
   Amadio — Menu page styles
   Relies on styles.css for tokens, header,
   footer, buttons and fonts.
   ═══════════════════════════════════════════ */

/* ─── MENU HERO ─── */
/* Centered white logo in the transparent header (over the banner) */
.site-header__logo-white {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: block;
  line-height: 0;
}
.site-header__logo-white img {
  height: 30px;
  width: auto;
  display: block;
}
.site-header.scrolled .site-header__logo-white { display: none; }

/* Top-left banner text (matches the home page hero) */
.site-header__firenze {
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  white-space: nowrap;
}
.site-header.scrolled .site-header__firenze { display: none; }
@media (max-width: 600px) {
  .site-header__firenze { font-size: 10px; letter-spacing: 0.1em; left: 56%; }
}

/* Soft dark scrim beneath the header for legibility over the clear banner */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0) 100%);
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }

.menu-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 28px 80px;
  background-image: url('../images/menu-1.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.menu-hero__inner { position: relative; z-index: 2; }
.menu-hero__eyebrow {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.menu-hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(56px, 12vw, 120px);
  line-height: 1;
  color: #fff;
  margin: 0;
}
.menu-hero__sub {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  margin-top: 18px;
}

/* ─── CATEGORY NAV (sticky) ─── */
.cat-nav {
  position: sticky;
  top: 62px;
  z-index: 90;
  background: var(--header-bg);
  border-bottom: 0.5px solid var(--border);
}
.cat-nav__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.cat-nav__track::-webkit-scrollbar { display: none; }
.cat-nav a {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 16px 18px;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.cat-nav a:hover { color: var(--red); }
.cat-nav a.active { color: var(--red); border-bottom-color: var(--red); }

/* ─── MENU SECTIONS ─── */
.menu-section { background: var(--cream); padding: 70px 0px; }
.menu-section:nth-of-type(even) { background: var(--bg-specialty); }
.menu-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  scroll-margin-top: 124px;
  display: grid;
  grid-template-columns: 38% 1fr;
  align-items: stretch;
}
/* Left photo — stretches to match the height of the item list */
.menu-section__photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  background: #e6e0d5;
  display: block;
}
.menu-section__content {
  padding: 76px 60px;
  min-width: 0;
}
.menu-section__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.06;
  color: var(--ink);
  text-align: center;
  margin: 0 0 52px;
}

/* Grouped, newspaper-style two-column lists */
.mg-groups {
  columns: 2;
  column-gap: 56px;
}
.mg-group {
  break-inside: avoid;
  margin-bottom: 34px;
}
.mg-group:last-child { margin-bottom: 0; }
.mg-group__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 27px;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 14px;
}
.mg-list { list-style: none; margin: 0; padding: 0; }
.mg-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
}
.mg-item__name {
  font-family: var(--ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink-muted);
  flex: 0 1 auto;
}
.mg-item__dots {
  flex: 1 1 auto;
  min-width: 20px;
  border-bottom: 1.5px dotted rgba(26,26,26,0.32);
  transform: translateY(-5px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 980px) {
  .menu-section__inner { grid-template-columns: 1fr; }
  .menu-section__content { order: 1; }
  .menu-section__photo { order: 2; min-height: 300px; max-height: 440px; }
  .menu-section__content { padding: 52px 28px; }
}
@media (max-width: 620px) {
  .menu-hero { min-height: 52vh; padding: 120px 20px 64px; }
  .menu-section { padding: 45px 0px 0px; }
  .menu-section__content { padding: 5px 20px 40px 20px; }
  .menu-section__title { margin-bottom: 38px; }
  .mg-groups { columns: 1; }
  .mg-group__title { font-size: 24px; }
  .site-header__logo-white { display: none; }
  .mg-item__name { font-size: 15px; }
  .cat-nav a { font-size: 12px; font-weight: 600; letter-spacing: initial; padding: 14px 14px; }
}
