/* Marine Carousel - Version avec boutons et fond transparent */

/* Structure principale */
.marine-gallery-wrapper {
  --marine-primary: rgba(30, 136, 229, 0.9);
  --marine-secondary: rgba(13, 71, 161, 0.9);
  --marine-light-bg: rgba(248, 249, 250, 0.8);
  --marine-text-dark: #212529;
  --marine-text-light: #6c757d;
  --marine-border-light: rgba(0, 0, 0, 0.1);
  --carousel-speed: 0.5s;


  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
  flex-wrap: nowrap;
  padding: 20px;
  background-color: var(--marine-light-bg);
  color: var(--marine-text-dark);
  min-height: 450px;
  border-radius: 8px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Conteneur texte */
.marine-text-container {
  width: 35%;
  min-width: 300px;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  margin-right: 20px;
  height: 450px;
  overflow-y: auto;
  border: 1px solid var(--marine-border-light);
  backdrop-filter: blur(5px);
}

/* Conteneur carrousel */
.marine-carousel-container {
  width: 65%;
  min-width: 300px;
  height: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
}

/* Carrousel */
.marine-carousel {
  display: flex;
  height: 100%;
  transition: transform var(--carousel-speed) ease;
}

/* Slides */
.marine-carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Images */
.marine-carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Boutons de navigation */
.carousel-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--marine-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-nav-button:hover {
  background: var(--marine-secondary);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Indicateurs de slide */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--marine-primary);
  transform: scale(1.3);
}

/* Typographie */
.marine-project-title {
font-family: 'Verdana', Arial, sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--marine-secondary);
  border-bottom: 2px solid var(--marine-border-light);
  padding-bottom: 10px;
}

.marine-project-description {
  font-family: 'Verdana', Arial, sans-serif;
 font-size: 14px;
  text-align: justify;
  text-justify: inter-word; /* Pour une meilleure rÃ©partition */
  hyphens: auto; /* CÃ©sure des mots si nÃ©cessaire */
  margin-bottom: 15px;
}



/* Responsive */
@media (max-width: 992px) {
  .marine-gallery-wrapper {
    flex-direction: column;
  }
  
  .marine-text-container,
  .marine-carousel-container {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .marine-carousel-container {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .marine-carousel-container {
    height: 250px;
  }
  
  .carousel-nav-button {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

