.quote {
    text-align: center;
    padding: 50px 10px 50px 10px;
    max-width: 1500px;
    margin: 0 auto;
}

.quote p {
    font-style: normal;
    font-size: 1.9rem;
    font-weight: 600;
}

.journal-gallery {
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
}

h2 {
    text-align: left;
    font-weight: 600;
    margin-bottom: 30px;
    margin-left: 30px;
}

.image-grid {
    display: flex;
    justify-content: space-between; 
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

.image-item {
    position: relative;
    flex: 1;
}

.image-item img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.image-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 33, 26, 0.7);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 60px;
}

.image-item:hover .overlay {
    opacity: 1;
}

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    object-fit: contain;
}

.image-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.youtube-gallery p {
    margin-left: 30px;
}

.youtube-gallery {
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
}

/*.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.carousel-item {
    flex: 0 0 auto;
    height: 400px;
    cursor: pointer;
}

.carousel-item img {
    height: 100%;
    width: auto;
    border-radius: 10px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev img,
.carousel-next img {
    width: 40px;
    height: 40px;
}

.carousel-prev { left: -50px; }
.carousel-next { right: -50px; }

.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.video-modal iframe {
    max-width: 90%;
    max-height: 90%;
}

.video-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}*/

/*-_-_-_-_-_-GALERIE D'IMAGES-_-_-_-_-_-*/

.image-gallery {
    width: 100%;
    padding: 50px 20px 50px 20px;
    box-sizing: border-box;
}

.image-gallery h2 {
    text-align: left;
    font-weight: 600;
    margin-bottom: 30px;
}

.gallery-grid {
    column-count: 4;
    column-gap: 15px;
}

.gallery-item {
    margin-bottom: 15px;
    break-inside: avoid;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

/* Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 2;
    }

    .image-grid {
        flex-direction: column;
    }

    .quote {
        padding: 20px 10px;
    }

    .quote p {
        font-size: 1.05rem;
    }
}