/* 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: #2f2e2e;
    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: none;
    position: fixed;
    top: 20px;
    right: 20px;
    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;
}

/* Mostrar botão em telas pequenas */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    /* Esconder menu por padrão */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #2c3e50;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    /* Mostrar menu quando ativo */
    .nav-menu.active {
        right: 0;
    }

    /* Estilo dos links do menu */
    .nav-menu li {
        margin: 15px 0;
        list-style: none;
    }

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

    .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 as salas --- */
.features-section {
    padding: 20px 5%;
    background-color: #004183;
}

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

.feature-card {
    background: #474748;
    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: #007BFF;
    color: #212121;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
  }
  
  .turma-btn:hover {
    background: #0056b3;
  }
    .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); }
}