/* Events Page Specific Styles */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.event-card {
    display: flex;
    background: url("backgrounds/Events.jpeg");
    background-size: cover;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color, #e0e0e0);
    --card-bg: #647694;
    --border-color: #4a5568;
    --heading-color: #e2e8f0;
    --text-color: #cbd5e0;
    --secondary-bg: #1a202c;
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.event-card.past-event {
    opacity: 0.6;
}

.event-card.past-event .date-box {
    background: var(--past-event-bg, #9e9e9e);
    text-decoration: line-through;
}

.date-box {
    background: url("backgrounds/Events.jpeg");
    background-size: cover;
    color: white;
    padding: 1.5rem;
    text-align: center;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
    letter-spacing: 1px;
}



.event-content {
    display: flex;
    flex: 1;
    padding: 2rem;
    gap: 2rem;
}

.event-info {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.event-title {
    color: var(--heading-color, #2c3e50);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Futura', sans-serif;
}

.event-description {
    color: var(--text-color, #555);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.event-details {
    margin-top: auto;
}

.event-details p {
    margin: 0.5rem 0;
    color: var(--text-color, #666);
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.event-image {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--secondary-bg, #f8f9fa);
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        background: url("backgrounds/Events-mobile.jpg");
        background-size: cover;
    }
    
    .date-box {
        min-width: auto;
        flex-direction: row;
        justify-content: space-around;
        padding: 1rem;
    }
     
    .event-content {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .event-image {
        max-width: 100%;
        order: -1;
    }
    
    .event-image img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .events-grid {
        gap: 1.5rem;
    }
    
    .event-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .event-title {
        font-size: 1.5rem;
    }
    
    .date-box {
        padding: 0.8rem;
    }
}
