﻿/* ── menu.css — Europa Menu Page ── */

/* === MENU PAGE === */
/* Page-specific styles. Prefix: mn-. Map: PROJECT_MAP.md · Rules: CLAUDE.md */

/* ── Page-level dark canvas ── */
.page-menu {
  background: #080202;
  color: var(--cream, #EFE2CF);
}

.page-menu main {
  background: #080202;
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.mn-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: stretch;
  background: #080202;
  overflow: hidden;
}

/* Right-side photo panel */
.mn-hero-photo {
  position: absolute;
  inset: 80px 0 0 22%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Gradient vignette: cinematic wide fade from dark left into photo + bottom fade */
.mn-hero-photo-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      #080202 0%,
      #080202 6%,
      rgba(8,2,2,0.93) 18%,
      rgba(8,2,2,0.72) 32%,
      rgba(8,2,2,0.35) 50%,
      rgba(8,2,2,0.08) 68%,
      transparent 82%
    ),
    linear-gradient(
      to top,
      #080202 0%,
      rgba(8,2,2,0.75) 14%,
      rgba(8,2,2,0.2) 30%,
      transparent 48%
    );
}

/* Left text container — mirrors header-inner: page-width handles centering,
   padding overridden to 0 so brand left edge aligns with hero text */
.mn-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

.mn-hero-content {
  width: min(52%, 560px);
  padding: clamp(10rem, 20vh, 16rem) 0 clamp(3rem, 8vh, 6rem);
  margin-left: 0;
  transform: none;
}

/* Eyebrow */
.mn-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(201,169,110,0.65);
  margin: 0 0 1.1rem;
  text-transform: uppercase;
}

/* Big title — 10% reduction applied across all heroes for visual unity */
.mn-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.15rem, 6.3vw, 5.85rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--cream, #EFE2CF);
  margin: 0 0 1.4rem;
  text-transform: uppercase;
}

/* Gold rule */
.mn-hero-rule {
  display: block;
  width: 4rem;
  height: 1px;
  background: linear-gradient(to right, #c9a96e, rgba(201,169,110,0.2));
  margin-bottom: 1.4rem;
}

/* Hero body text — Inter for clean readability */
.mn-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.93rem, 1.5vw, 1.05rem);
  font-style: normal;
  font-weight: 400;
  color: rgba(239,226,207,0.58);
  line-height: 1.74;
  max-width: 38ch;
  margin: 0 0 2.2rem;
}


/* ════════════════════════════════════════════
   MENU BODY
════════════════════════════════════════════ */
.mn-body {
  background: #080202;
  padding: clamp(1.125rem, 2.25vw, 1.875rem) 0 clamp(3rem, 6vw, 5.25rem);
}

/* Cards span full width of the page-width container —
   same horizontal boundary as header logo / phone number */
.mn-body .page-width {
  padding-left: 0;
  padding-right: 0;
}

.mn-section {
  margin-bottom: clamp(2.625rem, 4.5vw, 4.125rem);
}

.mn-section:last-child {
  margin-bottom: 0;
}

/* Section header: gold label + horizontal rule */
.mn-section-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.mn-section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a96e;
  white-space: nowrap;
  flex-shrink: 0;
}

.mn-section-rule {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201,169,110,0.35), rgba(201,169,110,0.04));
}

/* ════════════════════════════════════════════
   GRID WRAPPERS
════════════════════════════════════════════ */
.mn-grid-wrap {
  /* thin gold divider lines between cells */
  background: rgba(201,169,110,0.18);
  border: 1px solid rgba(201,169,110,0.18);
}

.mn-grid {
  display: grid;
  gap: 1px;
}

.mn-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mn-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mn-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ════════════════════════════════════════════
   CARD
════════════════════════════════════════════ */
.mn-card {
  display: flex;
  flex-direction: row;
  background: #080202;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  min-height: 180px;
  transition: background 250ms ease;
}

.mn-card:hover {
  background: #0d0404;
}

/* Text side (left) */
.mn-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.5rem 1.5rem;
  min-width: 0;
}

