/*GALLERY*/
.gallery {
    width: 100%;
    position: relative;
    padding: 10rem 0 6rem;
    text-align: center;
    background-color: var(--background-color);
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.large-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.thumbs-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-behavior: smooth;
    padding: 5px 0;
}

.thumbs-row img {
    flex: 0 0 auto;
    width: 130px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s;
}

.thumbs-row img.active {
    border: 2px solid #4f46e5;
    /* highlight active thumb */
}