/* Image Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000000;
    transition: color 0.2s ease;
    line-height: 1;
    user-select: none;
}

.lightbox__close:hover,
.lightbox__close:focus {
    color: #ff7473;
}

.lightbox__image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Make feature images clickable */
.feature__image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature__image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox__close {
        top: 10px;
        right: 20px;
        font-size: 36px;
    }

    .lightbox__image {
        max-width: 95%;
        max-height: 95%;
    }
}
