/* Galeria de Imagens - Estilos CSS */
.mod-gallery {
    margin: 20px 0;
}

.mod-gallery .gallery-description {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 4px;
}

.mod-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.mod-gallery .gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mod-gallery .gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mod-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.mod-gallery .gallery-thumb {
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.mod-gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.mod-gallery .gallery-zoom-icon {
    color: white;
    font-size: 24px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10000;
}

.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-lightbox-close {
    top: -15px;
    right: -15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-prev {
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-next {
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    font-size: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-content {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
}

.gallery-lightbox-info {
    padding: 15px 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.gallery-lightbox-filename {
    font-weight: 500;
}

.gallery-lightbox-counter {
    font-size: 12px;
}

/* Media Queries - Responsivo */
@media (max-width: 768px) {
    .mod-gallery .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .gallery-lightbox-prev {
        left: 10px;
        top: 10px;
        transform: none;
    }

    .gallery-lightbox-next {
        right: 10px;
        top: 10px;
        transform: none;
    }

    .gallery-lightbox-close {
        top: 10px;
        right: 50%;
        transform: translateX(50%);
    }

    .gallery-lightbox-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .gallery-lightbox-image {
        max-height: 70vh;
    }
}
/* Fim do arquivo gallery.css */