:root {

    --cor_texto: #beb7a5;

}

* {

    padding: 0;
    margin: 0;
    box-sizing: border-box;

}

body {

    font-family: sans-serif;
    background-color: black;
    
}

p, figcaption {

    color: var(--cor_texto);

}

#conectar_pag {

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

.radio-selection-section {
    
    flex-grow: 1;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#cabecalho {

    background-color: black;
    color: white;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 50px;

    position: fixed; 
    top: 0;          
    width: 100%;
    z-index: 1000;

}

.logo {

    font-size: 2em;
    font-weight: bold;
    margin-left: 10px;

    background-image: url(../img/nome.png);
    height: 90px;
    width: 90px;
    background-size: 100%;
    background-repeat: no-repeat;

}

.menu-site {

    display: flex;
    gap: 20px;
    margin-right: 20px;

}

.menu-site a {

    color: var(--cor_texto);
    text-decoration: none;
    font-weight: 600;

}

.foto_carrossel {

    object-fit: cover;
    object-position: top;
    display: block;
}

#foto_logo {

    object-position: center;

}

.slider-container {

    margin-top: 50px;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.slide {

    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Controle a altura do degradê aqui */
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none; /* Garante que o degradê não atrapalhe cliques no slide */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.integrantes-secao {
    
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    
}

.fotos-integrantes {
    
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1%;
    font-size: 13px;
    flex-wrap: wrap;
    width: 100%;
    
}

.foto-box {

    margin-top: 40px;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    font-weight: bold;
    transition: linear;
}

.foto-box:hover {

    transform: scale(1.02);

}

.foto_integrantes {

    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    
}

.foto-box a {

    text-decoration: none;
    color: black;
    text-align: center;

}

.sobre-secao {
    
    display: flex;
    flex-direction: column;
    
    gap: 20px;
    margin: 20px;
    padding: 20px;


}

.sobre-secao p {

    font-size: 20px;

}

.instagram-feed {

    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    

}

.instagram-gallery {

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1vw;


}

.instagram-gallery blockquote {

    max-width: 100% !important;
    min-width: 0 !important;

}

.contato{

    display: flex;
    gap: 10px;

}

#contratar {

    background-color:rgb(0, 0, 0);

    padding: 20px;
    display: flex;
    
    align-items: center;
    justify-content: space-around;

}

#mensagem_contratar {

    display: flex;
    
    align-items: center;
    justify-content: center;
    gap: 20px;
    
}

#texto_contratar {

    color: var(--cor_texto);
    text-align: center;
    font-size: 30px;
    font-weight: 600;

}

#botao_contratar {

    height: 40px;
    width: 40px;
    background-color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 20px;
    color: white;
    font-weight: 600;
    

}

#botao_contratar:hover {

    color: #25d366;
    background-color: white;
    
    box-shadow: 0px 0px 20px #25d366;
    
}

#logo_contratar {

    background-image: url(../img/itens/logo.jpeg);
    height: 150px;
    width: 150px;
    background-size: 100%;
    background-repeat: no-repeat;

}

footer {

    background-color: black;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 5px;
    width: 100%;
}

#texto_rodape {

    color: var(--cor_texto);

}

.menu-hamburguer, .menu-mobile {
    display: none;
}

.menu-hamburguer {
    background: none;
    border: none;
    color: var(--cor_texto); /* Cor definida na sua root */
    font-size: 2em;
    cursor: pointer;
    margin-right: 15px;
}

.menu-mobile {
    position: fixed;
    top: 50px; /* Abaixo do cabeçalho */
    right: 0;
    width: 250px;
    height: calc(100vh - 50px); /* Altura total menos o cabeçalho */
    background-color: #111; /* Fundo escuro */
    flex-direction: column;
    padding: 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 999;
    
    /* Inicialmente oculto com transição suave */
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
}

.menu-mobile.active {
    transform: translateX(0);
}

.menu-mobile a {
    color: var(--cor_texto);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    width: 100%;
    text-align: left;
}

@media (max-width: 768px) {
    
    /* Oculta o menu de desktop e mostra o menu hamburguer */
    .menu-desktop {
        display: none;
    }

    .menu-hamburguer {
        display: block; /* Mudei para 'block' ou mantenha 'flex' para o botão */
    }
    
    /* CORREÇÃO CRÍTICA: Define o display para que ele possa ser posicionado. 
       No desktop ele está como 'display: none' no bloco fora do media query. */
    .menu-mobile {
        display: flex; /* Adiciona o display: flex para que o menu apareça */
    }

    /* Ajusta a exibição dos Integrantes para mobile */
    .fotos-integrantes {
        
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
    }
    
    /* Ajusta o grid do Instagram para 2 colunas no mobile */
    .instagram-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
    }

    /* Garante que o cabeçalho preencha a tela */
    #cabecalho {
        justify-content: space-between;
    }

    #contratar {

    background-color:rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 20px;
    align-items: center;
    
}

}

@media (max-width: 480px) {
    /* Ajusta o grid do Instagram para 1 coluna em telas muito pequenas */
    .instagram-gallery {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    /* Ajuste de altura Específico para Mobile */
    .slider-container {
        height: 40vh; /* Altura reduzida para mobile (40% da altura da tela) */
    }
    
    /* Ajusta o grid do Instagram para 1 coluna em telas muito pequenas */
    .instagram-gallery {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .sobre-secao p {

    font-size: 15px;

}

}
