/* PÁGINA DE EVENTOS E MEMÓRIA - BOI CATINGUEIRO */

/* =========================================
   1. VARIÁVEIS (Baseadas na Home)
   ========================================= */
:root {
    --primary-color: #e98b38;
    --primary-hover: #ce6c16;
    
    --text-dark: #2c2c2c;
    --text-light: #555;
    
    --bg-light: #f9f9f9;
    --bg-white: #fff;
    
    --font-title: 'Oswald', sans-serif; 
    --font-body: "Radio Canada", system-ui, -apple-system, sans-serif;
}

/* Compensação da Navbar Fixa */
main {
    padding-top: 130px; 
    background-color: var(--bg-white);
}

/* =========================================
   2. HERO HEADER (Capa)
   ========================================= */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0,0,0,0.3)), url('../IMG/header-eventos.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.page-header h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Correção da tipografia do subtítulo */
.page-header p {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
}

/* =========================================
   3. SEÇÕES DE EVENTOS (Ziguezague)
   ========================================= */
.event-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.event-section.bg-alt {
    background-color: var(--bg-light);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.container-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.container-flex.reverse {
    flex-direction: row-reverse;
}

.text-column, .media-column {
    flex: 1;
}

/* --- Tipografia dos Textos --- */

/* Tags (ex: Inclusão e Talento) */
.event-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* Títulos H2 */
.text-column h2 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Parágrafos Padrão */
.text-column p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
}

/* Lista de Destaques (ex: Preços, Atrações) */
.feature-list {
    list-style: none;
    margin-top: 25px;
    background: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: 10px;
}

.feature-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    
    /* Correção de Fonte */
    font-family: var(--font-body);
    font-weight: 600; /* Negrito suave */
    font-size: 1.05rem;
    color: var(--text-dark);
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.1rem;
}

/* Box de Data e Local */
.event-info-box {
    margin-top: 25px;
    padding: 15px 20px;
    background-color: var(--bg-light); /* Ou white se o fundo for light */
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.bg-alt .event-info-box {
    background-color: #fff; /* Contraste se estiver na seção cinza */
}

.event-info-box strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Citações (Blockquote) */
blockquote {
    margin-top: 25px;
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1.4;
    text-align: left;
}

/* =========================================
   4. CARROSSEL INDIVIDUAL
   ========================================= */
.carossel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    height: 380px; /* Altura fixa */
    background: #000;
}

.carossel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carossel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0; /* Impede encolhimento */
}

/* Botões de Navegação */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.prev-btn:hover, .next-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* =========================================
   5. SEÇÃO DE VÍDEOS
   ========================================= */
.video-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Linha separadora laranja */
.separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item iframe {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-item h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-dark);
    font-family: var(--font-title);
    text-transform: uppercase;
}

/* =========================================
   6. TIMELINE (LINHA DO TEMPO)
   ========================================= */
.timeline-section {
    padding: 80px 20px;
    background-color: var(--bg-white);
}

.timeline-section p {
    text-align: center;
    color: var(--text-light);
    font-family: var(--font-body);
    margin-top: -10px;
    margin-bottom: 40px;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-left: 3px solid #eee;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

/* Bolinha da timeline */
.timeline-item::before {
    content: '';
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -50px; /* Ajuste fino para centralizar na linha */
    top: 5px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.timeline-date {
    font-family: var(--font-title);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.timeline-content:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--primary-color);
}

.timeline-content h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Correção de fonte na timeline */
.timeline-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    text-align: left; /* Reseta o align center da section */
    line-height: 1.5;
}

/* =========================================
   7. MARCOS IMPORTANTES (CARDS)
   ========================================= */
.milestones-section {
    padding: 80px 20px;
}

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

.milestone-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.milestone-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.milestone-card h3 {
    font-family: var(--font-title);
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

.milestone-card ul {
    list-style: none;
    padding-left: 0;
}

.milestone-card li {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.milestone-card li:last-child {
    border-bottom: none;
}

/* =========================================
   8. RESPONSIVIDADE
   ========================================= */
@media (max-width: 900px) {
    main { padding-top: 100px; }
    
    .page-header h1 { font-size: 2.2rem; }
    
    .container-flex, .container-flex.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .carossel-container {
        height: 280px;
    }
    
    .text-column h2 { font-size: 2rem; }
    
    .timeline-container {
        padding-left: 30px;
        border-left-width: 2px;
    }
    
    .timeline-item::before {
        left: -39px; /* Ajuste para borda mais fina */
        width: 16px;
        height: 16px;
    }
}