/* Parbhani Gallery Design */
.branch-parbhani,
.branch-mantha,
.events-section{
    position: relative;
}

.gallery-container{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.gallery-image-container{
    width: 100%;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 16 / 9;
}

.gallery-image-container::after{
    content: attr(data-after-content);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #ffffff;
}

.gallery-image-container:hover::after{
    opacity: 1;
}

.gallery-image-container img,
.gallery-image-container iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-container img:hover{
    transform: scale(1.1);
}

.gallery-bg-screen{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.gallery-bg-screen.active{
    opacity: 1;
}

.gallery-bg-screen img{
    max-width: 600px;
    border-radius: 10px;
    width: 90%;
    object-fit: cover;
    object-position: center;
}