/* Importação da Fonte (do Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #1580ea;
    background: linear-gradient(rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.05)), url('https://www.transparenttextures.com/patterns/cubes.png');
    background-color: #5b5b5b;


}

/* --- Cabeçalho e Navegação --- */
.hotbar {
    background: #2f2e2edb;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgb(0, 0, 0);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1580ea;
    text-decoration: none;
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1580ea;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
}

/* Menu Hambúrguer - Estilos */

/* Botão do Menu Hambúrguer */
.menu-toggle {
    display: flex;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-toggle:hover {
    background: #555;
    transform: scale(1.05);
}

.menu-toggle.active {
    background: #1580ea;
}

/* Menu Hambúrguer para telas pequenas */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* começa escondido fora da tela */
        width: 220px;
        height: 100vh;
        background: #2c3e50;
        flex-direction: column;
        padding: 60px 10px 20px;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease; /* transição suave */
        z-index: 1000; /* deve estar acima do conteúdo, mas abaixo do botão */
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0; /* mostra o menu */
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        font-size: 18px;
        padding: 12px 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-menu li a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
    }
}


/* Desktop - menu normal */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
}

/* Classe helper para esconder elementos */
.hidden {
    display: none;
}

/* --- DS --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-top: 90px;
    /* Espaço para o header fixo */
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #004183;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: #ffffff;
    text-align: left;
    /* Adicionado para alinhar o texto à esquerda */
    margin-left: 0;
    /* Removido o centramento do bloco */
    margin-right: 0;
    /* Removido o centramento do bloco */
}

/* Acesso a bio */
.bio-section{
    background-color: #0560ba;
}

.bio-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.bio-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%; /* duas colunas */
    max-width: 350px;
}

.bio-btn {
    padding: 10px 20px;
    background: #2f2286;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 10px;
}

.bio-btn:hover {
    background: #6152b3;
}

.bio-content {
    background: #f0f0f0;
    width: 100%;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #ccc;
}

.hidden {
    display: none;
}

/* --- Acesso as salas --- */
.features-section {
    padding: 20px 5%;
    background-color: #444242;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: #083663;
    padding: 15px 15px;
    text-align: center;
    border-radius: #000000;
    box-shadow: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgb(0, 0, 0);
}

#salas-lista {
    list-style: none;
    margin-top: 10px;
    padding: 0;
}

#salas-lista li {
    background: #f0f0f0;
    margin: 5px 0;
    padding: 8px;
    border-radius: 5px;
    color: #303030;
}

#salas-lista li a {
    text-decoration: none;
    color: #007BFF;
    outline: none;
}

.hidden {
    display: none;
}

.turma-btn {
    background: #47a0ff;
    color: #212121;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.turma-btn:hover {
    background: #47a0ff;
}

.h2_title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffffff;
}

/* --- Rodapé --- */
.footer {
    padding: 30px 5%;
    background-color: #2f2e2e;
    color: #ffffff;
    text-align: center;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1580ea;
}

/* --- Animações --- */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1s ease-out forwards;
}

.hero-content h1 {
    animation-delay: 0.2s;
}

.hero-content p {
    animation-delay: 0.4s;
}

.hero-content .cta-button {
    animation-delay: 0.6s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}