/* Lightbox Overlay */
.venobox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.venobox-overlay.active {
    display: flex;
    opacity: 1;
}

.venobox-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.venobox-image {
    max-height: 80vh;
    max-width: 100%;
    object-fit: contain;
    animation: venobox-fadeIn 0.3s ease;
}

.venobox-caption {
    color: #fff;
    margin-top: 15px;
    font-size: 16px;
}

.venobox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.venobox-close:hover {
    color: #ccc;
}

.venobox-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    box-sizing: border-box;
    pointer-events: none;
}

.venobox-prev,
.venobox-next {
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    pointer-events: auto;
    transition: color 0.3s ease;
    opacity: 0.7;
}

.venobox-prev:hover,
.venobox-next:hover {
    color: #ccc;
    opacity: 1;
}

@keyframes venobox-fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Ensure proper cursor for clickable elements */
.venobox {
    cursor: zoom-in;
    display: block;
    width: 100%;
    height: 100%;
}

.venobox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.venobox:hover img {
    transform: scale(1.03);
}
