/* ==========================================
   🎨 GALERIE D'IMAGES
   Inspiré du style de services.css
========================================== */

#galerie-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#galerie-section h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.galerie-description {
  color: #666;
  margin-bottom: 40px;
  font-size: 16px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
  padding: 0 10px;
}

.galerie-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galerie-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}
/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Lightbox content */
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Bouton fermer */
.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 32px;
  color: white;
  background-color: #FF3B30;
  border-radius: 50%;
  padding: 2px 12px;
  cursor: pointer;
}
