/* =========================================
   1. RESET E CONFIGURAÇÕES GLOBAIS
   ========================================= */
body {
    background-color: #121212; /* Fundo preto/cinza escuro */
    color: #e0e0e0; /* Texto claro */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding-top: 76px; /* Espaço para compensar a navbar fixa */
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
}

/* Cor de Destaque (Azul Neon) */
.text-primary {
    color: #0d6efd !important;
}

/* Fundo Alternativo para diferenciar seções */
.bg-darker {
    background-color: #0a0a0a;
}

/* =========================================
   2. NAVBAR / CABEÇALHO
   ========================================= */
.bg-black {
    background-color: #000000 !important;
}

/* Logo com Animação Beat (Batida) */
.navbar-brand img {
    border-radius: 0 !important; /* Remove arredondamento */
    animation: dj-beat 2s infinite; 
    transition: transform 0.3s;
}

/* Definição da Animação Beat */
@keyframes dj-beat {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 5px rgba(13, 110, 253, 0.5)); } /* Pulsa com brilho azul */
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0,0,0,0)); }
}

/* Links do Menu */
.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #0d6efd !important;
}

/* Menu Hambúrguer (Mobile) */
.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

/* Fundo Preto Sólido quando abre o menu no celular */
.navbar-collapse.show {
    background-color: #000;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 20px;
    border-bottom: 2px solid #222;
    box-shadow: 0 10px 20px rgba(0,0,0,0.9);
}

/* =========================================
   3. SLIDES (CARROSSEL)
   ========================================= */
.slide-img {
    height: 100vh; /* Ocupa a tela toda no PC */
    object-fit: cover;
    filter: brightness(0.6); /* Escurece imagem para texto aparecer */
}

/* Container de Posicionamento da Legenda */
.caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 5rem;
    text-align: left; /* Padrão PC: Esquerda */
    z-index: 10;
}

/* Caixa de Texto (Fundo translúcido) */
.caption-content {
    background: rgba(0, 0, 0, 0.7);
    display: inline-block;
    padding: 25px 40px;
    border-left: 6px solid #0d6efd; /* Borda Azul na Esquerda */
    backdrop-filter: blur(5px);
    
    /* Afastamento no Desktop */
    margin-left: 10%; 
    max-width: 50%;
    border-radius: 0 10px 10px 0;
}

/* Tipografia do Slide */
.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.slide-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #ddd;
}

/* =========================================
   4. AGENDA (CARDS)
   ========================================= */
.event-card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    color: #fff;
    transition: transform 0.3s, border-color 0.3s;
}

.event-card:hover {
    transform: translateY(-5px); /* Sobe levemente */
    border-color: #555;
}

.date-badge {
    color: #0d6efd;
    border: 1px solid #0d6efd;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* =========================================
   5. GALERIA ANIMADA (ZOOM)
   ========================================= */
.gallery-item {
    overflow: hidden; /* Importante: impede que a imagem saia do quadrado ao dar zoom */
    border-radius: 8px;
    background: #000; /* Fundo caso a imagem demore a carregar */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.gallery-item img {
    width: 100%;
    height: 220px; /* Altura fixa para manter o grid alinhado */
    object-fit: cover; /* Corta a imagem para preencher o quadrado */
    cursor: pointer;
    
    /* Configuração da Animação Suave */
    transition: transform 0.5s ease, filter 0.5s ease;
}

/* Efeito Hover (Ao passar o mouse) */
.gallery-item:hover img {
    transform: scale(1.1); /* Aumenta 10% */
    filter: brightness(1.15); /* Aumenta brilho */
}

/* =========================================
   6. RODAPÉ (FOOTER)
   ========================================= */
.footer-logo {
    max-height: 80px;
}

.dev-logo {
    max-height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.dev-logo:hover {
    opacity: 1;
}

/* =========================================
   7. BOTÕES FLUTUANTES (WHATSAPP/TOPO)
   ========================================= */
.btn-float {
    position: fixed;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    z-index: 1050; /* Fica acima de tudo */
    font-size: 28px;
    transition: transform 0.3s ease;
}

.btn-float:hover {
    transform: scale(1.1);
}

/* WhatsApp (Esquerda) */
.btn-whatsapp {
    left: 25px;
    background-color: #25d366;
    color: white;
}
.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
}

/* Topo (Direita) */
.btn-topo {
    right: 25px;
    background-color: #212529;
    color: white;
    border: 1px solid #444;
}
.btn-topo:hover {
    background-color: #000;
    color: #0d6efd;
}

/* =========================================
   8. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================= */
@media (max-width: 991px) {
    
    /* Ajuste Header */
    body { padding-top: 66px; }
    .navbar-brand img { height: 40px; }

    /* Ajuste Slides */
    .slide-img {
        height: 60vh; /* Diminui altura para ver conteúdo abaixo */
    }

    .caption-custom {
        text-align: center; /* Centraliza texto no celular */
        padding-bottom: 3rem;
    }

    .caption-content {
        margin-left: 0;
        max-width: 90%; /* Ocupa largura quase total */
        
        /* Muda a borda da esquerda para baixo */
        border-left: none;
        border-bottom: 4px solid #0d6efd;
        
        border-radius: 10px;
        padding: 15px 20px;
    }

    .slide-title {
        font-size: 1.8rem; /* Fonte menor */
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    /* Ajuste Galeria Mobile */
    .gallery-item img {
        height: 180px; /* Imagens um pouco menores no celular */
    }

    /* Ajuste Botões Flutuantes */
    .btn-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
    }
    .btn-whatsapp { left: 15px; }
    .btn-topo { right: 15px; }
}