.mn-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream, #EFE2CF);
  margin: 0 0 0.55rem;
  line-height: 1.15;
}

.mn-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(239,226,207,0.45);
  line-height: 1.55;
  margin: 0 0 1.4rem;
  letter-spacing: 0.01em;
}

/* CTA "VIEW MENU →" */
.mn-card-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(239,226,207,0.4);
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 250ms ease, border-color 250ms ease;
  align-self: flex-start;
}

.mn-card:hover .mn-card-cta {
  color: #c9a96e;
  border-bottom-color: rgba(201,169,110,0.5);
}

/* Image side (right) */
.mn-card-img {
  width: 38%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

/* Gradient fade on the left edge of the image into card background */
.mn-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #080202 0%,
    rgba(8,2,2,0.65) 20%,
    rgba(8,2,2,0.2) 45%,
    transparent 65%
  );
  z-index: 1;
  pointer-events: none;
}

.mn-card:hover .mn-card-img {
  transform: scale(1.05);
}

/* Gathering cards (2-col) — slightly taller image area */
.mn-card--gathering .mn-card-img {
  width: 42%;
}

.mn-card--gathering {
  min-height: 220px;
}

/* ════════════════════════════════════════════
   DESKTOP  (≥ 768px)
════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Match body content to hero editorial indent — same margin both sides */
  .mn-body .page-width {
    width: auto;
    max-width: none;
    margin-left: clamp(2rem, 4vw, 4rem);
    margin-right: clamp(2rem, 4vw, 4rem);
  }

}

/* ════════════════════════════════════════════
   MOBILE  (≤ 767px)
════════════════════════════════════════════ */
/* === MOBILE: MENU (base layout) === */
/* NB: a SECOND mobile block follows — "MOBILE: MENU - CINEMATIC OVERRIDES" — which
   loads later and overrides parts of this one. Edit the right block. */
