
/* === CAROUSEL FULL PAGE === */
.carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 400vw;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.carousel-slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem;
  box-sizing: border-box;
}

.carousel-slide.left-text {
  flex-direction: row; /* texte à gauche, image à droite */
}

.carousel-slide.right-text {
  flex-direction: row-reverse; /* texte à droite, image à gauche */
}

.carousel-image {
  width: 50%;
  height: 80%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carousel-content {
  width: 40%;
  color: #222;
  font-size: 1.2rem;
  line-height: 1.6;
}

.carousel-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #2e5f4d;
}

.carousel-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.carousel-nav .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-nav .dot.active {
  background-color: #2e5f4d;
}
