/* ======================================================
   stylegalerie.css
   Styles spécifiques à la page "Galerie"
   Dépend de style.css (variables :root, navbar…) et bd.css
   ====================================================== */

.gallery {
  display: flex;
  gap: 1.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.image {
  position: relative;
  display: inline-block;
  width: 290px;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(198,149,42,0.3);
  box-shadow: 0 4px 18px rgba(13,27,42,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1rem;
}

.image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(13,27,42,0.25);
}

.image img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #555;
  margin: 0.6rem 0.8rem 1rem;
}

.telecharger-bouton {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(13, 27, 42, 0.85);
  border: 1px solid var(--or-vif);
  color: var(--or-pale);
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease, color 0.2s ease;
}

.image:hover .telecharger-bouton {
  opacity: 1;
}

.telecharger-bouton:hover {
  color: #fff;
}
