/* ====== FONTS ====== */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #fef9f7;
  color: #333;
}

/* ====== HEADER AVEC LOGO CENTRÉ ====== */
.centered-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6e1423;
  padding: 20px;
  position: relative;
}

.logo-large {
  height: 120px;
  max-width: 90%;
  margin-bottom: 10px;
}

/* ====== BURGER MENU ====== */
.burger {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  user-select: none;
}

#menu-toggle {
  display: none;
}

/* ====== NAVIGATION ====== */
.nav-menu {
  display: flex;
  justify-content: center;
  background-color: #a00000;
  padding: 10px;
  gap: 20px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.nav-menu a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 5px;
}

.nav-menu a.active,
.nav-menu a:hover {
  background-color: #c02020;
}

/* ====== DROPDOWN ====== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 500;
  display: inline-block;
  border-radius: 5px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #800000;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  border-radius: 4px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: #b22222;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #b22222;
}

/* ====== INTRO SECTION ====== */
.intro {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff6f6;
  border-bottom: 1px solid #ddd;
}

.intro h2 {
  color: #800000;
  font-size: 32px;
}

.intro .btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #800000;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* ====== CAROUSEL ====== */
.carousel {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  background-color: #fff6f6;
}

.carousel img {
  max-height: 200px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ====== ÉQUIPE ENCADRANTE ====== */
.team-container-horizontal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 20px;
  background-color: #fff6f6;
}

.team-member-horizontal {
  width: 160px;
  text-align: center;
}

.team-member-horizontal img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #800000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.team-member-horizontal img:hover {
  transform: scale(1.05);
}

.team-member-info {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

/* ====== FOOTER ====== */
footer {
  background-color: #800000;
  color: white;
  text-align: center;
  padding: 20px;
}

footer .socials {
  margin-bottom: 10px;
}

footer .socials a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
}

/* ====== RESPONSIVE ====== */
@media screen and (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #a00000;
    padding: 10px 0;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    border-radius: 4px;
    z-index: 1000;
  }

  #menu-toggle:checked + label.burger + .nav-menu {
    display: flex;
  }

  .nav-menu a,
  .dropbtn {
    padding: 12px 20px;
    border-bottom: 1px solid #b22222;
  }

  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    min-width: auto;
    display: none;
  }

  #menu-toggle:checked + label.burger + .nav-menu .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding-left: 35px;
    border-bottom: none;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .carousel {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .carousel img {
    max-width: 90%;
    height: auto;
  }

  .team-container-horizontal {
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 22px;
  }
}

