/* =========================================
   LA PIZZ À PAPA - Stylesheet
   Palette italienne raffinée
   ========================================= */

:root {
  /* Palette refined Italian */
  --cream: #FBF7F0;
  --cream-2: #F4EEE2;
  --ivory: #FFFFFF;
  --charcoal: #1F1F1F;
  --charcoal-soft: #2C2C2C;
  --text: #3A3A3A;
  --text-soft: #6B6B6B;
  --text-muted: #9A9A9A;

  /* Italian colors - refined */
  --green: #2D4A3E;        /* deep forest green */
  --green-light: #3F6651;
  --green-dark: #1F3429;
  --red: #9B2C2C;          /* wine red, not bright */
  --red-light: #B53D3D;
  --red-dark: #6F1C1C;
  --terracotta: #C26543;
  --gold: #B8923C;
  --gold-light: #D4B05F;

  --border: #E5DDD0;
  --border-light: #EFEAE0;

  --shadow-sm: 0 2px 8px rgba(31, 31, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 31, 31, 0.10);
  --shadow-lg: 0 20px 60px rgba(31, 31, 31, 0.18);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Caveat', cursive;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --container: 1200px;
  --container-narrow: 960px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: all .25s ease; }
a:hover { color: var(--red); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
}
em { font-style: italic; color: var(--green); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.eyebrow.gold { color: var(--gold); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 600px;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
}
.section-head { margin-bottom: 56px; }
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.section { padding: 100px 0; }
@media (max-width: 768px) {
  .section { padding: 70px 0; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  transition: all .3s cubic-bezier(.2,.7,.3,1);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--ivory);
  box-shadow: 0 6px 20px rgba(155, 44, 44, 0.25);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(155, 44, 44, 0.35);
}
.btn-secondary {
  background: var(--ivory);
  color: var(--charcoal);
}
.btn-secondary:hover {
  background: var(--cream);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-dark:hover {
  background: #000;
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--ivory);
}
.btn-large {
  padding: 18px 40px;
  font-size: 16px;
}
.btn-block {
  display: flex;
  width: 100%;
}
.btn-phone {
  background: var(--green);
  color: var(--ivory);
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 50px;
}
.btn-phone:hover {
  background: var(--green-dark);
  color: var(--ivory);
  transform: translateY(-1px);
}
.phone-icon { font-size: 14px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled,
body.menu-page .site-header {
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(229, 221, 208, 0.5);
  box-shadow: var(--shadow-sm);
}

/* Quand le header est transparent (en haut de l'accueil, sur la vidéo)
   - le logo devient blanc (pour rester lisible sur la vidéo sombre)
   - les liens de nav deviennent blancs */
body:not(.menu-page) .site-header:not(.scrolled) .main-nav a {
  color: var(--ivory);
}
body:not(.menu-page) .site-header:not(.scrolled) .main-nav a::after {
  background: var(--gold-light);
}
body:not(.menu-page) .site-header:not(.scrolled) .main-nav a:hover {
  color: var(--gold-light);
}
body:not(.menu-page) .site-header:not(.scrolled) .burger span {
  background: var(--ivory);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo-wrap { flex-shrink: 0; }
.logo {
  height: 60px;
  width: auto;
  transition: filter .3s ease;
}
/* Logo texte (utilisé en remplacement de l'image pour un rendu net) */
.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-decoration: none;
  transition: color .3s ease;
}
.logo-text .lt-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  font-style: italic;
  color: var(--green);
  letter-spacing: .3px;
  white-space: nowrap;
}
.logo-text .lt-tag {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 5px;
}
/* Sur le header transparent (au-dessus de la vidéo) → logo en blanc/or */
body:not(.menu-page) .site-header:not(.scrolled) .logo-text .lt-name {
  color: var(--ivory);
}
body:not(.menu-page) .site-header:not(.scrolled) .logo-text .lt-tag {
  color: var(--gold-light);
}
@media (max-width: 480px) {
  .logo-text .lt-name { font-size: 1.25rem; }
  .logo-text .lt-tag { font-size: 8px; letter-spacing: 2.5px; }
}
.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width .3s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--red);
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: 100%;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: transform .3s ease, opacity .3s ease;
}

