/* Styles existants */
body {
  margin: 0;
  padding: 0;
  font-family: "Lexend Exa", serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0;
}



.reponse {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin-top: 20px;
}

/* Nouveaux styles pour le header et le sélecteur de langue */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 30px;
  background-color: rgba(39, 39, 39, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50px;
  margin: 20px;
  color: white;
  z-index: 1001;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

header:hover {
  background-color: rgba(39, 39, 39, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 150px;
}

.header_title {
  display: flex;
  align-self: center;
  width: 100%;
  height: 100%;
  transform: translateY(10%);
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: white;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #FF9900;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #FF9900;
  transition: width 0.3s ease;
}


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

/* Nouveau conteneur pour regrouper register et lang-selector */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-selector {
  display: flex;
  gap: 10px;
}

.lang-selector button {
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-selector button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lang-selector button.active {
  background-color: #FF9900;
  color: #222;
}

/* Styles pour la section d'accueil */
.accueil-container {
  overflow: visible;
  width: 100%;
}

.hero-section {
  height: 100vh;
  overflow: hidden;
}

.background-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-title {
  color: white;
  font-size: 175px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.bg-mountains {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -100;
  transition: transform 0.1s ease-out;
}

.bg-forest {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  transition: transform 0.1s ease-out;
}

.bg-cloud {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  z-index: 30;
  transition: transform 0.1s ease-out;
  object-fit: cover;
}

.bg-cloud-1 {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  z-index: 30;
}


.content-section-2 {
  min-height: 50vh;
  background-color: #283024;
  z-index: 29;
  padding: 20px;
  margin-top: 100px;
}

.content-section {
  min-height: 100vh;
  background-color: #283024;
  z-index: 29;
  padding: 20px;
  background-image: url(../images/img/background_labyrinthe.webp);
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: 0 15%;
}

.content-title {
  font-size: 50px;
  color: white;
  text-align: center;
  text-transform: uppercase;
  max-width: 1100px;
  margin-inline: auto;
  margin-bottom: 20px;
}

.content-title-span {
  color: #FF9900;
}

.content-description {
  font-size: 18px;
  color: white;
  text-align: center;
  max-width: 1100px;
  margin-inline: auto;
  font-weight: 200;
  margin-bottom: 40px;
}

.content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: #22291F;
  max-width: 1000px;
  margin-inline: auto;
  border-radius: 67px;
  color: white;
  padding: 40px;
}

.content-container-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  width: 25%;
  text-align: center;
}

.content-container-item-stars {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-container {
  max-width: 1000px;
  margin-inline: auto;
  margin-top: 40px;
  margin-bottom: 60px;
  background: rgba(34, 41, 31, 0.4);
  border-radius: 67px;
  padding: 40px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  color: #FF9900;
}

.map-container-title {
  font-size: 30px;
  font-weight: 600;
}

.map-container-span {
  font-size: 18px;
}

.map {
  width: 100%;
  height: auto;
  max-width: 600px;
  fill: white;
  stroke: black;
  stroke-width: 1;
}

.map path {
  transition: fill 0.3s ease;
}

.map path:hover {
  fill: #FF9900;
  cursor: pointer;
}

.partenaire-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #22291F;
  max-width: 100%;
  margin-inline: auto;
  text-transform: uppercase;
  color: white;
  padding-block: 60px;
}

.partenaire-title {
  font-size: 30px;
  font-weight: 600;
  max-width: 400px;
  text-align: center;
}

.partenaire-span,
.seminaire-span {
  color: #FF9900;
}

.partenaire-img {
  width: 40%;
  height: auto;
}

.avis-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: #22291F;
}

.avis-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avis-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  min-width: 100%;
  z-index: 1;
  background: rgba(34, 41, 31, 0.8);
  padding-block: 60px;
}

.avis-title {
  max-width: 1000px;
  margin-inline: auto;
  text-transform: uppercase;
  font-size: 28px;
  margin-bottom: 30px;
  line-height: 1.5;
  font-weight: 500;
}

.avis-text {
  max-width: 1000px;
  margin-inline: auto;
  font-size: 16px;
  margin-bottom: 15px;
}

