/* Fancybox CSS - Essential styles for lightbox functionality */
.fancybox-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99992;
    background: rgba(0, 0, 0, 0.9);
    display: none;
}

.fancybox-container.is-open {
    display: block;
}

.fancybox-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.fancybox-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fancybox-slide {
    position: relative;
    text-align: center;
}

.fancybox-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fancybox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 99993;
}

.fancybox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.fancybox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 99993;
}

.fancybox-prev {
    left: 20px;
}

.fancybox-next {
    right: 20px;
}

.fancybox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.fancybox-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}
