/* 黑底全屏展示區 */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.image-overlay.show {
    display: flex;
}

/* 放大圖片樣式 */
.image-overlay img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* 關閉按鈕 */
.image-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

 .image-overlay .close-btn:hover {
    color: white;
}