/* Styles généraux */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ff0000; /* Fond noir profond */
    color: #fff;
}

/* Section Galerie */
.galerie-section {
    padding: 40px 20px;
    background-color: #ff0000;
    min-height: 100vh;
}

.galerie-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Encadrement des photos */
.galerie-item {
    background-color: #0a0a0a; /* Noir très sombre */
    border: 1px solid #222; /* Bordure discrète par défaut */
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.4s ease; /* Transition douce pour tout l'encadré */
    overflow: hidden; /* Pour que le zoom de l'image ne dépasse pas */
}

/* Effet au survol de l'encadré */
.galerie-item:hover {
    border-color: #ff0000; /* La bordure devient rouge au survol */
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.3); /* Lueur rouge diffuse */
    transform: translateY(-5px); /* Soulève légèrement l'item */
}

/* Style de l'image */
.galerie-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 12px;
    border: 1px solid #333;
    transition: transform 0.6s ease, filter 0.6s ease; /* Effets de zoom et flou */
}

/* --- EFFET DEMANDÉ : Zoom + Flou au survol --- */
.galerie-item:hover img {
    transform: scale(1.1); /* Agrandissement de 10% */
   
}

/* Description */
.image-description {
    font-size: 0.85em;
    color: #888;
    margin: 0;
    padding: 5px;
    transition: color 0.3s ease;
}

.galerie-item:hover .image-description {
    color: #e63946; /* La description devient rouge au survol */
}

/* Boutons de retour personnalisés en Rouge et Noir */
.retour-container {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.bouton-retour {
    display: inline-block;
    background-color: transparent;
    color: #e63946; /* Texte rouge */
    border: 2px solid #e63946; /* Bordure rouge */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.bouton-retour:hover {
    background-color: #e63946; /* Fond rouge au survol */
    color: #000; /* Texte noir au survol */
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

/* Responsive */
@media (max-width: 1024px) { .galerie-container { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .galerie-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .galerie-container { grid-template-columns: 1fr; } }

