/* Reset Básico e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* --- Header e Navegação --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1a1a1a;
    border-bottom: 2px solid #007bff;
}
.logo-container { flex-basis: 20%; }
.logo { height: 60px; width: auto; }

/* Navegação Central */
.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}
.main-nav a {
    text-decoration: none;
    color: #ccc;
    font-size: 1.1rem;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}
.main-nav a:hover,
.main-nav a.active { /* Efeito visual do JS */
    color: #fff;
    border-bottom: 2px solid #28a745;
}

/* Área de Login/Usuário */
.login-area {
    flex-basis: 25%;
    display: flex;
    justify-content: flex-end;
}
#login-form {
    display: flex;
    gap: 0.5rem;
}
#login-form input {
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
}
#login-form button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
#login-form button:hover { background-color: #0056b3; }

/* Estilos para quando o usuário estiver logado */
#user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}
#logout-button {
    padding: 0.5rem 1rem;
    background-color: #c9302c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- Seção Hero (Home) --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 90px);
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('background.jpg') no-repeat center center;
    background-size: cover;
}
.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.hero-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.hero-button:hover { background-color: #218838; }

/* --- Conteúdo Padrão (Outras Páginas) --- */
.page-content {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1c1c1c;
    border-radius: 8px;
}
.page-content h1 {
    color: #007bff;
    margin-bottom: 1rem;
}
.page-content p, .page-content li {
    font-size: 1.1rem;
    line-height: 1.6;
}
.page-content ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

/* Formulário de Sugestão */
.suggestion-form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}
.suggestion-form label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.suggestion-form textarea {
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.suggestion-form button {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    max-width: 200px;
}