.avis-author {
  max-width: 100px;
  font-style: italic;
  font-size: 14px;
  margin-bottom: 10px;
}

.avis-rating {
  max-width: 1000px;
  display: flex;
  gap: 5px;
  color: #FF9900;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 200px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
  width: 600px;
  margin-inline: auto;
}

.carousel-item {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: white;
  font-size: 20px;
  transition: background 0.3s ease;
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: white;
}

.seminaire-container {
  position: relative;
  width: 100%;
  background: #22291F;
}

.seminaire-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 60px 20px;
  height: 600px;
  background: rgba(34, 41, 31, 1);
}

.seminaire-title {
  font-size: 30px;
  color: white;
  font-weight: 600;
  text-align: center;
  max-width: 800px;
  margin-bottom: 60px;
}

.seminaire-item {
  flex: 0 0 20%;
  padding: 0 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.seminaire-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* Styles pour le système de compte */
.compte {
  position: relative;
  margin-right: 20px;
}

.profile-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-image-wrapper {
  position: relative;
  cursor: pointer;
}

.profile-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-hover {
  position: absolute;
  top: 100%;
  background: white;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 150px;
  z-index: 2000;
}

.profile-image-wrapper .profile-hover {
  flex-direction: column;
  gap: 8px;
}

.username {
  font-weight: bold;
  color: #333;
}

.profile-link {
  color: #007bff;
  text-decoration: none;
  padding: 5px;
  border-radius: 4px;
  z-index: 2000;
}

.profile-link:hover {
  background: #f0f0f0;
}

.logout-btn {
  color: #dc3545;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
}

.logout-btn:hover {
  background: #ffe6e6;
}

.auth-buttons {
  display: flex;
  width: 164px;
  gap: 10px;
}

.login-btn,
.register-btn {
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
}

.login-btn {
  background: #007bff;
  color: white;
}

.register-btn {
  background: #d88200;
  border-radius: 50px;
  width: 100%;
  text-align: center;
  color: white;
}

/* Styles pour les formulaires d'authentification */
.auth-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-weight: bold;
  color: #333;
}

