/* ==========================
   NAVIGATION PRINCIPALE
========================== */
.site-nav {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #007bff; /* couleur accent du site */
}

/* MENU BURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  height: 3px;
  width: 25px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    height: calc(100vh - 70px);
    width: 250px;
    background-color: #ffffff;
    flex-direction: column;
    align-items: start;
    padding: 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Animation menu burger */
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


