/* Events Page Styles */

:root {
    --events-primary: #b8860b;
    --events-dark: #8b6914;
}

/* Page Header */
.page-header {
    margin-top: 140px;
    background: linear-gradient(135deg, var(--events-primary) 0%, var(--events-dark) 100%);
    padding: 2rem 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    font-weight: 700;
}

/* Upcoming Events Section */
.upcoming-events-section {
    padding: 3rem 2rem;
    background: white;
}

.section-title {
    font-size: 2rem;
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.no-events {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.1rem;
    padding: 2rem;
}

.event-card {
    max-width: 1200px;
    margin: 0 auto 3rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    min-height: 400px;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.event-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.event-content-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.event-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.event-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-details {
    padding: 1rem;
    color: white;
}

.event-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.event-link {
    margin-top: 1rem;
}

.event-link a {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.event-link a:hover {
    color: var(--events-primary);
}

.event-description {
    color: white;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-size: 0.95rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.read-more-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-brown);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.read-more-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Past Events Section */
.past-events-section {
    padding: 3rem 2rem;
    background: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        margin-top: 80px;
        padding: 2rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .event-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .event-details {
        padding: 1rem;
    }
    
    .event-title {
        font-size: 1.3rem;
    }
    
    .read-more-btn {
        width: 100%;
    }
}
