/* Navbar général */
.navbar {
  width: 100%;
  background-color: #ff0000;
  box-shadow: 0 3px 10px rgba(11, 11, 11, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #fefefe;
}

/* Hamburger menu mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

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

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

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #fa0000;
    width: 200px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
