/**
 * Gallery Zoom Overlay Styles
 */

.gallery-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
}

.gallery-zoom-overlay.active {
    display: block;
}

.gallery-zoom-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-zoom-image {
    position: absolute;
    object-fit: contain;
    max-width: 95vw;
    max-height: 90vh;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.gallery-zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary, #FFDB01);
    border: none;
    border-radius: 50%;
    color: var(--color-black, #282828);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: transform 0.2s ease;
    opacity: 0;
}

.gallery-zoom-close:hover {
    transform: scale(1.1);
    background-color: var(--color-white, #fff);
}

.gallery-zoom-close svg {
    width: 20px;
    height: 20px;
}

/* Cursor hint */
.gallery-image-trigger {
    position: relative;
    cursor: pointer;
}

.gallery-image-trigger::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.gallery-image-trigger:hover::after {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-zoom-image {
        max-width: 90vw;
        max-height: 80vh;
    }

    .gallery-zoom-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .gallery-zoom-close svg {
        width: 16px;
        height: 16px;
    }
}
