:root {
  --red: #d2001c;
  --green: #009639;
  --dark: #2c1810;
  --cream: #fff8f0;
  --gold: #d4af37;
}

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

/* Navigation */
/* NOUVEAU */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: auto; /* CHANGÉ */
  min-height: 70px; /* AJOUTÉ */
  background: #fef2c7;
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease; /* AJOUTÉ */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.phone-btn {
  background: var(--red);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(210, 0, 28, 0.3);
}

/* Hero Section */
/* NOUVEAU */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--red) 0%, var(--dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px; /* AJOUTÉ */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="pizza" patternUnits="userSpaceOnUse" width="50" height="50"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23pizza)"/></svg>');
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content .subtitle {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  color: white;
  backdrop-filter: blur(10px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-pizza {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pizza-image {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid var(--red);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Menu Section */
.menu-section {
  padding: 6rem 0;
  background: var(--cream);
  position: relative;
}

.section-title {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--green));
  border-radius: 2px;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pizza-highlight {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 3px solid var(--gold);
}

.pizza-highlight h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.pizza-highlight p {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.highlight-pizza-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr);
  gap: 2rem;
}

.menu-category {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.menu-category:hover {
  transform: translateY(-5px);
}

.category-header-1 {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(175deg, #135029, #fcf8e8, #800000);
  color: dark;
  border-radius: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.category-header-3 {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(175deg, #135029, #fcf8e8, #800000);
  color: dark;
  border-radius: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.category-header-4 {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(175deg, #135029, #fcf8e8, #800000);
  color: dark;
  border-radius: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px dotted #ddd;
}

.menu-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.item-info h4 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.item-description {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.item-prices {
  text-align: right;
  font-weight: 600;
  color: var(--red);
}

.price-label {
  font-size: 0.8rem;
  color: #666;
  display: block;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--dark) 100%);
  color: white;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.contact-info {
  text-align: center;
}

.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--cream);
}

.info-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.info-item h4 {
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.info-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.phone-number {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  text-align: left;
}

.day {
  font-weight: 500;
}

.time {
  color: var(--cream);
}

/* Footer */
footer {
  background: #000000;
  color: white;
  text-align: left;
  padding: 3rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.social-links {
  margin-bottom: 2rem;
  display: flex;
  justify-content: left;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--gold);
}

/* Align the custom NovaWorld section to the right in the footer */
.footer-content-1 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* AJOUTEZ CE CODE AVANT @media (max-width: 768px) */

/* Effet au scroll */
nav.scrolled {
  background: rgba(254, 242, 199, 0.95);
  backdrop-filter: blur(15px);
}

/* Menu hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Animation du menu hamburger */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* NOUVEAU */
@media (max-width: 768px) {
  /* Afficher le menu hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Adapter les liens de navigation pour mobile */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fef2c7;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    gap: 0;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(44, 24, 16, 0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 1rem;
  }

  /* Réduire la taille du logo */
  .logo {
    font-size: 1.5rem;
  }

  /* Adapter le bouton téléphone */
  .phone-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
  }

  /* Ajuster le conteneur de navigation */
  .nav-container {
    padding: 0 1rem;
    position: relative;
  }

  /* Augmenter le padding-top du hero sur mobile */
  .hero {
    padding-top: 100px;
  }

  /* VOS RÈGLES EXISTANTES (gardez-les) */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .pizza-image {
    width: 250px;
    height: 250px;
  }

  .hero-features {
    flex-direction: column;
    gap: 1rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

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

  .footer-content,
  .footer-content-1 {
    align-items: center;
    text-align: center;
    padding: 0 1rem;
  }
}
