/* Events Page Styling */

/* Events Section */
.events-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    background-color: transparent;
}

/* .section-title {
    font-size: 16px;
    color: #F86011;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-left: 10px;
    position: relative;
} */

/* .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: #F86011;
} */

/* .section-heading {
    font-size: 36px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 40px;
} */

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Event Card */
.event-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #FFFFFF;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.event-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.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-date {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #E78500;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
}

.event-date .month {
    font-size: 16px;
}

.event-date .day {
    font-size: 22px;
}

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-location {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
}

.event-location i {
    color: #F86011;
    margin-right: 8px;
}

.event-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.rsvp-button {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(180deg, #ED8A29 0%, #C32D2E 100%);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.rsvp-button:hover {
    background: linear-gradient(180deg, #F09939 0%, #B02728 100%);
}

.rsvp-button i {
    margin-left: 5px;
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin: 20px 0 40px;
}

.view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #F86011;
    color: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-all-button:hover {
    background-color: #e05107;
}

/* Responsive Layout */
@media (max-width: 991px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-heading {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 28px;
    }
}

/* No Events Message */
.no-events {
    text-align: center;
    padding: 40px 20px;
    font-size: 18px;
    color: #666;
}

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.pagination li {
    display: inline-block;
}

.pagination a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pagination li.active a {
    background-color: #F86011;
    color: white;
    border-color: #F86011;
}

.pagination a:hover:not(.active) {
    background-color: #f3f3f3;
}