/* Galeria Simples - Estilos Frontend */
.gs-galeria-container {
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

.gs-grid {
    display: grid;
    grid-gap: 20px;
    margin: 0 auto;
}

.gs-colunas-1 { grid-template-columns: 1fr; }
.gs-colunas-2 { grid-template-columns: repeat(2, 1fr); }
.gs-colunas-3 { grid-template-columns: repeat(3, 1fr); }
.gs-colunas-4 { grid-template-columns: repeat(4, 1fr); }

.gs-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gs-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gs-imagem-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.gs-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gs-item:hover .gs-imagem {
    transform: scale(1.05);
}

.gs-lightbox-link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.gs-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.gs-item:hover .gs-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.gs-overlay-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gs-item:hover .gs-overlay-text {
    opacity: 1;
    transform: translateY(0);
}

.gs-acoes {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.gs-item:hover .gs-acoes {
    opacity: 1;
    transform: translateY(0);
}

.gs-btn-download,
.gs-btn-facebook,
.gs-btn-whatsapp {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gs-btn-download:hover,
.gs-btn-facebook:hover,
.gs-btn-whatsapp:hover {
    transform: scale(1.1);
}

.gs-btn-download {
    background: #28a745;
}

.gs-btn-download:hover {
    background: #218838;
}

.gs-btn-facebook {
    background: #3b5998;
}

.gs-btn-facebook:hover {
    background: #344e86;
}

.gs-btn-whatsapp {
    background: #25D366;
}

.gs-btn-whatsapp:hover {
    background: #1da851;
}

.gs-icone-download,
.gs-icone-facebook,
.gs-icone-whatsapp {
    font-size: 16px;
    font-weight: bold;
}

.gs-icone-download:before { content: "↓"; }
.gs-icone-facebook:before { content: "f"; }
.gs-icone-whatsapp:before { content: "ⓦ"; }

.gs-compartilhamento {
    display: flex;
    gap: 10px;
}

.gs-info {
    padding: 20px;
}

.gs-titulo {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
    line-height: 1.4;
}

.gs-descricao {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Mensagem de acesso */
.gs-mensagem-acesso {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}

.gs-mensagem-conteudo {
    max-width: 400px;
    margin: 0 auto;
}

.gs-mensagem-acesso p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #495057;
}

.gs-btn-login {
    display: inline-block;
    padding: 10px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.gs-btn-login:hover {
    background: #0056b3;
    color: white;
}

/* Responsividade */
@media (max-width: 1024px) {
    .gs-colunas-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .gs-colunas-4,
    .gs-colunas-3 { grid-template-columns: repeat(2, 1fr); }
    
    .gs-colunas-2 { grid-template-columns: 1fr; }
    
    .gs-galeria-container {
        padding: 15px;
    }
    
    .gs-grid {
        grid-gap: 15px;
    }
}

@media (max-width: 480px) {
    .gs-colunas-4,
    .gs-colunas-3,
    .gs-colunas-2 { grid-template-columns: 1fr; }
    
    .gs-info {
        padding: 15px;
    }
    
    .gs-titulo {
        font-size: 16px;
    }
    
    .gs-descricao {
        font-size: 13px;
    }
}

/* Ajustes para lightbox */
.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.4;
}

.lb-nav a.lb-next,
.lb-nav a.lb-prev {
    opacity: 0.8;
}