/**
 * gallery.css — Chaltakhali R.G.B.C. Institution Gallery Styles
 * Dedicated stylesheet for pages/gallery.php
 */

.gallery-img {
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 220px;
    object-fit: cover;
    width: 100%;
    border-radius: 0.75rem;
}

.gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.album-card {
    transition: transform .3s ease, box-shadow .3s ease;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    background: #ffffff;
    height: 100%;
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.album-cover {
    height: 220px;
    object-fit: cover;
    width: 100%;
    transition: transform .5s ease;
}

.album-card:hover .album-cover {
    transform: scale(1.05);
}

.cat-pill {
    transition: all .2s ease;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 1.15rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

#lightbox-modal .modal-dialog {
    max-width: 90vw;
}

#lightbox-img {
    max-height: 82vh;
    object-fit: contain;
    width: 100%;
    border-radius: 8px;
}