/* Body padding for fixed header */
body { padding-top: 78px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: calc(100vh - 78px);
  min-height: 600px;
  max-height: 900px;
  margin-top: -78px;
  margin-bottom: 0;
  padding-top: 78px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,31,31,0.3) 0%, rgba(31,31,31,0.5) 60%, rgba(31,31,31,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--ivory);
  text-align: center;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(212, 176, 95, 0.5);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.2);
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--ivory);
  margin: 0 0 24px;
  letter-spacing: -1.5px;
}
.hero-title .line-1 { display: block; }
.hero-title .line-2 {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-icon { font-size: 18px; }
.meta-divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.3);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ===== QUALITY SECTION ===== */
.quality {
  background: var(--cream);
  position: relative;
}
.quality::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(31,31,31,0) 0%, rgba(31,31,31,0) 100%);
  pointer-events: none;
}
.quality-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quality-text .section-title { margin-bottom: 24px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value {
  padding: 24px;
  background: var(--ivory);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all .3s ease;
}
.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.value-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.value h3 {
  font-size: 1.05rem;
  font-family: var(--font-serif);
  margin-bottom: 6px;
  color: var(--green);
}
.value p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}
.quality-images {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 600px;
}
.img-tall {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.img-square {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  align-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
}
.img-tall img, .img-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.img-tall:hover img, .img-square:hover img { transform: scale(1.05); }

/* Decorative element */
.quality-images::before {
  content: "★";
  position: absolute;
  top: -32px;
  right: -8px;
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  font-family: serif;
}

/* ===== SPECIALITIES ===== */
.specialities {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.speciality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.speciality-card {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all .4s ease;
  border: 1px solid var(--border-light);
}
.speciality-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.speciality-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-2);
}
.speciality-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.speciality-card:hover .speciality-img img { transform: scale(1.06); }
.speciality-body { padding: 32px; }
.speciality-body h3 {
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 12px;
}
.speciality-body .ingredients {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.speciality-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(184, 146, 60, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

/* ===== GALLERY ===== */
.gallery-section {
  background: var(--cream);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--cream-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease, filter .4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-1 { grid-column: span 2; grid-row: span 2; }
.gallery-2 { grid-column: span 1; grid-row: span 1; }
.gallery-3 { grid-column: span 1; grid-row: span 1; }
.gallery-4 { grid-column: span 1; grid-row: span 1; }
.gallery-5 { grid-column: span 1; grid-row: span 1; }
.gallery-6 { grid-column: span 2; grid-row: span 1; display: none; }

/* ===== CTA MENU BANNER ===== */
.cta-menu {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  text-align: center;
}
.cta-menu-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--charcoal);
  z-index: 0;
}
.cta-menu-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 74, 62, 0.85) 0%, rgba(31, 31, 31, 0.90) 100%);
  z-index: 1;
}
.cta-menu-inner {
  position: relative;
  z-index: 2;
  color: var(--ivory);
}
.cta-menu h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--ivory);
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-menu p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}
.cta-menu p strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ===== ORDER SECTION ===== */
.order-section {
  background: var(--cream-2);
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.order-card {
  background: var(--ivory);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .4s ease;
  border: 2px solid transparent;
}
.order-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.order-card-featured {
  border-color: var(--green);
  background: var(--green);
  color: var(--ivory);
}
.order-card-featured:hover {
  border-color: var(--green-dark);
  transform: translateY(-6px);
}
.order-card-featured h3,
.order-card-featured p { color: var(--ivory); }
.order-card-featured .order-note { color: rgba(255,255,255,0.7); }
.order-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.order-card h3 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.order-card p {
  color: var(--text-soft);
  margin-bottom: 28px;
  font-size: 15px;
}
.order-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.info-block {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.info-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.info-row strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 4px;
}
.info-row p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}
.info-row a {
  color: var(--text);
  border-bottom: 1px dotted var(--text-muted);
}
.info-row a:hover { color: var(--red); }
.contact-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.contact-map {
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.contact-map iframe { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
/* Footer brand : texte stylisé (plus élégant et évite tout problème
   de fond blanc sur les PNG non transparents) */
.footer-brand-text {
  display: block;
  margin-bottom: 12px;
}
.footer-brand-text .b-line1 {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--ivory);
  letter-spacing: .5px;
  line-height: 1;
}
.footer-brand-text .b-line2 {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1;
  margin-top: 4px;
}
.footer-tagline {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: var(--gold-light);
  line-height: 1.4;
  margin-top: 8px;
}
.footer-col h4 {
  font-size: 1rem;
  color: var(--ivory);
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.footer-col p, .footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  z-index: 90;
  padding: 8px;
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(31,31,31,0.08);
}
.sticky-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.sticky-call {
  background: var(--red);
  color: var(--ivory);
}
.sticky-menu {
  background: var(--green);
  color: var(--ivory);
}

/* =========================================
   MENU PAGE STYLES
   ========================================= */

.menu-page { background: var(--cream); }

.menu-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  position: relative;
}
.menu-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.menu-hero-inner { max-width: var(--container-narrow); margin: 0 auto; }
.menu-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
  font-style: italic;
}
.menu-hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 40px;
}
.menu-hero-sub em {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--red);
  font-style: italic;
}
.menu-formats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.format-card {
  background: var(--ivory);
  padding: 20px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 200px;
}
.format-featured {
  background: var(--green);
  color: var(--ivory);
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(45, 74, 62, 0.25);
}
.format-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
}
.format-size {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
}
.format-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 4px;
}
.format-featured .format-price { color: var(--gold-light); }
.menu-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Menu Nav (sticky tabs) */
.menu-nav {
  position: sticky;
  top: 78px;
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  padding: 16px 0;
}
.menu-nav-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.menu-nav-scroll::-webkit-scrollbar { display: none; }
.menu-nav-scroll a {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid var(--border);
  background: var(--ivory);
  transition: all .25s ease;
  letter-spacing: .3px;
}
.menu-nav-scroll a:hover, .menu-nav-scroll a.active {
  background: var(--green);
  color: var(--ivory);
  border-color: var(--green);
}

