/* Events Section CSS - events.css */

.events-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #2980b9;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2980b9;
    border-radius: 2px;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.event-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.special-event {
    border-left: 4px solid #2980b9;
}

/* Event Image */
.event-image {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: #f0f0f0;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    display: none;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2980b9, #3498db);
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 35px;
}

/* Event Content */
.event-content {
    padding: 20px;
}

.event-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-time {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2980b9;
    margin-bottom: 8px;
}

.event-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Tablet View */
@media (max-width: 992px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .event-image {
        height: 140px;
    }
    
    .placeholder-image {
        font-size: 30px;
    }
    
    .event-content {
        padding: 18px;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-time {
        font-size: 0.85rem;
    }
    
    .event-desc {
        font-size: 0.8rem;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .events-section {
        padding: 40px 15px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .event-image {
        height: 160px;
    }
    
    .placeholder-image {
        font-size: 32px;
    }
    
    .event-content {
        padding: 16px;
    }
    
    .event-title {
        font-size: 0.95rem;
    }
    
    .event-time {
        font-size: 0.8rem;
    }
    
    .event-desc {
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .events-section {
        padding: 30px 10px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    .events-grid {
        gap: 15px;
    }
    
    .event-image {
        height: 140px;
    }
    
    .placeholder-image {
        font-size: 28px;
    }
    
    .event-content {
        padding: 14px;
    }
    
    .event-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .event-time {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .event-desc {
        font-size: 0.7rem;
        line-height: 1.3;
    }
}