/* Styles pour les transitions douces des diapositives */
.slideshow-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Styles de base des diapositives */
.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  transform: scale(1.05);
  display: block; /* Toujours afficher mais avec opacity 0 */
}

/* Diapositive active */
.mySlides.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 1.2s ease, visibility 1.2s ease, transform 1.5s ease;
}

/* Animation de sortie */
.mySlides.fade-out {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Style des images dans les diapositives */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Animation de la légende */
.caption-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  z-index: 2;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.caption-hidden {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.caption-visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Animation d'entrée pour la page entière */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.column-right {
  animation: fadeInUp 0.8s ease;
}

/* Animation progressive des éléments de la colonne droite */
.column-right h1 {
  animation: fadeInUp 0.8s ease 0.2s both;
}

.column-right .tagline {
  animation: fadeInUp 0.8s ease 0.4s both;
}

.column-right h2:first-of-type {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.column-right .services-list {
  animation: fadeInUp 0.8s ease 0.8s both;
}

.column-right .discover-button {
  animation: fadeInUp 0.8s ease 1s both;
}

.column-right h2:last-of-type {
  animation: fadeInUp 0.8s ease 1.2s both;
}

.column-right .contact-options {
  animation: fadeInUp 0.8s ease 1.4s both;
}