/* Styles pour la lightbox des carrousels */

#carousel-lightbox-modal .modal-content {
  background-color: rgba(0, 0, 0, 0.95) !important;
}

#carousel-lightbox-modal .modal-body {
  min-height: 100vh;
  padding: 0;
}

#lightbox-image {
  transition: opacity 0.3s ease-in-out;
}

#lightbox-image.loading {
  opacity: 0.5;
}

.lightbox-nav-btn {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border: none;
  padding: 0;
}

.lightbox-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: white !important;
}

.lightbox-nav-btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}

#lightbox-counter {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

/* Curseur pointer sur les images du carrousel */
.carousel-item img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.carousel-item img:hover {
  transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.5rem !important;
  }

  .lightbox-nav-btn.start-0 {
    left: 0.5rem !important;
  }

  .lightbox-nav-btn.end-0 {
    right: 0.5rem !important;
  }
}

