/* =========================
   SINGLE IMAGE BANNER
========================= */

.home-single-banner {
    /* position: relative; */
    width: 100%;
    /* overflow: hidden; */
}

.banner-image {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.banner-image img {
    width: 100%;
    /* height: 100vh; */
    /* object-fit: cover; */
    display: block;

    transition: transform 0.6s ease;
}

/* Optional hover zoom */
/* .banner-image:hover img {
    transform: scale(1.03);
} */

/* Large Desktop */
/* @media (max-width: 1400px) {
    .banner-image img {
        height: 90vh;
    }
} */

/* Tablet */
@media (max-width: 991px) {
    .banner-image img {
        height: 80vh;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .banner-image img {
        height: auto;
        min-height: 280px;
        object-fit: cover;
    }
}


/* =========================
   UNIVERSAL LIGHTBOX CSS
========================= */

.universal-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;

    z-index: 999999;
    padding: 30px;
}

.universal-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;

    border-radius: 14px;

    transform: scale(0.85);
    transition: transform 0.35s ease;

    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.universal-lightbox.active .lightbox-image {
    transform: scale(1);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;

    font-size: 42px;
    line-height: 1;
    color: #fff;
    cursor: pointer;

    z-index: 20;
    transition: 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* Navigation */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.12);
    color: #fff;

    font-size: 28px;
    cursor: pointer;

    transition: 0.3s ease;
    z-index: 15;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.22);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

/* Clickable images */
img {
    cursor: zoom-in;
}

/* Mobile */
@media (max-width: 768px) {

    .lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 18px;
        font-size: 34px;
    }

    .lightbox-image {
        max-width: 100%;
    }
}

