/* Variáveis de Cores */
:root {
    --primary: #2563eb;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --background: #f8fafc;
    --white: #ffffff;
    --text: #334155;
}

/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Estilizado */
header {
    height: 400px;
    background: url('https://images.unsplash.com/photo-1531403009284-440f080d1e12?auto=format&fit=crop&w=1200') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 15px; 
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: clamp(2rem, 8vw, 3.5rem); 
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Menu de Navegação */
nav {
    background: var(--secondary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
    padding: 5px 10px; 
}

nav a:hover {
    color: var(--accent);
}

/* Seções */
section {
    padding: clamp(40px, 8vw, 60px) 0;
    border-bottom: 1px solid #e2e8f0;
}

h2 {
    color: var(--secondary);
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
    border-left: 6px solid var(--primary);
    padding-left: 15px;
}

/* Box de destaque */
.info-box {
    background: #dbeafe;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 5px solid var(--primary);
}

/* Cards em Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
}

.card {
    background: var(--white);
    padding: clamp(20px, 5vw, 30px);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Itens de Eventos */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-item {
    background: #f1f5f9;
    padding: 15px 25px;
    border-radius: 50px; 
    border-right: 4px solid var(--accent);
}

/* Listas */
.styled-list {
    list-style: none;
}

.styled-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.styled-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #94a3b8;
    text-align: center;
    padding: 40px 20px;
}

/* Responsividade - Ajustes específicos para Tablet e Celular */
@media (max-width: 768px) {
    header {
        height: 300px;
    }
    
    nav .container {
        gap: 10px;
    }

    nav a {
        font-size: 0.8rem;
    }

    .event-item {
        border-radius: 15px; 
    }
}