/* --- Style CSS pour les grands écrans --- */
header {
  background: #fff;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

/* Le menu */
nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a,
.language-switcher a {
  text-transform: uppercase;
  text-decoration: none;
  color: #d77927;
  font-weight: bold;
  padding: 10px;
  font-family: "Lustria", serif;
  font-style: normal;
}

/* Style du logo */
figure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

.logo {
  width: 150px;
  max-width: 100%;
}

/* Icône du menu */
.menu-burger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #d77927;
}

/* Style pour le changement de langue */
.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
}

/* Swiper slider styles */
.swiper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 50px 0px;
}

.swiper-wrapper {
  width: 70%;
}

.swiper-slide {
  width: calc(100% / 3 - 10px);
  margin: 0 10px;
  
}

.swiper-slide img {
  width: 90%;
  display: block;
  border-radius: 10px;
  height: 500px;
  object-fit: cover;
}

/* Style général du texte */
main,
.about .text-content,
.contact a {
  text-align: center;
  font-family: "Lustria", serif;
}

main h2,
.about .text-content h2 {
  font-size: 20px;
  color: #d77927;
  font-weight: bold;
  text-align: center;
  padding-top: 30px;
}

.home p {
  text-align: center;
}

main p,
.about .text-content {
  font-size: 15px;
  line-height: 1.5;
  font-weight: normal;
  color: #d77927;
  text-align: justify;
  padding: 0px 10px;
}

.about {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  padding: 50px;
}

.about img {
  grid-column: 2 / 3;
  width: 400px;
  border-radius: 10px;
}

.about .text-content {
  grid-column: 3 / 6;
  padding: 0 20px;
  font-size: 15px;
}

.contact {
  padding: 50px;
}

.contact video {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
}

.contact a {
  color: #d77927;
  padding: 10px;
  font-weight: normal;
  text-decoration: none;
  font-size: 20px;
}

/* Footer */
footer {
  background: #fff;
  padding: 50px;
  text-align: center;
  color: #d77927;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  header {
    padding: 30px;
  }

  .contact {
    padding: 80px;
  }
}

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0px;
    position: relative;
  }

  .menu-burger {
    display: block;
    position: relative;
    order: -1;
    margin-left: 10px;
    z-index: 1100;
  }

  figure {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .logo {
    width: 120px;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  nav a {
    font-size: 24px;
    padding: 15px;
  }

  nav.active {
    display: flex;
  }

  .about {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about img {
    width: 100%;
    max-width: 150px;
  }

  .about .text-content {
    padding: 0;
  }

  .contact {
    padding: 50px;
  }

  .swiper {
    padding: 40px 0;
  }

  .swiper-wrapper {
    width: 80%;
  }

  .swiper-slide {
    width: calc(100% / 3 - 20px);
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
    padding: 10px;
  }

  .contact {
    padding: 30px;
  }

  footer {
    padding: 100px 0 10px 0;
  }

  .swiper {
    padding: 1px;
  }

  .swiper-wrapper {
    width: 100%;
  }

  .swiper-slide {
    width: calc(90% / 1 - 30px);
    margin: 0;
  }

  .swiper-slide img {
    height: 450px;
    padding: 20px;
    border-radius: 30px;
  }

  .home h2 {
    padding-top: 30px;
  }

  .home p {
    padding: 10px;
  }

  .about img {
    width: 100%;
    max-width: 200px;
  }

  .contact h2 {
    padding-top: 75px;
  }

  
}