/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--primary);
}

.card-image img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Add zoom icon overlay for thumbnails */
.card-image {
    position: relative;
    overflow: hidden;
}



.card-image:hover img {
    transform: scale(1.05);
}