/* IMPORTS */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap");

/* VARIABLES CSS */
:root {
  --primary: #db7434;
  --secondary: #fbbf24;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESET & STYLES GLOBAUX */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
  display: flex;
  padding: 10px;
  color: var(--light);
}

/* TYPOGRAPHIE */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

/* BOUTONS */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  color: var(--light);
  border: 2px solid var(--light);
}

.btn-primary:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: var(--primary);
  color: var(--light);
}

.btn-outline:hover {
  transform: translateY(-4px);
  color: white;
  filter: blur(0.5px);
}

.btn-en-savoir-plus {
  background-color: var(--secondary);
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  color: white;
}

.btn-en-savoir-plus:hover {
  transform: translateY(-4px);
}

.whatsapp-btn {
  display: inline-block;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 30%;
  padding: 15px 25px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 999;
  color: rgb(49, 47, 47);
}

#header.scrolled {
  background: black;
  color: var(--dark);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1400px;
  margin: auto;
  background: transparent;
}

.logo {
  max-width: 100px;
  /*animation: upDown 2s ease-in-out infinite;*/
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--light);
}

nav a::after {
  background-color: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

.li {
  align-items: center;
}

    /* ─── HERO HEADER ─── */
    #menu-header {
      text-align: center;
      padding: clamp(3rem, 8vw, 7rem) 1.5rem clamp(2rem, 5vw, 4rem);
      position: relative;
      overflow: hidden;
    }
 
    .menu-header::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 80% 60% at 50% 0%, #3d2010 0%, transparent 70%);
      pointer-events: none;
    }
 
    .tagline {
      display: inline-block;
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: clamp(0.8rem, 2vw, 1rem);
      letter-spacing: 0.25em;
      color: var(--gold);
      text-transform: uppercase;
      margin-bottom: 1rem;
    }
 
    .menu-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 8vw, 6rem);
      font-weight: 600;
      line-height: 1;
      color: var(--white);
      margin-bottom: 1.2rem;
    }
 
    .menu-title em {
      font-style: italic;
      color: var(--gold);
    }
 
    .divider {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      margin: 1.5rem auto;
      max-width: 320px;
    }
 
    .divider::before, .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--amber));
    }
 
    .divider::after {
      background: linear-gradient(to left, transparent, var(--amber));
    }
 
    .divider-gem {
      width: 8px; height: 8px;
      background: var(--gold);
      transform: rotate(45deg);
      flex-shrink: 0;
    }
 
    .menu-subtitle {
      font-size: clamp(0.9rem, 2vw, 1.05rem);
      color: var(--ash);
      max-width: 480px;
      margin: 0 auto;
      line-height: 1.7;
      font-weight: 300;
    }
 
    /* ─── FILTER TABS ─── */
    .filter-wrap {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.6rem;
      padding: 0 1.5rem 3rem;
    }
 
    .filter-btn {
      background: transparent;
      border: 1px solid rgba(201,136,42,0.3);
      color: var(--ash);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.55rem 1.4rem;
      border-radius: 100px;
      cursor: pointer;
      transition: all 0.25s ease;
    }
 
    .filter-btn:hover {
      border-color: var(--amber);
      color: var(--cream);
    }
 
    .filter-btn.active {
      background: var(--amber);
      border-color: var(--amber);
      color: var(--coal);
      font-weight: 500;
    }
 
    /* ─── GRID ─── */
    .pizza-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
      gap: clamp(1rem, 3vw, 1.75rem);
      padding: 0 clamp(1rem, 4vw, 4rem) clamp(3rem, 8vw, 6rem);
      max-width: 1400px;
      margin: 0 auto;
    }
 
    /* ─── CARD ─── */
    .pizza-card {
      background: var(--espresso);
      border: 1px solid rgba(201,136,42,0.12);
      border-radius: var(--rL);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      cursor: pointer;
      transition: transform 0.35s cubic-bezier(.22,.68,0,1.2),
                  border-color 0.25s ease,
                  box-shadow 0.35s ease;
      will-change: transform;
    }
 
    .pizza-card:hover {
      transform: translateY(-6px);
      border-color: rgba(201,136,42,0.45);
      box-shadow: 0 24px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,136,42,0.1);
    }
 
    .pizza-card.hidden {
      display: none;
    }
 
    /* image zone */
    .card-img {
      position: relative;
      height: clamp(180px, 25vw, 240px);
      overflow: hidden;
      background: var(--bark);
    }
 
    .card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s cubic-bezier(.22,.68,0,1.1);
      display: block;
    }
 
    .pizza-card:hover .card-img img {
      transform: scale(1.07);
    }
 
    /* badge */
    .badge {
      position: absolute;
      top: 14px;
      left: 14px;
      font-size: 0.68rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.3rem 0.75rem;
      border-radius: 100px;
    }
 
    .badge-new    { background: var(--gold);  color: var(--light); }
    .badge-creme  { background: var(--light);       color: #c0392b; }
    .badge-sans   { background: #2ecc71;       color: var(--light); }
    .badge-tomate   { background: #c0392b;  color: var(--light); }
 
    /* price tag */
     /*.price-tag {
      position: absolute;
      bottom: 14px;
      right: 14px;
      background: var(--coal);
      color: var(--gold);
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-weight: 600;
      padding: 0.3rem 0.9rem;
      border-radius: 10px;
      border: 1px solid rgba(232,184,75,0.3);
    }*/
 
    /* body */
    .card-body {
      padding: 1.4rem 1.5rem 1.6rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      flex: 1;
    }
 
    .card-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.3rem, 3vw, 1.6rem);
      font-weight: 600;
      color: var(--white);
      line-height: 1.1;
    }
 
    
    /* ingredients chips */
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-top: 0.4rem;
    }
 
    .chip {
      font-size: 0.72rem;
      font-weight: 400;
      color: var(--amber);
      background: rgba(201,136,42,0.1);
      border: 1px solid rgba(201,136,42,0.2);
      border-radius: 100px;
      padding: 0.2rem 0.65rem;
      letter-spacing: 0.02em;
    }
 
    /* add button */
    .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem 1.4rem;
      border-top: 1px solid rgba(201,136,42,0.1);
    }
 
    .size-note {
      font-size: 0.78rem;
      color: var(--ash);
    }
 
    .btn-add {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--amber);
      color: var(--coal);
      border: none;
      border-radius: 100px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.8rem;
      font-weight: 500;
      padding: 0.55rem 1.2rem;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease;
      letter-spacing: 0.05em;
    }
 
    .btn-add:hover  { background: var(--gold); transform: scale(1.04); }
    .btn-add:active { transform: scale(0.97); }
 
    .btn-add svg {
      width: 14px; height: 14px;
      stroke: var(--coal); fill: none;
      stroke-width: 2.2; stroke-linecap: round;
    }
 
    /* ─── EMPTY STATE ─── */
    .empty-state {
      display: none;
      text-align: center;
      padding: 4rem 1rem;
      color: var(--ash);
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      font-size: 1.5rem;
      width: 100%;
      grid-column: 1 / -1;
    }
 
    .empty-state.visible { display: block; }
 
    /* ─── SCROLL-IN ANIMATION ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
 
    .pizza-card {
      animation: fadeUp 0.55s ease both;
    }
 
    /* stagger via nth-child */
    .pizza-card:nth-child(1)  { animation-delay: 0.05s; }
    .pizza-card:nth-child(2)  { animation-delay: 0.10s; }
    .pizza-card:nth-child(3)  { animation-delay: 0.15s; }
    .pizza-card:nth-child(4)  { animation-delay: 0.20s; }
    .pizza-card:nth-child(5)  { animation-delay: 0.25s; }
    .pizza-card:nth-child(6)  { animation-delay: 0.30s; }
    .pizza-card:nth-child(7)  { animation-delay: 0.35s; }
    .pizza-card:nth-child(8)  { animation-delay: 0.40s; }
    .pizza-card:nth-child(9)  { animation-delay: 0.45s; }
 
    /* ─── RESPONSIVE TWEAKS ─── */
    @media (max-width: 480px) {
      .pizza-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem 3rem;
      }
      .card-img { height: 200px; }
    }
 
    @media (min-width: 768px) and (max-width: 1024px) {
      .pizza-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
 
    @media (min-width: 1400px) {
      .pizza-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
 
    /* ─── CART TOAST ─── */
    .toast {
      position: fixed;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%) translateY(80px);
      background: var(--gold);
      color: var(--coal);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.8rem 1.8rem;
      border-radius: 100px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      transition: transform 0.35s cubic-bezier(.22,.68,0,1.2);
      z-index: 999;
      pointer-events: none;
      white-space: nowrap;
    }
 
    .toast.show {
      transform: translateX(-50%) translateY(0);
    }

/* Menu hamburger */
.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

#nav-menu ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* SECTIONS */

/* Section Hero */
.hero {
  padding: 8rem 5%;
  text-align: center;
  height: 100vh;
  align-content: center;
  background-color: var(--secondary);
}

#background-hero {
  background-image: url("img/background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 100px 80px -10px rgb(0, 0, 0);
  filter: brightness(90%);
}

.hero h1 {
  font-size: 7rem;
  color: var(--light);
  text-shadow: var(--shadow);
}

/*h1 span {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px red;
  animation: upDown 2s ease-in-out infinite;
}*/

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--light);
  text-shadow: var(--shadow);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}


