/* --- Premium Gallery Carousel Styling --- */
.gallery-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px auto;
    padding: 10px 0;
}

.gallery-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-track img {
    width: 25%;
    flex-shrink: 0;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 20px;
    height: 280px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    filter: brightness(0.95);
}

/* Premium Hover Effect */
.gallery-track img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 28px rgba(0,0,0,0.2), 0 10px 10px rgba(0,0,0,0.15);
    filter: brightness(1);
    z-index: 2;
}

/* Frosted Glass Navigation Buttons */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 20px;
    color: #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev { left: 15px; }
.gallery-next { right: 15px; }

.gallery-prev:hover,
.gallery-next:hover {
    background: #111;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* --- Responsive Breakpoints --- */
@media(max-width: 991px) {
    .gallery-track img { width: 50%; height: 260px; }
}

@media(max-width: 576px) {
    .gallery-track img { width: 100%; height: 240px; }
    .gallery-prev, .gallery-next { width: 40px; height: 40px; font-size: 16px; }
}

/* --- Premium Lightbox (Modal) Styling --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: contain;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

/* Lightbox Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close {
    top: 25px;
    right: 30px;
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    font-size: 24px;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: white;
    color: black;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

@media(max-width: 576px) {
    .lightbox-prev { left: 10px; width: 45px; height: 45px; }
    .lightbox-next { right: 10px; width: 45px; height: 45px; }
    .lightbox-close { top: 15px; right: 15px; }
}


/* ========================================
   ARCHIT BHATT - RECENT EVENT SECTION
======================================== */

.abh-latest-event {
    width: 100%;
    padding: 75px 20px;
    background: #f7f7f7;
    box-sizing: border-box;
}

.abh-event-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* HEADING */

.abh-event-heading {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.abh-small-title {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b88a44;
}

.abh-event-heading h2 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    color: #1d1d1d;
}

.abh-event-meta {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 600;
    color: #777;
}

.abh-event-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}


/* MAIN PHOTO */

.abh-main-photo {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #ddd;
    border-radius: 6px;
}

.abh-main-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.abh-main-photo:hover img {
    transform: scale(1.025);
}


/* SMALL PHOTO GRID */

.abh-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.abh-photo-item {
    height: 230px;
    overflow: hidden;
    background: #ddd;
    border-radius: 5px;
}

.abh-photo-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.abh-photo-item:hover img {
    transform: scale(1.05);
}


/* BOTTOM AREA */

.abh-event-footer {
    margin-top: 30px;
    text-align: center;
}

.abh-tags {
    margin-bottom: 25px;
}

.abh-tags span {
    display: inline-block;
    padding: 7px 15px;
    margin: 4px;
    font-size: 12px;
    letter-spacing: 0.4px;
    color: #666;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
}


/* BUTTON */

.abh-gallery-btn {
    display: inline-block;
    min-width: 180px;
    padding: 13px 28px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff !important;
    background: #222;
    border: 2px solid #222;
    transition: all 0.3s ease;
}

.abh-gallery-btn:hover {
    color: #222 !important;
    background: transparent;
}


/* TABLET */

@media screen and (max-width: 991px) {

    .abh-latest-event {
        padding: 60px 20px;
    }

    .abh-event-heading h2 {
        font-size: 32px;
    }

    .abh-main-photo {
        height: 420px;
    }

    .abh-photo-item {
        height: 190px;
    }
}


/* MOBILE */

@media screen and (max-width: 767px) {

    .abh-latest-event {
        padding: 45px 15px;
    }

    .abh-event-heading {
        margin-bottom: 25px;
    }

    .abh-event-heading h2 {
        font-size: 27px;
    }

    .abh-event-meta {
        font-size: 14px;
        line-height: 1.7;
    }

    .abh-event-intro {
        font-size: 15px;
    }

    .abh-main-photo {
        height: 310px;
    }

    .abh-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 12px;
    }

    .abh-photo-item {
        height: 270px;
    }
}


/* SMALL MOBILE */

@media screen and (max-width: 480px) {

    .abh-event-heading h2 {
        font-size: 24px;
    }

    .abh-main-photo {
        height: 240px;
    }

    .abh-photo-item {
        height: 230px;
    }
}