@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Roboto&display=swap');

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  top: 0;
  z-index: 1000;
}


.logo {
  position: absolute;
  top: 50%;
  left: 20px; /* ou 50% pour centrer, ou auto pour droite */
  transform: translateY(-50%);
  width: 150px; /* Ajuste comme tu veux */
  height: auto;
  z-index: 10;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  color: #333;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  top: 100%;
  left: 0;
  overflow: hidden;
}

.dropdown-content a {
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

.nav-links li:hover .dropdown-content {
  display: block;
}

.hero {
  background: url('hero_pizza_background.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 150px 20px;
}


.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
.falling-icon {
  position: fixed;
  top: -50px;
  font-size: 24px;
  pointer-events: none;
  animation: fall linear infinite;
  opacity: 0.2;
  z-index: 0;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
  }
}


.maintenance-message {
  text-align: center;
  padding: 100px 20px;
  font-size: 1.2rem;
  color: #444;
}


/* Bloc maintenance visuelle */
body {
  background-color: #fff8f0;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

.maintenance {
  text-align: center;
  padding: 60px 20px;
}

.maintenance-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.maintenance h1 {
  font-size: 1.8rem;
  color: #b22222;
  margin-bottom: 10px;
}

.maintenance p {
  font-size: 1.1rem;
  color: #444;
}


/* Menu déroulant personnalisé */
.menu-dropdown-wrapper {
  position: relative;
}

.menu-dropdown-button {
  background-color: transparent;
  border: none;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #5c2e00;
}

.menu-dropdown-button:hover {
  background-color: transparent;
}

.menu-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 2px solid #e0cbb0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 999;
  width: max-content;
}

.menu-dropdown-content a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.menu-dropdown-content a:hover {
  background-color: #f5f5f5;
}

.menu-dropdown-wrapper:hover .menu-dropdown-content {
  display: block;
}

.menu-dropdown-wrapper {
  position: relative;
}

.menu-dropdown-button {
  display: block;
  padding: 10px 0;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.menu-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 2px solid #e0cbb0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 999;
  width: max-content;
}

.menu-dropdown-content a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.menu-dropdown-content a:hover {
  background-color: #f5f5f5;
}

.menu-dropdown-wrapper:hover .menu-dropdown-content {
  display: block;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a,
.menu-dropdown-button {
  padding: 10px 16px;
  display: inline-block;
  line-height: 1.2;
}

/* Assure que le menu ne s'affiche que lors du survol */
.menu-dropdown-wrapper {
  position: relative;
}

.menu-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.menu-dropdown-wrapper:hover .menu-dropdown-content {
  display: block;
}

.menu-dropdown-content {
  display: none;
  flex-direction: column;
}

.menu-dropdown-content a {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.menu-dropdown-content {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-dropdown-wrapper:hover .menu-dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

/* Titre avec une élégante police italienne */
h1, h2, h3 {
  font-family: 'Great Vibes', cursive;
  text-align: center;
  color: #8B0000; /* Rouge bordeaux typique italien */
  margin-bottom: 20px;
}

/* Centrage du contenu principal */
main, header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

/* Style pour la liste de menu */
.menu-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  width: 100%;
}

.menu-list li {
   background-color: rgba(255, 255, 255, 0.6); /* blanc avec 80% d’opacité */
  border: 1px solid #e6d5c3;
  padding: 15px;
  margin: 10px 0;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.menu-list li span {
  float: right;
  font-weight: bold;
}



/* Réduction de la hauteur de la barre blanche sans toucher au texte ni au logo */
.navbar {
  padding-top: 6px;
  padding-bottom: 6px;
}


html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}


main ul li {
  background-color: white;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
}


.plume-deco {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 200px;
  opacity: 0.6;
  z-index: 5;
  pointer-events: none;
  animation: float 4s ease-in-out infinite;
}

.plume-deco-top-left {
  position: fixed;
  top: 80px;
  left: 0;
  width: 200px;
  opacity: 0.6;
  z-index: 1001;
  pointer-events: none;
  animation: float 4s ease-in-out infinite;
}

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

.animated-plume {
  animation: float 4s ease-in-out infinite;
}


/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    position: relative;
    left: auto;
    transform: none;
    width: 120px;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Menu dropdown actif au clic */
.menu-dropdown-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


@media (max-width: 768px) {
  .logo {
    position: static !important;
    margin: 10px auto;
    display: block;
    z-index: 1;
  }

  .navbar {
    position: relative;
    z-index: 10;
  }

  .menu-dropdown-content,
  .dropdown-content {
    z-index: 20;
  }
}
