/* Events Page Styles */
.events-hero {
    background: linear-gradient(rgba(58, 43, 183, 0.85), rgba(9, 156, 121, 0.85)), 
                url(../outreach.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
}

.events-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.events-hero p {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
}

.events-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.event-image {
    height: 450px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-date {
    background: linear-gradient(135deg, #3a2bb7, #099c79);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3a2bb7;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.event-meta-item i {
    color: #3a2bb7;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-primary {
    background: linear-gradient(135deg, #3a2bb7, #099c79);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 43, 183, 0.3);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #3a2bb7;
    border: 2px solid #3a2bb7;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.btn-secondary:hover {
    background: #3a2bb7;
    color: white;
}

.events-filter {
    text-align: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: transparent;
    color: #3a2bb7;
    border: 2px solid #3a2bb7;
    padding: 10px 25px;
    margin: 0 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn.active, .filter-btn:hover {
    background: #3a2bb7;
    color: white;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-events i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ddd;
}

.upcoming-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 2.5rem;
    }
    
    .events-hero p {
        font-size: 1.1rem;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}