/* ================================
   RÉINITIALISATION DE BASE
================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #eff6ff, #d1fae5);
}

/* ================================
   NAVBAR PRINCIPALE
================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding: 30px 0 40px;
}

.navbar-container {
  margin: auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

/* ================================
   LOGO
================================== */
#logo1 {
  height: 100px;
  border-radius: 24%;
  transform: rotate(0deg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 5px;
  font-size: 1.3rem;
  font-weight: normal;
  color: #1f2937;
}

.brand-text {
  color: #1f2937;
}

/* ================================
   LIENS DE NAVIGATION
================================== */
.navbar-links {
  display: flex;
  gap: 24px;
  margin-right: 130px;
}

.navbar-links a {
  text-decoration: none;
  font-weight: 500;
  padding: 10px 18px;
  color: black;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  background: linear-gradient(to right, #2563eb, #22c55e);
  color: white;
  border-radius: 8px;
  transition: background 0.3s ease;
}

/* ================================
   HAMBURGER MENU
================================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1f2937;
  border-radius: 5px;
  transition: 0.3s ease;
}

/* Le checkbox est caché */
#menu-toggle {
  display: none;
}

/* ================================
   RESPONSIVE : ÉCRANS < 768px
================================== */
@media (max-width: 1000px) {

     .navbar-links {
    gap: 12px;
  }
  .navbar-links a {
    font-size: 14px;
    padding: 8px 12px;
  }
  #logo1 {
    height: 60px;
  }
  .navbar-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 1rem 0;
    display: none;
  }

  /* Quand le checkbox est activé */
  #menu-toggle:checked ~ .navbar-links {
    display: flex;
  }

  /* Icône hamburger visible */
  .hamburger {
    display: flex;
  }
}
