/* ============================================
   ESTILOS EXCLUSIVOS PARA GALERIA - CLUBY
   ============================================ */

        
.clubx-gallery {
    background: #000;
    width: 100%;
    padding: 0 40px;
    margin-bottom: 80px;
}

.clubx-gallery .clubx-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px
}

.clubx-gallery .clubx-gallery-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
   border: 1px solid #D6B377;
}

.clubx-gallery .clubx-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.clubx-gallery .clubx-gallery-item:hover .clubx-gallery-image {
    transform: scale(1.1);
}

/* ============================================
   OVERLAY
   ============================================ */

.cluby-gallery-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: none;
}

.clubx-gallery-item:hover .cluby-gallery-overlay {
    opacity: 1;
    pointer-events: auto; /* ✅ só ativa quando visível */
}

.cluby-conteudo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */ /* REMOVIDO - centralizava horizontalmente */
    align-items: flex-start; /* ADICIONADO - alinha à esquerda */
    padding: 2rem;
    text-align: left; /* ADICIONADO - texto alinhado à esquerda */
}

.cluby-titulo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    text-align: left; /* ADICIONADO - alinhado à esquerda */
    width: 100%; /* ADICIONADO - garante ocupar toda largura */
}

.cluby-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* align-items: center; */ /* REMOVIDO */
    align-items: flex-start; /* ADICIONADO - alinha à esquerda */
    width: 100%; /* ADICIONADO - garante ocupar toda largura */
}

.cluby-data,
.cluby-horario,
.cluby-local {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.4;
    position: relative;
    padding-left: 1.5rem;
    text-align: left; /* ADICIONADO - alinhado à esquerda */
    width: 100%; /* ADICIONADO - garante ocupar toda largura */
}

.cluby-data::before    { content: "📅"; position: absolute; left: 0; }
.cluby-horario::before { content: "⏰"; position: absolute; left: 0; }
.cluby-local::before   { content: "📍"; position: absolute; left: 0; }

/* ============================================
   TEXTO COMPARTILHAR — simples, sem borda
   ============================================ */

.cluby-compartilhar {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    cursor: pointer;
    background: none;
    border: 1px solid #D6B377;
    border-radius: 4px;
    padding: 4px 12px;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    text-align: center; /* ADICIONADO - alinhado à esquerda */
    align-self: center; /* ADICIONADO - alinha o botão à esquerda */
}

.cluby-compartilhar:hover {
    opacity: 0.75;
}

/* ============================================
   CORES DOS OVERLAYS
   ============================================ */

.clubx-gallery-overlay {
    background: linear-gradient(135deg, rgba(192, 38, 211, 0.85), rgba(124, 58, 237, 0.85));
}

.cluby-gallery-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.clubz-gallery-overlay {
    background: linear-gradient(135deg, rgba(0,255,0,0.85), rgba(0,200,0,0.85));
}

.clubw-gallery-overlay {
    background: linear-gradient(135deg, rgba(0,0,255,0.85), rgba(0,0,200,0.85));
}

.clubx-gallery .clubx-gallery-title {
    font-size: 1.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #e4e4e4;
    margin: 0;
    text-align: center;
}

/* ============================================
           RESPONSIVIDADE
           ============================================ */

@media (max-width: 1024px) {
    .clubx-gallery { 
        padding: 0 0 3rem; 
    }
    
    .clubx-gallery .clubx-gallery-grid {
        padding: 0 40px;
        gap: 1.25rem;
    }
    
    .cluby-titulo { 
        font-size: 1.35rem; 
    }
    
    .cluby-data, 
    .cluby-horario, 
    .cluby-local { 
        font-size: 1rem; 
    }
    
    .clubx-gallery .clubx-gallery-title { 
        font-size: 1.375rem;
        padding: 0 40px;
    }
    
    .linha-elegante-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .clubx-gallery .clubx-gallery-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.25rem;
        padding: 0 30px;
        margin-bottom: 20px;
    }
    
    .clubx-gallery { 
        padding: 0 0 2.5rem; 
    }
    
    .cluby-titulo { 
        font-size: 1.5rem; 
    }
    
    .cluby-conteudo { 
        padding: 1.5rem; 
    }
    
    .clubx-gallery .clubx-gallery-title {
        padding: 0 30px;
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .linha-elegante-container {
        padding: 0 30px;
    }
}

@media (max-width: 480px) {
    .clubx-gallery .clubx-gallery-grid { 
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 1rem;
    }
    
    .cluby-titulo { 
        font-size: 1.3rem; 
    }
    
    .clubx-gallery .clubx-gallery-title {
        padding: 0 20px;
        font-size: 1.125rem;
    }
    
    .linha-elegante-container {
        padding: 0 20px;
    }
    
    .cluby-conteudo {
        padding: 1rem;
    }
    
    .cluby-data,
    .cluby-horario,
    .cluby-local {
        font-size: 0.8rem;
    }
}