.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 equal-width columns */
    gap: 50px; /* very tight gap between cells (both rows & columns) */
    padding: 0 20px;
    justify-content: center;
}

.cell {
    width: 100%;
    background: rgba(255, 178, 37, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cell:hover {
    transform: scale(1.02);
}

.cell img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #06133D;
    display: block;
}

.info-text {
    font-size: 18px;
    margin: 10px 0;
    text-align: center;
    padding: 0 12px;
}
.info-text h3{
    font-size: 23px;
}

/* Étend la lightbox au maximum de l'écran */
.glightbox-container {
    padding: 0 !important;
}

.glightbox-slide {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.lightbox-fullscreen {
    width: 100vw;
    height: 100vh;
    overflow: auto;
    padding: 2rem;
    background-color: #F7E3C5;
    box-sizing: border-box;
}

/* Supprimer les barres de scroll inutiles */
body.glightbox-open {
    overflow: hidden !important;
}

.glightbox-inline-content h2 {
    font-size: 2rem;
    margin-top: 0;
}
