/* =========================================
   MITTI & MIST — MENU.CSS
   Mood: Clean, editorial, grid-forward
   Palette: Off-white paper, espresso type, terra accents
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #F9F5EE;
  --paper-dark: #EDE5D4;
  --terra: #C4622D;
  --terra-light: #E07A45;
  --espresso: #1A0F0A;
  --espresso-mid: #3D2314;
  --fog: #7A6E68;
  --white: #FDFAF5;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--espresso); font-family: var(--font-body); overflow-x: hidden; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(249,245,238,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,15,10,0.08);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--espresso); text-decoration: none; letter-spacing: 0.02em;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; font-weight: 400; color: var(--espresso-mid);
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--espresso); transition: all 0.3s; }

/* ── MENU HERO ── */
.menu-hero {
  padding-top: 80px; background: var(--espresso); position: relative; overflow: hidden;
}
.mh-bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #1A0F0A 0%, #3D2314 60%, #6B3A20 100%);
}
.mh-bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1' fill='white'/%3E%3C/svg%3E");
}
.mh-content {
  position: relative; z-index: 2; padding: 5rem 4rem 3rem;
  text-align: center;
  animation: fadeUp 0.8s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.mh-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 1rem; display: block;
}
.mh-content h1 {
  font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300; color: var(--white); line-height: 1; margin-bottom: 1rem;
}
.mh-sub {
  font-size: 1rem; color: rgba(255,255,255,0.5); font-weight: 300;
}
.mh-filter-bar {
  position: relative; z-index: 2; display: flex; gap: 0.5rem;
  padding: 0 4rem 2.5rem; justify-content: center; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.filter-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6); padding: 0.55rem 1.25rem; border-radius: 100px;
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.06em;
  cursor: pointer; transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--terra); color: var(--terra); }
.filter-btn.active { background: var(--terra); border-color: var(--terra); color: var(--white); }

/* ── MENU MAIN ── */
.menu-main { padding: 0 4rem; max-width: 1100px; margin: 0 auto; }

/* ── MENU SECTION ── */
.menu-section { padding: 5rem 0 3rem; }
.ms-header { margin-bottom: 2.5rem; }
.ms-label {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.ms-label i { font-size: 1rem; color: var(--terra); }
.ms-label h2 {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: var(--espresso);
}
.ms-note { font-size: 0.85rem; color: var(--fog); line-height: 1.6; max-width: 550px; }

/* ── MENU GRID ── */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.menu-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.5rem 1.25rem; border-bottom: 1px solid var(--paper-dark);
  gap: 1rem; transition: background 0.2s;
  opacity: 0; transform: translateY(20px);
}
.menu-item.visible { animation: fadeUp 0.5s ease forwards; }
.menu-item:hover { background: rgba(196,98,45,0.04); }
.featured-item { background: rgba(196,98,45,0.05); border-left: 2px solid var(--terra); }
.featured-item:hover { background: rgba(196,98,45,0.08); }
.mi-left { flex: 1; }
.mi-left h4 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.mi-left p { font-size: 0.82rem; color: var(--fog); line-height: 1.6; }
.mi-tag {
  font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--terra); color: var(--white);
  padding: 0.15rem 0.5rem; border-radius: 1px; font-weight: 500;
}
.mi-price {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--terra);
  font-weight: 400; white-space: nowrap; flex-shrink: 0;
}
.mi-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; color: #4A8B4A; background: rgba(74,139,74,0.1);
  padding: 0.2rem 0.5rem; border-radius: 1px; margin-top: 0.5rem;
}

/* Full-width brunch item */
.menu-item-full {
  grid-column: 1 / -1; padding: 0; flex-direction: column;
  overflow: hidden; border-radius: 2px; border: none;
  margin-bottom: 0.5rem; box-shadow: 0 4px 20px rgba(26,15,10,0.08);
}
.mif-img { height: 220px; background-size: cover; background-position: center; }
.mif-img-1 {
  background-color: #C4622D;
  background-image: radial-gradient(ellipse at 40% 30%, #E08050 0%, #8B3A15 100%);
}
.mif-body {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.5rem; background: var(--white); gap: 1rem;
}

/* ── MENU DIVIDER ── */
.menu-divider {
  height: 1px; background: linear-gradient(to right, transparent, var(--paper-dark), transparent);
  margin: 0 -4rem;
}

/* ── MENU CTA ── */
.menu-cta-section {
  background: var(--terra); padding: 5rem 4rem; text-align: center;
  margin-top: 3rem;
}
.mcs-inner p {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 0.75rem;
}
.mcs-inner h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--white); margin-bottom: 2rem;
}
.btn-primary {
  display: inline-block; background: var(--white); color: var(--terra);
  padding: 0.9rem 2.5rem; border-radius: 2px; text-decoration: none;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; transition: background 0.3s, transform 0.3s;
}
.btn-primary:hover { background: var(--espresso); color: var(--white); transform: translateY(-2px); }

/* ── FOOTER ── */
.footer { background: var(--espresso); color: rgba(245,240,232,0.6); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding: 4rem 4rem 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--terra); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.5); text-decoration: none; transition: all 0.3s; font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--terra); color: var(--terra); }
.footer-links h4, .footer-contact h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s;
}
.footer-links a:hover { color: var(--terra); }
.footer-contact p, .footer-contact a {
  font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.7;
  text-decoration: none; display: block;
}
.footer-contact a:hover { color: var(--terra); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 1.25rem 4rem; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: rgba(245,240,232,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 0.85rem 2rem; }
  .menu-main { padding: 0 2rem; }
  .mh-content, .mh-filter-bar { padding-left: 2rem; padding-right: 2rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-divider { margin: 0 -2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 2rem; }
  .footer-bottom { padding: 1rem 2rem; flex-direction: column; gap: 0.4rem; }
  .menu-cta-section { padding: 4rem 2rem; }
}
@media (max-width: 640px) {
  .nav { padding: 0.85rem 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--espresso); flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white) !important; }
  .mh-content { padding: 3.5rem 1.5rem 2rem; }
  .mh-filter-bar { padding: 0 1.5rem 2rem; }
  .menu-main { padding: 0 1.25rem; }
}
