/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  display: flex;
  align-items: center;
  z-index: 1000;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* MENU DESKTOP */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0 auto;
  padding: 0;
}

.navbar ul li a {
  color: red;
  text-decoration: none;
  font-weight: bold;
}

/* TEXTE PLUS GRAND SUR PC */
@media (min-width: 769px) {
  .navbar ul li a {
    font-size: 18px;        /* taille texte desktop */
    letter-spacing: 0.5px; /* lisibilité */
  }
}

.navbar ul li a.promo {
  color: #ff4444;
}

/* BURGER */
.burger {
  font-size: 32px;
  color: red;
  cursor: pointer;
  display: none;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

/* MOBILE + ANIMATION */
@media (max-width: 768px) {
  .burger {
    display: block;
    margin-left: auto;
  }

  .navbar ul {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: #000;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;

    /* animation */
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .navbar.active ul {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .navbar.active .burger {
    transform: rotate(90deg);
  }
}
