/* ----------------------   HEADER CSS   ------------------------- */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  border-radius: 15px;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 80px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #415161;
}

.nav {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 10px;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #3498db;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav a:hover {
  color: #3498db;
}

.cta-button {
  color: rgb(48, 48, 48) !important;
  border-radius: 90px 0px 90px 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background: linear-gradient(135deg, #3498db);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
  color: white !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.aether_btn_accueil {
  background-color: rgb(0, 0, 0) !important;
  color: rgba(233, 233, 233, 1) !important;
  border: none;
}

.aether_btn_accueil:hover {
  background-color: transparent !important;
  color: black !important;
  border: 2px solid black !important;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: -150%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
  }

  .nav.active {
    left: 0;
    border-radius: 0px 0px 15px 15px;
    margin-top: 1px;
  }

  /* .nav li {
    margin: 15px 0;
  } */

  .nav li {
    margin: 0px;
  }

  .nav a {
    font-size: 18px;
  }
}

/* ----------------------   HEADER CSS   ------------------------- */