/* Estilos para a página de eventos e ingressos */
/* Usando variáveis globais do styles.css */

.events-hero {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-surface);
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-surface);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.9;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    padding: 0 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.event-header {
    padding: 20px;
    background: var(--color-background-alt);
    border-bottom: 1px solid var(--color-border);
}

.event-title {
    font-size: 1.4rem;
    margin: 0;
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    padding: 15px;
    background: var(--color-surface);
}

.event-gallery a {
    display: block;
    height: 100px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.event-gallery a:hover {
    transform: scale(1.05);
    z-index: 1;
}

.event-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-description {
    padding: 20px;
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid var(--color-border);
    margin: 0; /* Override default margin */
}

/* Responsividade */
@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .events-hero {
        padding: 60px 20px;
    }
}
