/* ======== GALERIE ======== */
#galerie {
  padding: 80px 0;
  color: rgb(202, 177, 177);
  background-color: #333;
  margin-top: 30px;
}

#galerie h2 {
  font-size: 20px;
 margin-top: 30px;
}

#galerie p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #e0e0e0;
  word-spacing: 0.1em;
}

.galerieSwiper {
  width: 90%;
  max-width: 1100px;
  height: 500px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.galerieSwiper .swiper-slide {
  position: relative;
}

.galerieSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galerieSwiper img:hover {
  transform: scale(1.05);
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  background: #00b4d8;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  #galerie h2 {
    font-size: 2rem;
  }
  .galerieSwiper {
    height: 300px;
  }
#galerie p {
  color: #e0e0e0;
  word-spacing: 0.1em;
}
}

.choir-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.choir-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px; /* optionnel */
}
@media (max-width: 768px) {
  .choir-image img {
    border-radius: 6px;
  }
}

/* Conteneur de la vidéo */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* coins arrondis */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* ombre légère */
  margin: 20px 0;
}

  /* Vidéo responsive */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* la vidéo garde son ratio et remplit le conteneur */
  border-radius: 12px;
}

/* Titre de section */
#video-section h2 {
  text-align: center;
  font-size: clamp(20px, 5vw, 36px);
  margin-bottom: 15px;
}

/* Responsive pour petits écrans */
@media (max-width: 480px) {
  #video-section h2 {
    font-size: clamp(16px, 6vw, 24px);
  }
  .video-container {
    padding-bottom: 56.25%; /* reste 16:9 */
  }
}
