/* ========== HAMBURGER MENU (Mobile) ========== */

.hamburger-button {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background-color: rgba(255, 204, 102, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  background-color: rgba(0, 0, 0, 0.6); /* ✅ léger voile sombre */
  backdrop-filter: blur(8px);          /* ✅ effet flou élégant */
  -webkit-backdrop-filter: blur(8px);  /* ✅ compatibilité Safari */
  z-index: 998;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  flex-direction: column;
}


.mobile-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0; /* espacement équilibré */
}

.mobile-nav a {
  color: #ffcc66;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.2; /* ✅ harmonise la hauteur */
  display: inline-block;
}


.mobile-nav a:hover {
  color: #fff;
}

/* Cacher par défaut */
.mobile-nav.hidden {
  display: none;
}

/* Visible uniquement en mobile */
@media (max-width: 768px) {
  .hamburger-button {
    display: block;
  }


  header nav {
    display: none;
  }
}

