/* ==== Tipografia Geral ==== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
    background-color: #12121200;
    color: #ffffff;
}

/* ==== Navegação ==== */
.navbar {
    background-color: #0d0d0d !important;
    border-bottom: 2px solid #1f1f1f;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00bfff !important;
    letter-spacing: 1px;
}

.nav-link {
    color: #cccccc !important;
    font-weight: 500;
    margin-left: 10px;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* ==== Seções ==== */
section {
    padding: 80px 0;
}

#atividades {
    background: #1c1c1c98;
}

/* ==== Títulos ==== */
h1, h2, h3, h4 {
    font-weight: 600;
    color: #00bfff;
}

/* ==== Botões ==== */
.btn-primary {
    background-color: #00bfff;
    border: none;
    padding: 12px 28px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #009acd;
}

/* ==== Rodapé ==== */
footer {
    background-color: #000000;
    color: #999999;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* ==== Cards de atividades ==== */
#atividades h4 {
    color: #ffffff;
    margin-bottom: 10px;
}

#atividades p {
    color: #cccccc;
}

/* ==== Responsividade ==== */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        margin-left: 0;
        margin-right: 15px;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 10px 24px;
    }

    section {
        padding: 60px 0;
    }
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -100;
}

.video-foreground {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
}

.video-foreground iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55); /* escurecimento opcional */
    z-index: -50;
}

/* ==== Responsividade ==== */

/* Para tablets e dispositivos menores (até 992px) */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 10px 0; /* Adiciona espaçamento vertical no menu hambúrguer */
        text-align: center; /* Centraliza os links */
    }

    .navbar-nav .btn-secondary {
        width: 100%; /* Faz o botão ocupar a largura toda */
    }
}

/* Para celulares (até 768px) */
@media (max-width: 767.98px) {
    /* Ajusta o tamanho da logo na seção principal */
    #quem-somos .logo {
        height: 80px !important;
    }

    /* Reduz o tamanho da fonte para melhor leitura */
    h1.display-4 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Adiciona margem inferior às colunas de atividades para evitar que colem */
    #atividades .col-md-4 {
        margin-bottom: 30px;
    }

    /* Remove a margem do último item para um alinhamento perfeito */
    #atividades .row:last-child .col-md-4:last-child {
        margin-bottom: 0;
    }

    /* Ajusta o padding das seções para telas menores */
    section {
        padding: 60px 20px; /* Adiciona padding lateral */
    }

    /* Ajusta o botão de contato */
    .btn-primary {
        font-size: 1rem;
        padding: 12px 24px;
        width: 100%; /* Faz o botão ocupar a largura toda */
    }
}
