.galeri {
    width: 100%;
    min-height: 100vh;
    height: auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 110px;
    padding-bottom: 30px;
    margin-top: 10px;
}

.banner {
    position: relative;
    width: 85%;
    max-width: 1200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background-color: rgb(252, 246, 225);
    padding: 20px 0px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.banner:hover {
    transform: translateY(-15px);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.123);
    transition: 0.3s ease;
}

.bannerArea {
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.bannerLeft {
    width: auto;
    flex: 1;
}

.bannerLeft h1 {
    width: 85%;
    font-size: 30px;
    font-weight: 900;
    color: rgb(26, 26, 26);
    margin: 0px 0px 10px 0px;
}

.bannerLeft p {
    width: 90%;
    font-size: 18px;
    color: rgb(26, 26, 26);
    margin: 0px 0px 15px 0px;
}

.bannerLeft span {
    font-size: 18px;
    color: rgb(0, 102, 204);
    text-decoration: none;
    margin: 0px 0px 0px 0px;
}

.bannerRight {
    width: auto;
    height: 100%;
}

.bannerRight img {
    width: auto;
    height: 200px;
}

/* GRID GALERI */
.gallery {
    width: 85%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    width: 100%;

    overflow: hidden;
    border-radius: 12px;
    background: #ddd;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* OVERLAY CAPTION */
/* .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
    opacity: 1;
} */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}


.lightbox.show {
    opacity: 1;
    visibility: visible;
}


.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    /* pastikan tidak terpotong */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}


.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.pagination {
    width: 85%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
    gap: 10px;
}

.pagination-btn {
    padding: 15px 15px;
    border: none;
    background-color: rgb(219, 219, 219);
    color: #000000;
    cursor: pointer;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.pagination-btn:hover:not(.pagination-active) {
    background-color: rgb(190, 190, 190);
}

.pagination-active {
    background-color: #ff961e;
    color: #000000;
}


@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

@media (min-width: 800px) {
    .galeri {
        padding-top: 110px;
    }
}

@media (max-width: 800px) {
    .galeri {
        padding-top: 85px;
    }

    .bannerArea {
        flex-direction: column;
    }

    .bannerRight {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: end;
    }

    .bannerRight img {
        height: 150px;
    }
}

@media (max-width: 450px) {

    .bannerArea {
        width: 85%;
    }

    .bannerLeft h1 {
        font-size: 25px;
    }

    .bannerLeft p {
        font-size: 15px;
    }

    .bannerLeft span {
        font-size: 15px;
    }

    .bannerRight img {
        height: 100px;
        margin-right: 10px;
    }
}

@media (max-width: 600px) {
    .pagination-btn {
        padding: 3vw 3vw;
        font-size: 3.5vw;
    }

    .pagination {
        gap: 1%;
    }
}

@media (max-width: 400px) {
    .pagination-btn {
        padding: 10px 15px;
        font-size: 15px;
    }

    .pagination {
        gap: 1%;
    }
}