/* 
* Lightbox Styles for Gallery
*/

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.lightbox-close:hover {
    color: var(--navy-800);
}

/* Animation for lightbox */
.lightbox {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Accessibility enhancements */
.lightbox-close:focus {
    outline: 3px solid var(--navy-800);
    outline-offset: 2px;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .lightbox-content img {
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: -30px;
        font-size: 24px;
    }
} 