/* Advanced Lightbox Styles */
#shl-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#shl-lightbox.active {
    display: flex;
    opacity: 1;
}

#shl-lightbox .lightbox-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

#shl-lightbox .lightbox-media {
    flex: 1;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 300px;
}

#shl-lightbox .lightbox-media img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

#shl-lightbox .lightbox-details {
    padding: 25px;
    background: #fff;
    color: #333;
    overflow-y: auto;
    max-height: 30vh;
    border-top: 1px solid #eee;
}

#shl-lightbox .lightbox-details h4 {
    margin-top: 0;
    color: #0b1a3d; /* SHL Dark blue */
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#shl-lightbox .lightbox-details p {
    line-height: 1.6;
    margin-bottom: 0;
}

#shl-lightbox .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#shl-lightbox .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    z-index: 10;
}

#shl-lightbox .nav-btn:hover {
    background: rgba(255,255,255,0.2);
}

#shl-lightbox .prev { left: 10px; }
#shl-lightbox .next { right: 10px; }

@media (max-width: 768px) {
    #shl-lightbox .lightbox-container {
        width: 95%;
    }
    #shl-lightbox .nav-btn {
        font-size: 25px;
        padding: 5px 10px;
    }
}