/* Section CTA */
.cta {
  padding: 5rem 5%;
  text-align: center;
  height: 100vh;
  align-content: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* FOOTER */
footer {
  background-color: var(--dark);
  color: white;
  padding: 3rem 5% 1.5rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ANIMATIONS */
@keyframes upDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* MEDIA QUERIES */

/* Tablettes et mobiles (≤768px) */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  #nav-menu ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 180px;
  }

  #nav-menu ul.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  /* Sections */
  .section-title {
    font-size: 2rem;
  }

  .section-title p {
    font-size: medium;
  }

  /* Timeline&Process */
  .timeline-line {
    display: none;
  }

  .process-step.animate {
  opacity: 1;
  transform: translateY(0);
  padding: 0;
}

  .process-step {
    width: 100%;
    padding-left: 60px;
    padding-right: 0;
  }


.process-step:nth-child(odd) {
  margin-left: auto;
  margin-bottom: 10px;
}

.process-step:nth-child(even) {
  margin-right: auto;
  margin-bottom: 10px;
}

  .process-header h2 {
    font-size: 2rem;
  }

  /* Image-Text */
  .image-text-container {
    flex-direction: column;
    padding: 1rem;
    gap: 1.5rem;
  }

  .image-container,
  .text-container {
    width: 100%;
  }

  .image-container img {
    max-height: 300px;
    object-position: center;
  }

  .text-container h2 {
    text-align: center;
  }

  /* Pricing */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .container-service {
    width: 100%;
    max-width: 1200px;
    margin-top: 600px;
    padding: 0 20px;
  }
}

/* Petits mobiles (≤480px) */
@media (max-width: 480px) {
  .image-text-container {
    padding: 1.5rem;
    gap: 1rem;
  }

  .text-container p {
    text-align: justify;
  }

  .whatsapp-btn {
  width: 70%;
}

.container-service {
    width: 100%;
    max-width: 1200px;
    margin-top: 800px;
    padding: 0 20px;
}
}