#fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    z-index: 1000;
}
#fullscreen-overlay.show {
    display: flex;
    opacity: 1;
}
#fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: scale(0.8);
    opacity: 0;
}
#fullscreen-overlay.show #fullscreen-image {
    transform: scale(1);
    opacity: 1;
}
#close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform 0.2s ease;
}
#close-btn:hover {
    transform: scale(1.2);
}