/* HEADER GLOBAL */
.sticky {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.bow-header {
  width: 100%;
  padding: 15px 30px;
  position: fixed;
}

.bow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 100%;
}

/* Zones principales */
.bow-left,
.bow-center,
.bow-right {
  display: flex;
  align-items: center;
}

/* LOGO */
.logo-left img {
  max-height: 60px;
  display: block;
  margin: 0;
  vertical-align: middle;
}

/* MENU DESKTOP */
.nav-desktop ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop a {
  position: relative;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: black;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-desktop a:hover::after {
  transform: scaleX(1);
}

/* BOUTON COMMANDER */
.btn-commander {
  background-color: black;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-left: 20px;
}
.btn-commander:hover {
  transform: scale(1.07);
}

/* MENU BURGER */
.menu-toggle {
  display: none;
}
.menu-icon {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}
.menu-icon span {
  width: 25px;
  height: 3px;
  background: #333;
  display: block;
  border-radius: 2px;
}

/* MENU MOBILE (popup) */
.nav-mobile {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 999;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-mobile li {
  margin-bottom: 15px;
}
.nav-mobile a {
  text-decoration: none;
  font-size: 18px;
  color: #000;
  font-weight: bold;
  padding: 10px 15px;
  display: inline-block;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-mobile a:hover {
  background: #000;
  color: #fff;
}
.menu-toggle:checked ~ .nav-mobile {
  display: block;
}

/* Animation apparition popup */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-desktop,
  .btn-commander {
    display: none;
  }
  .menu-icon {
    display: flex;
  }
}

/* RESET + ESPACE POUR LE HEADER FIXÉ */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  padding-top: 0px;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* SLIDER (si utilisé ailleurs) */
.auto-slider {
  width: 100%;
  position: relative;
}

.slider-track {
  display: flex;
  width: fit-content;
  animation: scroll-left 10s linear infinite;
}

.slider-track img {
  height: 50px;
  margin-right: 20px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-35%);
  }
}