/* Menu content */
.menu-content { padding: 80px 0; }
.menu-category { margin-bottom: 80px; scroll-margin-top: 160px; }
.menu-category:last-of-type { margin-bottom: 40px; }

.category-head {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.category-deco {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid var(--gold);
  width: 32px;
  height: 32px;
  line-height: 30px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.category-deco.gold {
  font-size: 16px;
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184, 146, 60, 0.08);
}
.category-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--green);
  font-style: italic;
  margin-bottom: 8px;
}
.category-sub {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 56px;
  max-width: 1000px;
  margin: 0 auto;
}
.menu-grid-drinks {
  grid-template-columns: repeat(2, 1fr);
}

.menu-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
}
.menu-item:last-child { border-bottom: none; }
.item-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.item-head h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  flex-shrink: 0;
  font-style: italic;
}
.item-tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 6px;
}
.dots {
  flex: 1;
  border-bottom: 2px dotted var(--border);
  position: relative;
  top: -4px;
}
.price {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  font-style: italic;
}
.item-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
  padding-right: 60px;
}

/* Featured speciality items */
.category-featured .category-head h2 { color: var(--gold); }
.menu-item-featured {
  background: linear-gradient(180deg, rgba(184, 146, 60, 0.04) 0%, rgba(184, 146, 60, 0.08) 100%);
  border: 1px solid rgba(184, 146, 60, 0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.menu-item-featured:last-child { border-bottom: 1px solid rgba(184, 146, 60, 0.2); }
.menu-item-featured h3 { color: var(--green); }
.menu-item-featured .price { color: var(--gold); }
.menu-item-featured .item-desc { padding-right: 0; }

.menu-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 60px;
  font-style: italic;
}

/* Menu order CTA at bottom */
.menu-order-cta {
  background: var(--green);
  color: var(--ivory);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.menu-order-cta::before {
  content: "🍕";
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu-order-cta h2 {
  color: var(--ivory);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
  position: relative;
}
.menu-order-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
}
.order-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1024px) {
  .quality-grid { grid-template-columns: 1fr; gap: 60px; }
  .quality-images { height: 500px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 200px 200px;
  }
  .gallery-1 { grid-column: span 3; grid-row: 1; }
  .gallery-2, .gallery-3, .gallery-4 { grid-column: span 1; grid-row: 2; }
  .gallery-5, .gallery-6 { display: none; }
}

@media (max-width: 880px) {
  .main-nav, .btn-phone .phone-text { display: none; }
  .btn-phone { padding: 10px 14px; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--ivory);
    box-shadow: var(--shadow-md);
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  .main-nav.open a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
  }
  .main-nav.open li:last-child a { border-bottom: none; }
}

@media (max-width: 768px) {
  body { padding-top: 70px; }
  .header-inner { height: 70px; }
  .logo { height: 50px; }
  .hero { min-height: 560px; height: 90vh; max-height: 720px; }
  .hero-meta {
    gap: 10px;
    flex-direction: column;
  }
  .meta-divider { display: none; }
  .speciality-grid, .order-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-grid { grid-template-columns: 1fr; gap: 0 0; }
  .menu-grid-drinks { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }
  .footer-brand { grid-column: span 2; }
  .quality-images { height: 400px; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 160px 160px 160px;
  }
  .gallery-1 { grid-column: span 2; grid-row: 1; }
  .gallery-2 { grid-column: 1; grid-row: 2; }
  .gallery-3 { grid-column: 2; grid-row: 2; }
  .gallery-4 { grid-column: 1; grid-row: 3; }
  .gallery-5 { grid-column: 2; grid-row: 3; display: block; }
  .menu-formats { flex-direction: column; gap: 12px; }
  .format-card { width: 100%; max-width: 320px; }
  .menu-nav { top: 70px; }
  .menu-category { scroll-margin-top: 140px; }
  .item-desc { padding-right: 0; }
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 64px; }
  .menu-content { padding: 60px 0 80px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }
  .order-card { padding: 36px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ===== FADE-IN ON SCROLL ===== */
.section, .menu-category, .speciality-card, .value, .order-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.section.in-view, .menu-category.in-view, .speciality-card.in-view,
.value.in-view, .order-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Hero is always visible immediately */
.hero { opacity: 1 !important; transform: none !important; }

/* Image placeholder fallback (when photos not yet provided) */
img:not([src]), img[src=""], img[src*="images/"]:not([data-loaded]) {
  background: linear-gradient(135deg, var(--cream-2) 0%, #E8DFD0 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .section, .menu-category, .speciality-card, .value, .order-card {
    opacity: 1; transform: none;
  }
}
