/* Lightroom image wrapper */
.lightroom-image-wrapper {
    margin: 2rem auto;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Expand icon */
.expand-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.lightroom-image-wrapper:hover .expand-icon {
    opacity: 1;
    pointer-events: auto;
}

.expand-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.expand-icon:hover {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.9);
}

/* Lightbox modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.lightbox img:hover {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lightbox img {
        max-width: 95%;
        max-height: 95%;
    }
    
    .expand-icon {
        width: 36px;
        height: 36px;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .expand-icon svg {
        width: 20px;
        height: 20px;
    }
} 