﻿/* ============================================================
   Casa Gusto — Menu Page
   Palette : vert #2E7D32 · rouge #C62828 · crème #FFF8F0 · or #F9A825
   ============================================================ */

/* ---- Variables ---- */
:root {
  --green:     #2E7D32;
  --green-dk:  #1B5E20;
  --green-lt:  #4CAF50;
  --red:       #C62828;
  --red-lt:    #E53935;
  --gold:      #F9A825;
  --cream:     #FFF8F0;
  --grad-main: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%);
  --grad-red:  linear-gradient(135deg, var(--red) 0%, #8B0000 100%);
  --dark:      #1a1a1a;
  --dark2:     #2c2c2c;
  --card-bg:   #ffffff;
  --text:      #2d2d2d;
  --muted:     #777;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 3px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
  --font-head: 'Pacifico', cursive;
  --font-body: 'Nunito', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding-bottom: 56px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(.55) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1) 0%,
    rgba(27,94,32,.4) 50%,
    rgba(0,0,0,.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 40px;
}

/* Bandelette italienne décorative */
.hero-italian-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #009246 33%, #ffffff 33%, #ffffff 66%, #CE2B37 66%);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 5rem);
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 3px 20px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.4);
  letter-spacing: .02em;
}

.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Badges horaires / halal */
.hero-info-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: .82rem;
  border-radius: 50px;
  padding: 6px 16px;
  letter-spacing: .03em;
  text-decoration: none;
}

.badge-hours {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 2px 12px rgba(249,168,37,.45);
}

.badge-halal {
  background: #e8f5e9;
  color: #1B5E20;
  border: 2px solid #a5d6a7;
}

.badge-uber {
  background: #000;
  color: #fff;
}

/* ---- HERO CTA BUTTONS ---- */
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: transform .2s, box-shadow .2s, filter .2s;
  white-space: nowrap;
}

.cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

.cta-tel  { background: var(--gold); color: #1a1a1a; box-shadow: 0 4px 18px rgba(249,168,37,.5); }
.cta-tel2 { background: var(--green); color: #fff; box-shadow: 0 4px 18px rgba(46,125,50,.45); }
.cta-fb   { background: #1877f2; color: #fff; box-shadow: 0 4px 18px rgba(24,119,242,.35); }
.cta-insta {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(220,39,67,.4);
}
.cta-tiktok { background: #010101; color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.cta-uber   { background: #06C167; color: #fff; box-shadow: 0 4px 18px rgba(6,193,103,.4); }
.cta-google { background: #fff; color: #3c4043; border: 1.5px solid #dadce0; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.cta-google svg { width: 18px; height: 18px; }

/* ---- HERO ADDRESS ---- */
.hero-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  color: rgba(255,255,255,.8);
  font-size: .84rem;
}

.hero-address svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
.addr-sep { opacity: .4; }

/* ---- NAV TABS ---- */
.nav-tabs-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.nav-tabs-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
}

.nav-tabs-scroll::-webkit-scrollbar { display: none; }

.nav-tab {
  flex-shrink: 0;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.65);
  border-radius: 50px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  letter-spacing: .03em;
}

.nav-tab:hover {
  border-color: var(--green-lt);
  color: #fff;
  background: rgba(76,175,80,.2);
}

.nav-tab.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 16px rgba(46,125,50,.45);
}

/* ---- MAIN WRAPPER ---- */
.menu-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}

/* ---- SECTION ---- */
.menu-section { display: none; animation: fadeUp .4s ease; }
.menu-section.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 28px;
}

.section-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--green);
}

.pizza-base-badge {
  display: inline-block;
  margin-top: 8px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
  padding: 4px 18px;
  border-radius: 50px;
  letter-spacing: .04em;
}

.section-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-top: 8px;
}

/* ---- PIZZA GRID (taille unique 33 cm) ---- */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
}

.pizza-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46,125,50,.1);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}

.pizza-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-main);
}

.pizza-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pizza-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.pizza-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.2;
}

.pizza-ingredients {
  color: var(--muted);
  font-size: .83rem;
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* Prix unique (33 cm) */
.pizza-price-single {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.pizza-size-tag {
  display: inline-block;
  background: rgba(46,125,50,.1);
  color: var(--green);
  font-weight: 800;
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(46,125,50,.25);
  letter-spacing: .04em;
}

.pizza-price-amount {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--red);
}

/* ---- BADGE ---- */
.item-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-halal { background: #e8f5e9; color: var(--green); border: 1px solid #a5d6a7; }
.badge-vege  { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; }
.badge-spec  { background: rgba(198,40,40,.08); color: var(--red); border: 1px solid rgba(198,40,40,.25); }

/* ---- SUPPLEMENTS ---- */
.supplements-box {
  margin-top: 20px;
  background: rgba(46,125,50,.05);
  border: 1.5px dashed rgba(46,125,50,.3);
  border-radius: var(--radius);
  padding: 14px 18px;
}

.supplements-title {
  font-weight: 800;
  font-size: .85rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.supplement-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.supplement-row:last-child { border-bottom: none; }
.suppl-name { font-weight: 600; font-size: .9rem; }

.suppl-price {
  font-weight: 700;
  font-size: .88rem;
  color: var(--red);
}

/* ---- SIMPLE LIST ---- */
.simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.simple-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(46,125,50,.08);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}

.simple-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-main);
}

.simple-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.simple-left { flex: 1; padding-left: 6px; }

.simple-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.simple-ingredients {
  color: var(--muted);
  font-size: .82rem;
  font-style: italic;
}

.simple-price {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--red);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- ALLERGENES ---- */
.allergenes-notice {
  margin-top: 40px;
  text-align: center;
  padding: 14px 16px;
  background: rgba(46,125,50,.06);
  border-radius: var(--radius);
  border: 1px dashed rgba(46,125,50,.3);
  color: var(--muted);
  font-size: .88rem;
  font-style: italic;
}

/* ---- FOOTER ---- */
.footer-waitis {
  width: 100%;
  padding: 16px 24px;
  background: #111;
  text-align: center;
  font-size: .85rem;
  color: #aaa;
  border-top: 3px solid var(--green);
}

.footer-waitis p { margin: 0; }

.footer-waitis a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}

.footer-waitis a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero { min-height: 500px; padding-bottom: 32px; }
  .pizza-grid  { grid-template-columns: 1fr; }
  .simple-grid { grid-template-columns: 1fr; }
  .hero-cta { gap: 8px; }
  .cta-btn  { font-size: .8rem; padding: 9px 14px; }
  .hero-address { font-size: .75rem; }
}

@media (min-width: 768px) {
  .menu-wrapper { padding: 48px 32px 100px; }
  .pizza-grid  { grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
  .simple-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
