.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.gallery-container img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
}

.gallery-close {
    position: absolute;
    top: -30px;
    right: -30px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.gallery-caption {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 16px;
}
