/* HEADER NAVIGATION */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
}

/* LOGO */
header .logo {
  font-weight: 700;
  color: var(--bleu-azur);
  font-size: 1.3rem;
}
.logomobile {
    display:none;
}

/* NAVIGATION CONTAINER */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

/* LISTE DE LIENS - DESKTOP */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--bleu-azur); }

/* BOUTON ADMIN */
.admin-btn {
  background-color: #444;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  transition: background-color 0.3s;
  white-space: nowrap;
}
.admin-btn:hover { background-color: #007b8f; }

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 1100; /* au-dessus du menu déroulant */
}
.burger span {
  height: 3px;
  width: 100%;
  background: var(--bleu-nuit);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .burger { display: flex; }

.logo{
    display:none;
}
.logomobile{
    display:initial;
}

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 1090;
    min-width: 220px;

    /* --- animation --- */
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: all 0.3s ease;
  }

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

