
#section_evenement {
    background-color:#ffffffe7;
    /*padding: 20px 0 100px 0 ;*/
    text-align:center; 
    margin-top:30px;
}

#section_evenement h2 {
    /*text-align: left;*/
    margin-bottom: 0px;
    font-size: 40px;
    color: #2e65ca;
    margin-top: 8%;
  
}




/* Section d'une galerie (Carnaval, Noël, etc.) */
.galerie-section {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  margin: 40px auto;
  width: 70%;
  max-width: 80%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.galerie-section h3 {
  font-size: 20px;
  color: #830b88;
  font-weight: 600;
  margin-bottom: 25px;
  border-bottom: 2px solid #830b88;
  padding-bottom: 8px;
  text-transform: uppercase;
}

/* Grille d'albums */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


/* Chaque album */
.album {
  text-align: center;
  background: #fafafa;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.album:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.album img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.album p {
  margin: 12px 0;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

/* Grille de photos (dans album.php) */
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.photos img {
  max-width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.photos img:hover {
  transform: scale(1.05);
}
