
.gallery-header {
    text-align: center;
    padding: 3rem 1rem 1rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.gallery-header h1 {
    font-size: 2.5rem;
    color: #009688;
    margin-bottom: 0.5rem;
}

.gallery-header p {
    font-size: 1.6rem;
    color: #666;
}

.filters {
    text-align: center;
    margin: 2rem 0;
}

.filters button {
    background: #111827;
    color: #fff;
    border: none;
    padding: 1rem 1.4rem;
    margin: 0.3rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    border-radius: 5px;
    font-size: 1.4rem;
}

.filters button:hover {
    color: #4ade80;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1rem 2rem;
}

.gallery-item {
    background: #222;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-item iframe {
    width: 100%;
    height: 200px;
    border: none;
}


/* Fixe les dimensions du conteneur de l'image lightbox */
#lightbox .lb-image {
    width: 800px !important;
    height: 500px !important;
    object-fit: cover;
    object-position: center;
}

/* Centrer le conteneur dans l’écran */
#lightbox .lb-outerContainer {
    width: 800px !important;
    height: 500px !important;
    max-width: none !important;
}

/* Empêche le redimensionnement automatique */
#lightbox .lb-container {
    width: 800px !important;
    height: 500px !important;
}

