/* Section de galerie */
#gouvernorat-gallery-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titre de la section */
#gouvernorat-gallery-section .gov-section-title {
    color: #104293; /* Bleu primaire */
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Cooper Hewitt', sans-serif; /* Police pour les titres */
}

#gouvernorat-gallery-section .gov-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #104293; /* Bleu primaire */
}

/* Date de l'événement */
#gouvernorat-gallery-section .gov-event-date {
    display: inline-block;
    background-color: #104293; /* Bleu primaire */
    color: #ffffff; /* Blanc */
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin: 1rem 0;
    box-shadow: 0 3px 6px rgba(16, 66, 147, 0.3);
    font-family: 'Poppins', sans-serif; /* Police pour le corps du texte */
}

/* Sous-titre de la galerie */
#gouvernorat-gallery-section .gov-gallery-subtitle {
    font-size: 1.5rem;
    color: #333; /* Gris foncé */
    margin: 1.5rem 0 1rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Cooper Hewitt', sans-serif; /* Police pour les titres */
}

/* Conteneur de la galerie */
#gouvernorat-gallery-section .gov-gallery-container {
    background-color: #e6f0fa;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    text-align: center;
}

/* Liste des images */
#gouvernorat-gallery-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 1.5rem;
}

#gouvernorat-gallery-section ul li {
    flex: 1 1 300px;
    max-width: 400px;
}

#gouvernorat-gallery-section ul li img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #ffffff; /* Blanc */
}

#gouvernorat-gallery-section ul li img:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

/* Info de l'événement */
#gouvernorat-gallery-section .gov-event-info {
    background-color: #f0f7ff;
    border-left: 5px solid #104293; /* Bleu primaire */
    padding: 15px;
    margin-bottom: 1.5rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif; /* Police pour le corps du texte */
}

/* Style pour le modal plein écran */
#gov-fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#gov-fullscreen-modal.active {
    display: flex;
    opacity: 1;
}

#gov-fullscreen-modal .gov-fullscreen-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

#gov-fullscreen-modal .gov-fullscreen-img {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

#gov-fullscreen-modal .gov-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff; /* Blanc */
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 2001;
    transition: transform 0.2s ease;
}

#gov-fullscreen-modal .gov-fullscreen-close:hover {
    transform: scale(1.1);
    color: #DB3832; /* Rouge pour le survol */
}

#gov-fullscreen-modal .gov-fullscreen-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
}

#gov-fullscreen-modal .gov-fullscreen-nav button {
    background: none;
    border: none;
    color: #ffffff; /* Blanc */
    font-size: 3rem;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
}

#gov-fullscreen-modal .gov-fullscreen-nav button:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #0095C9; /* Bleu secondaire pour le survol */
}

body.gov-modal-open {
    overflow: hidden;
}