
/* ---------- placement Grid ---------- */
/* .photo-placement{
    border: 1px solid red;
    background: url("\images/campus-zone.jpeg") no-repeat center center / cover;
} */
.photo-placement {
   background: #fbc51d ;
}

.galleryHero {
    padding: 100px 20px;
    text-align: center;
    color: #000;
    background: linear-gradient(135deg, #FFE01A 0%, #FF8C42 40%, #EC2825 100%);
    box-shadow: 0px 8px 30px rgba(0,0,0,0.12);
}
.gallery-items {
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    /* border: 10px solid #EC2825; */
    /* padding: 12px; */
}
.gallery-items img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-items:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    padding-top: 4%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.9);
    text-align: center;
}

.lightbox-content {
    width: 80%;
    max-height: 80vh;
    object-fit: contain;
    /* border-radius: 10px; */
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);      
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none; 
}

.gallery-items:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    background: #ffc107;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
} 
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    color: var(--color-red);
}

.prev {
    left: 30px;
}

.next { 
    right: 30px;
}

@media (max-width:685px) {
    .prev, .next {
        top: 85%;
    }

    .prev {
        left: 65px;
    }

    .next {
        right: 65px;
    }

    .lightbox-content{
        margin-top: 70px;
    } 
}

