.gallery-section {
    padding: 0 5%;
    background: #f7f4ef;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header span {
    color: #b72716;
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
}

.gallery-header h2 {
    color: #30261b;
    font-size: 3rem;
    margin: 15px 0;
}

.gallery-header p {
    color: #6e655c;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;

    max-height: 680px;
    overflow-y: auto;

    padding-right: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;

    border-radius: 18px;
    cursor: pointer;

    transition: transform .3s ease,
                box-shadow .3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Custom Scrollbar */

.gallery-grid::-webkit-scrollbar {
    width: 10px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: #d29012;
    border-radius: 10px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: #ece7e1;
}

/* Lightbox */

.lightbox {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,.9);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transition: .25s ease;

    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;

    border-radius: 12px;

    transform: scale(.9);
    transition: .25s ease;
}

.lightbox.active img {
    transform: scale(1);
}

@media (max-width: 1000px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}