/* ═══════════════════════════════════════════════════════
   MENU PAGE — The Saracen's Head Inn
   ═══════════════════════════════════════════════════════ */

/* ── Page Hero ── */
.menu-hero {
  position: relative;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  background: var(--ink);
  text-align: center;
  overflow: hidden;
}

.menu-hero__bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  background: url('../images/pub-front.jpg') center 30% / cover no-repeat;
  opacity: 0.2;
}

.menu-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, var(--ink) 100%);
}

.menu-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.menu-hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ale-light);
  margin-bottom: var(--space-sm);
  display: block;
}

.menu-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--cream);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.menu-hero__subtitle {
  font-size: var(--text-base);
  color: var(--parchment-dark);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Drinks Intro ── */
.menu-intro {
  background: var(--parchment);
  padding: var(--space-xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.menu-intro__text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.7;
}

/* ── Menu Tabs ── */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--parchment);
  padding: var(--space-md) var(--space-md) 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.menu-tab {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: none;
  padding: var(--space-sm) var(--space-md);
  position: relative;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
}

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ale);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

.menu-tab:hover {
  color: var(--ink);
}

.menu-tab--active {
  color: var(--ink);
}

.menu-tab--active::after {
  transform: scaleX(1);
}

/* ── Menu Panels ── */
.menu-panel {
  display: none;
  background: var(--parchment);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.menu-panel--active {
  display: block;
}

/* ── Notice ── */
.menu-notice {
  text-align: center;
  color: var(--stone);
  font-size: var(--text-sm);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* ── Category ── */
.menu-category {
  margin-bottom: var(--space-xl);
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--ink);
  text-align: center;
  margin-bottom: var(--space-xs);
}

.menu-category__line {
  width: 40px;
  height: 1px;
  background: var(--ale);
  margin: 0 auto var(--space-lg);
}

/* ── Menu Item ── */
.menu-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

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

.menu-item--spaced {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.menu-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
}

.menu-item__name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  flex: 1;
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item__desc {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-top: 0.2rem;
  line-height: 1.6;
}

/* ── Dietary Tags ── */
.menu-item__tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.menu-item__tag--v {
  color: var(--sage);
  background: rgba(107, 143, 113, 0.1);
}

.menu-item__tag--vg {
  color: var(--sage);
  background: rgba(107, 143, 113, 0.1);
}

/* ── Roast Note ── */
.menu-roast-note {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--stone);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0;
  border: 1px solid var(--border);
  line-height: 1.7;
}

/* ── Book CTA Section ── */
.menu-cta {
  padding: var(--space-2xl) 0;
}

/* ── Active Nav Link ── */
.nav__link--active {
  color: var(--ale-light) !important;
}

.nav__link--active::after {
  width: 100% !important;
  opacity: 0.3 !important;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .menu-hero {
    padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-lg);
  }

  .menu-tabs {
    gap: 0;
  }

  .menu-tab {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.65rem;
  }

  .menu-item__header {
    gap: var(--space-xs);
  }

  .menu-item__name {
    font-size: var(--text-sm);
  }

  .menu-item__price {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .menu-hero__title {
    font-size: var(--text-3xl);
  }

  .menu-category__title {
    font-size: var(--text-xl);
  }
}
