/* ============================================
   ARQUIVO: assets/css/eventos.css
   CSS para página de Eventos
   ============================================ */

/* ============================================
   HERO EVENTOS
   ============================================ */
.hero-eventos {
    background: 
        linear-gradient(135deg, rgba(46, 44, 84, 0.55) 0%, rgba(123, 94, 145, 0.50) 100%),
        url('../images/eventos/hero-eventos.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 2rem 5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 44, 84, 0.15);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eventos h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
}

.hero-eventos .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

/* ============================================
   TIPOS DE EVENTOS
   ============================================ */
.tipos-eventos {
    padding: 6rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #1A202C;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.eventos-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.evento-card {
    display: flex;
    gap: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F8 100%);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.evento-icon {
    min-width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #F4D35E 0%, #EAB543 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2E2C54;
    flex-shrink: 0;
}

.evento-info h3 {
    font-size: 2rem;
    color: #1A202C;
    margin-bottom: 1rem;
    font-weight: 700;
}

.evento-info p {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.evento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #F4D35E;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2E2C54;
    font-weight: 500;
}

/* ============================================
   IMPORTÂNCIA
   ============================================ */
.importancia {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F8 100%);
}

.importancia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.importancia-item {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.importancia-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.importancia-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #7B5E91 0%, #5A4570 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
}

.importancia-item h4 {
    font-size: 1.4rem;
    color: #1A202C;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.importancia-item p {
    color: #718096;
    line-height: 1.6;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-eventos {
    padding: 6rem 2rem;
    background: white;
    position: relative;
}

.timeline {
    max-width: 900px;
    margin: 4rem auto 0;
    position: relative;
}

/* Linha vertical da timeline */
.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #F4D35E 0%, #7B5E91 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 120px;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #F4D35E 0%, #EAB543 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(244, 211, 94, 0.4);
    z-index: 2;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2E2C54;
}

.timeline-content {
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF5F8 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

/* ============================================
   EVENTO NA TIMELINE
   ============================================ */
.evento-timeline {
    margin-bottom: 3rem;
}

.evento-timeline:last-child {
    margin-bottom: 0;
}

.evento-timeline h3 {
    font-size: 1.8rem;
    color: #1A202C;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.evento-date {
    font-size: 1rem;
    color: #7B5E91;
    font-weight: 600;
    margin-bottom: 1rem;
}

.evento-description {
    color: #718096;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   GALERIA DE FOTOS (4 fotos)
   ============================================ */
.evento-galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.foto-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.foto-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.foto-item:hover img {
    transform: scale(1.1);
}

/* Placeholder para fotos */
.foto-item img[src*="placeholder"] {
    filter: grayscale(100%) brightness(1.2);
}

/* ============================================
   CTA EVENTOS
   ============================================ */
.cta-eventos {
    background: linear-gradient(135deg, #2E2C54 0%, #7B5E91 100%);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.cta-eventos h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-eventos p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"],
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="zoom-in"] {
    animation: fadeInUp 0.8s ease;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 968px) {
    .evento-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .evento-icon {
        margin: 0 auto;
    }
    
    .importancia-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .timeline-year {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-eventos {
        padding: 4rem 1.5rem 3rem;
        background-attachment: scroll;
    }
    
    .hero-eventos h1 {
        font-size: 2.2rem;
    }
    
    .hero-eventos .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .tipos-eventos,
    .importancia,
    .timeline-eventos {
        padding: 4rem 1.5rem;
    }
    
    .evento-info h3 {
        font-size: 1.6rem;
    }
    
    .evento-galeria {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .importancia-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        left: -5px;
    }
    
    .timeline-year {
        font-size: 0.95rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .evento-timeline h3 {
        font-size: 1.4rem;
    }
    
    .cta-eventos {
        padding: 4rem 1.5rem;
    }
    
    .cta-eventos h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-eventos h1 {
        font-size: 1.8rem;
    }
    
    .evento-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .evento-galeria {
        grid-template-columns: 1fr;
    }
    
    .importancia-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
}