@media (max-width: 767px) {

  /* Hero: stack vertically, photo behind text */
  .mn-hero {
    min-height: 60svh;
    align-items: center;
  }

  .mn-hero-photo {
    inset: 0 0 0 30%;
    background-position: center center;
  }

  .mn-hero-photo-vignette {
    background:
      linear-gradient(to right,
        rgba(8,2,2,0.95) 0%,
        rgba(8,2,2,0.90) 25%,
        rgba(8,2,2,0.72) 38%,
        rgba(8,2,2,0.38) 52%,
        rgba(8,2,2,0.10) 66%,
        transparent 80%
      ),
      linear-gradient(to bottom,
        rgba(8,2,2,0.80) 0%,
        rgba(8,2,2,0.30) 16%,
        transparent 34%
      ),
      linear-gradient(to top,
        #080202 0%,
        rgba(8,2,2,0.97) 18%,
        rgba(8,2,2,0.72) 38%,
        rgba(8,2,2,0.30) 62%,
        transparent 78%
      );
  }

  .mn-hero-inner {
    align-items: flex-start;
    padding-bottom: 0;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .mn-hero-content {
    width: 58%;
    padding: 2rem 0 2.5rem;
  }

  .mn-hero-title {
    font-size: clamp(3.1rem, 13vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .mn-hero-sub {
    font-size: 0.96rem;
    line-height: 1.76;
    color: rgba(239,226,207,0.82);
    max-width: 28ch;
    text-shadow: 0 1px 12px rgba(0,0,0,0.65), 0 2px 28px rgba(0,0,0,0.45);
  }

  /* Grid: single column on mobile */
  .mn-grid--3,
  .mn-grid--4,
  .mn-grid--2 {
    grid-template-columns: 1fr;
  }

  /* Card: text top, image bottom */
  .mn-card {
    flex-direction: column;
    min-height: auto;
  }

  .mn-card-img,
  .mn-card--gathering .mn-card-img {
    width: 100%;
    height: 160px;
    order: -1; /* image on top */
  }

  .mn-card-text {
    padding: 1.25rem 1rem 1.25rem;
  }

  .mn-card-title {
    font-size: 1.1rem;
  }

  .mn-card-desc {
    margin-bottom: 0.9rem;
  }

  .mn-card--gathering {
    min-height: auto;
  }

  .mn-section-head {
    margin-bottom: 1rem;
  }

  .mn-body {
    padding: 2rem 0 3.5rem;
  }

  .mn-body .page-width {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
  }

  .mn-section {
    margin-bottom: 2.5rem;
  }
}

/* ════════════════════════════════════════════
   MOBILE OVERRIDES  (≤ 767px)
   Menu cinematic upgrade
════════════════════════════════════════════ */
/* === MOBILE: MENU - CINEMATIC OVERRIDES (compact hero / stronger vignette / cards) === */
/* Second mobile block (loads after the base one above) — overrides on purpose. */
@media (max-width: 767px) {

  /* Hero: compact + stronger vignette */
  .mn-hero {
    min-height: 60svh;
  }
  .mn-hero-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .mn-hero-content {
    padding: 2rem 0 1.5rem;
  }
  .mn-eyebrow { display: none; }
  .mn-hero-sub {
    font-size: 1.12rem;
    line-height: 1.72;
    max-width: 18rem;
    margin-bottom: 7vw;
    color: rgba(239,226,207,0.82);
    text-shadow: 0 1px 12px rgba(0,0,0,0.65), 0 2px 28px rgba(0,0,0,0.45);
  }
  .mn-hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 7vw;
  }
  .mn-hero-photo-vignette {
    background:
      linear-gradient(to top,
        #080202 0%,
        rgba(8,2,2,0.5) 4%,
        rgba(8,2,2,0.5) 10%,
        rgba(8,2,2,0.45) 26%,
        rgba(8,2,2,0.25) 50%,
        rgba(8,2,2,0.075) 74%,
        transparent 100%
      );
  }

  /* Cards — cinematic: image becomes absolute background */
  .mn-body {
    padding: 3rem 0 5rem;
  }
  .mn-body .page-width {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .mn-section {
    margin-bottom: 2.25rem;
  }
  .mn-section-head {
    margin-bottom: 1.25rem;
  }

  /* Remove gold borders — cards get individual spacing */
  .mn-grid-wrap {
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .mn-grid,
  .mn-grid--2,
  .mn-grid--3,
  .mn-grid--4 {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  /* Cinematic overlay card */
  .mn-card {
    position: relative;
    min-height: 22vh;
    border-radius: 20px;
    overflow: hidden;
    background: #0d0303;
    flex-direction: column;
  }
  .mn-card:hover {
    background: #0d0303;
  }
  .mn-card--gathering {
    min-height: 28vh;
  }

  /* Image: full-bleed absolute background */
  .mn-card-img,
  .mn-card--gathering .mn-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    order: 0;
    transform: none;
    transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .mn-card:active .mn-card-img {
    transform: scale(1.03);
  }

  /* Stronger cinematic overlay: dark left, photo right */
  .mn-card-img::before {
    background:
      linear-gradient(to right,
        rgba(8,2,2,0.96) 0%,
        rgba(8,2,2,0.78) 30%,
        rgba(8,2,2,0.42) 60%,
        rgba(8,2,2,0.1) 100%
      );
  }

  /* Bottom scrim */
  .mn-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,2,2,0.55) 0%, transparent 55%);
    z-index: 0;
    pointer-events: none;
  }

  /* Text floats above */
  .mn-card-text {
    position: relative;
    z-index: 2;
    background: transparent;
    flex: 1;
    padding: 1.75rem 1.5rem;
    justify-content: center;
    min-width: 0;
  }
  .mn-card-title {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    color: var(--cream, #EFE2CF);
    margin-bottom: 0.4rem;
    text-shadow: 0 1px 16px rgba(0,0,0,0.5);
  }
  .mn-card-desc {
    color: rgba(239,226,207,0.52);
    margin-bottom: 1rem;
  }
  .mn-card-cta {
    color: rgba(201,169,110,0.72);
    border-bottom-color: transparent;
  }
}
