/* Lightbox - Sistema de Ampliação de Imagens */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 3, 12, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffc300;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffc300;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: -60px;
}

.lightbox-nav.next {
    right: -60px;
}

.lightbox-dots {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.lightbox-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-dot.active {
    background: #ffc300;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    .lightbox-image {
        max-height: 75vh;
    }

    .lightbox-close {
        top: -40px;
        font-size: 2rem;
    }

    .lightbox-nav {
        font-size: 2.5rem;
        padding: 15px;
    }

    .lightbox-nav.prev {
        left: -45px;
    }

    .lightbox-nav.next {
        right: -45px;
    }

    .lightbox-dots {
        gap: 10px;
        margin-top: 15px;
    }

    .lightbox-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .lightbox-nav {
        font-size: 2rem;
        padding: 10px;
    }

    .lightbox-nav.prev {
        left: -35px;
    }

    .lightbox-nav.next {
        right: -35px;
    }

    .lightbox-close {
        top: -35px;
        font-size: 1.8rem;
    }
}
