/* 
 * Améliorations Lightbox pour galerie multi-images
 * À ajouter dans le header après les autres CSS
 */

/* Badge icône pour galerie multi-photos */
.gallery_item__count {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  z-index: 10;
  pointer-events: none;
  width: 36px;
  height: 36px;
}

.gallery_item__count svg {
  width: 20px;
  height: 20px;
}

/* Compteur d'images dans la lightbox */
.lightbox__counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: none;
  letter-spacing: 1px;
}

/* Animation du compteur */
@keyframes fadeInCounter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.lightbox__counter {
  animation: fadeInCounter 0.3s ease-out;
}

/* Amélioration du hover sur les items de galerie */
.gallery_item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery_item__image {
  position: relative;
}

.gallery_item:hover .gallery_item__count {
  transform: scale(1.05);
  transition: transform 0.2s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .gallery_item__count {
    top: 5px;
    right: 5px;
    padding: 6px;
    width: 30px;
    height: 30px;
  }
  
  .gallery_item__count svg {
    width: 16px;
    height: 16px;
  }
  
  .lightbox__counter {
    top: 15px;
    padding: 6px 15px;
    font-size: 12px;
  }
}
