/* ============================================================
   LONGDON FOODS — MENU PAGE REDESIGN
   Matches: SWB-inspired dark editorial theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Permanent+Marker&display=swap');

@font-face {
  font-family: 'TT Trailers';
  src: url('../TT Trailers Trial Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ── Base ────────────────────────────────────────────────────── */
.menu-page {
  background: #101820;
  color: #fff;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.menu-hero {
  position: relative;
  background: #101820;
  padding: 200px 60px 80px;
  text-align: center;
  overflow: hidden;
}

.menu-hero__sub {
  font-family: 'Permanent Marker', cursive;
  color: #f7f33a;
  font-size: clamp(26px, 3.5vw, 48px);
  line-height: 1;
  transform: rotate(-6deg);
  display: inline-block;
  margin-bottom: 10px;
}

.menu-hero__title {
  font-family: 'TT Trailers', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(90px, 16vw, 240px);
  line-height: 0.85;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.menu-hero__desc {
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .menu-hero {
    padding: 160px 24px 60px;
  }
}

/* ============================================================
   CATEGORY TABS
   ============================================================ */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 24px 60px;
}

.menu-tab {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.menu-tab:hover {
  border-color: #f7f33a;
  color: #f7f33a;
}

.menu-tab.active {
  border-color: #f7f33a;
  background: #f7f33a;
  color: #101820;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.menu-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ── Single Card (Clean White Rounded Modern Style) ───────── */
.menu-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

/* Header Text (Title + Subtitle) */
.menu-card__header {
  padding: 4px 4px 0 4px;
}

.menu-card__name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 23px);
  color: #111417;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.menu-card__sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #727881;
  margin: 4px 0 0 0;
  line-height: 1.3;
}

/* Inner Media Box (Rounded Image with bottom overlay) */
.menu-card__media {
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1 / 0.95;
  background: #1b242e;
  width: 100%;
}

.menu-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-card:hover .menu-card__media img {
  transform: scale(1.06);
}

/* Bottom Dark Gradient inside Media for high contrast */
.menu-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Price + Arrow Overlay inside Image */
.menu-card__overlay {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.menu-card__price {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.2vw, 30px);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.menu-card__action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #111417;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.menu-card__action:hover {
  transform: scale(1.12);
  background: #f7f33a;
  color: #101820;
}

/* ============================================================
   FULL-WIDTH BANNER CTA (between cards)
   ============================================================ */
.menu-banner {
  grid-column: 1 / -1;
  background: #0a1016;
  border-radius: 20px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid rgba(255,255,255,0.04);
}

.menu-banner__text {
  flex: 1;
}

.menu-banner__title {
  font-family: 'TT Trailers', 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 12px 0;
}

.menu-banner__desc {
  font-size: clamp(14px, 1.4vw, 18px);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin: 0;
}

.menu-banner__btn {
  display: inline-block;
  background: #f7f33a;
  color: #101820;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.25s, transform 0.2s;
  flex-shrink: 0;
}

.menu-banner__btn:hover {
  background: #fff;
  color: #101820;
  text-decoration: none;
  transform: scale(1.04);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 0 30px 80px;
  }
}

@media (max-width: 900px) {
  .menu-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px 60px;
    max-width: 420px;
  }

  .menu-card {
    border-radius: 24px;
    padding: 18px;
  }

  .menu-card__media {
    border-radius: 18px;
    margin-top: 14px;
  }

  .menu-card__overlay {
    bottom: 14px;
    left: 14px;
    right: 14px;
  }

  .menu-card__action {
    width: 40px;
    height: 40px;
  }
}