.form-group input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.auth-form button {
  padding: 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.auth-form button:hover {
  background: #be7507;
}

.auth-container p {
  text-align: center;
  margin-top: 15px;
}

.auth-container a {
  color: #007bff;
  text-decoration: none;
}

.auth-container a:hover {
  text-decoration: underline;
}

.auth-links {
  text-align: center;
  margin-top: 15px;
}

.auth-links span {
  margin-right: 5px;
}

.auth-links a {
  color: #007bff;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}



/* Styles pour le détail de la région */
.region-detail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.region-detail.active {
  opacity: 1;
  visibility: visible;
}

.region-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  max-width: 800px;
  margin-bottom: 20px;
}

.region-detail-header h3 {
  color: white;
  font-size: 24px;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.region-detail-content {
  width: 80%;
  max-width: 800px;
  height: 70%;
  background: rgba(34, 41, 31, 0.8);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.region-svg {
  width: 100%;
  height: 100%;
}

/* Styles pour le footer */
footer {
  background: url(../images/img/background_footer.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #22291F;
  color: white;
  padding: 40px 0;
  font-family: "Lexend Exa", serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 30%;
}

.footer-logo {
  aspect-ratio: 2/0.35;
  width: 100%;
  object-fit: contain;

  letter-spacing: 1px;
  color: white;
}

.footer-logo span {
  color: #FF9900;
}

.footer-tagline {
  font-size: 15px;
  text-transform: uppercase;
  color: #FF9900;
  line-height: 1.4;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: rgba(255, 153, 0, 0.2);
  transform: translateY(-3px);
}

.footer-social img {
  width: 20px;
  height: 20px;
  filter: invert(56%) sepia(86%) saturate(1304%) hue-rotate(360deg) brightness(103%) contrast(106%);
}

.footer-links-section {
  display: flex;
  gap: 60px;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links-title {
  font-size: 16px;
  font-weight: 600;
  color: #FF9900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FF9900;
}

.footer-award {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.footer-award img {
  max-width: 150px;
  height: auto;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }

  .bg-cloud {
    display: none;
  }

  .bg-cloud-1 {
    display: none;
  }

  .bg-forest {
    display: none;
  }

  header {
    width: 75%;
  }

  .bg-mountains {
    object-fit: cover;
  }

  .hero-title {
    font-size: 5rem;
  }

  .content-title {
    font-size: 30px;
  }

  .logo {
    display: none;
  }

  .content-section-2 {
    display: none;
  }

  .footer-links a {
    font-size: 10px;
  }
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

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

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Media queries pour le responsive */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    background-color: rgba(39, 39, 39, 0.95);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(8px);
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  .header-right {
    margin-left: auto;
  }

  .auth-buttons {
    width: auto;
  }
}

/* Styles responsive pour l'accueil */
@media (max-width: 768px) {

  /* Conteneur principal */
  .accueil-container {
    width: 100%;
    overflow-x: hidden;
  }

  /* Section héro */
  .hero-section {
    height: 100vh;
  }

  .hero-title {
    font-size: 3rem;
    text-align: center;
  }

  .background-images {
    width: 100%;
  }

  .bg-mountains {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Section contenu */
  .content-section {
    padding: 20px;
    min-height: 70vh !important;
  }

  .content-title {
    font-size: 24px;
    text-align: center;
  }

  .content-description {
    font-size: 16px;
    text-align: center;
  }

  .content-container {
    flex-direction: column;
    gap: 20px;
  }

  .content-container-item {
    width: 100%;
  }

  /* Carte */
  .map-container {
    padding: 20px;
    display: none;
  }

  .map-container-title {
    font-size: 20px;
    text-align: center;
  }

  .map {
    width: 100%;
    height: auto;
  }

  /* Détail région */
  .region-detail-content {
    width: 90%;
    height: 80%;
  }

  /* Section partenaire */
  .partenaire-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .partenaire-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .partenaire-img {
    width: 80%;
  }

  /* Section avis */
  .avis-container {
    display: none;
  }

  .avis-content {
    padding: 30px 20px;
  }

  .avis-title {
    font-size: 20px;
    padding: 0 20px;
  }

  .carousel-container {
    width: 100%;
  }

  .carousel-inner {
    width: 100%;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  /* Section séminaire */
  .seminaire-container {
    height: auto;
  }

  .seminaire-content {
    height: auto;
    padding: 30px 20px;
  }

  .seminaire-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .seminaire-item {
    width: 80%;
    margin: 0 auto;
  }

  .seminaire-item img {
    width: 100%;
    height: auto;
  }
}

/* Ajustements pour tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }

  .content-title {
    font-size: 28px;
  }

  .partenaire-container {
    padding: 40px 20px;
  }

  .partenaire-img {
    width: 50%;
  }

  .avis-container {
    height: 500px;
  }

  .seminaire-content {
    padding: 40px 20px;
  }
}

/* Ajustements pour grands écrans */
@media (min-width: 1025px) {
  .accueil-container {
    max-width: 1920px;
    margin: 0 auto;
  }
}

/* Styles responsifs pour le footer */
@media (max-width: 768px) {
  footer {
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo-section {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    max-width: 150px;
  }

  .footer-social {
    justify-content: center;
    margin-top: 20px;
  }

  .footer-links-section {
    width: 100%;
    flex-direction: column;
    gap: 30px;
  }

  .footer-links-column {
    width: 100%;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-links-title {
    margin-bottom: 15px;
    font-size: 16px;
  }
}

/* Ajustements pour tablettes */
@media (min-width: 769px) and (max-width: 1024px) {
  footer {
    padding: 40px;
  }

  .footer-container {
    gap: 40px;
  }

  .footer-logo {
    max-width: 180px;
  }

  .footer-links-section {
    gap: 30px;
  }

  .footer-links {
    gap: 15px;
  }
}

/* Ajustements pour grands écrans */
@media (min-width: 1025px) {
  footer {
    max-width: 1920px;
    margin: 0 auto;
  }
}