.gallery-section {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px
}

.album-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0
}

.album-item {
    cursor: pointer;
    text-align: center;
    transition: transform .3s;
    width: 200px
}

.album-item:hover {
    transform: scale(1.05)
}

.album-item.active {
    border-bottom: 3px solid var(--gold)
}

.album-item img {
    border-radius: 5px;
    height: 150px;
    object-fit: cover;
    width: 100%
}

.album-item h3 {
    font-size: 1.1rem;
    margin-top: 10px
}

.gallery-container {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    margin-top: 20px
}

.gallery-item {
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .3s
}

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

.gallery-item img {
    display: block;
    height: 200px;
    object-fit: cover;
    width: 100%
}

.lightbox {
    background-color: rgba(0, 0, 0, .9);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000
}

.lightbox-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center
}

#lightbox-image {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain
}

.image-caption {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 15px;
    text-align: center
}

.close-btn {
    font-weight: 700;
    right: 30px;
    top: 20px
}

.close-btn,
.nav-btn {
    color: #fff;
    cursor: pointer;
    font-size: 40px;
    position: absolute
}

.nav-btn {
    top: 50%;
    transform: translateY(-50%);
    user-select: none
}

.prev-btn {
    left: 30px
}

.next-btn {
    right: 30px
}

@media (max-width:768px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr))
    }

    .album-item {
        width: 150px
    }

    .album-item img {
        height: 120px
    }
}