/* ===================================================
   GalleryPro – Frontend Styles (Bootstrap 5.3 native)
   =================================================== */

/* ----- Gallery item hover ----- */
.gallerypro-item {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.gallerypro-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: auto;
}
.gallerypro-item:hover img {
    transform: scale(1.03);
}

/* ----- Captions (overlay on hover) ----- */
.gallerypro-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 10px;
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallerypro-item:hover .gallerypro-caption {
    opacity: 1;
}

/* ----- Lightbox ----- */
.gallerypro-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}
.gallerypro-lightbox.active {
    opacity: 1;
    visibility: visible;
}
.gallerypro-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}
.gallerypro-lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

