.pictures {
    text-align: center;
    padding: 6rem 2vw 4rem 2vw;
}
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 95vw;
    margin: 0 auto;
}
.gallery {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem 0;
    max-width: 1100px;
    width: 90vw;
    scrollbar-width: none;
}
.gallery::-webkit-scrollbar {
    display: none;
}
.gallery img {
    width: 340px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    flex-shrink: 0;
}
.gallery-arrow {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: 0 0.5rem;
    transition: background 0.2s;
}
.gallery-arrow:hover {
    background: #f0f0f0;
}
.gallery-spacer {
    height: 200px;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.lightbox.hidden {
    display: none;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(255,255,255,0.2);
}

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

@media (max-width: 700px) {
    .gallery-wrapper {
        overflow-x: auto;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
    }
    .gallery {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100vw;
        -webkit-overflow-scrolling: touch;
    }
    .gallery-arrow {
        display: none !important;
    }
}
