/* EVENTS PAGE SPECIFIC STYLES */

/* Intro Section */
.events-intro {
    text-align: center;
    padding: 4rem 1rem;
    background: #f0f6ff; /* soft airy blue */
    color: #002855;
}

.events-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.events-intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #333;
}

/* Events List Section */
.events-list {
    padding: 3rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

/* No events message */
.no-events {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    background: #f9fbfd;
    border: 1px solid #ccd9f0;
    border-radius: 10px;
    max-width: 500px;
}

/* Event Card (for future events) */
.event-card {
    background: #f9fbfd;
    padding: 2rem;
    margin: 1.5rem auto;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    text-align: left;
    max-width: 700px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.event-card h3 {
    color: #004080;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

.event-card p {
    margin-bottom: 0.6rem;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* RSVP Button */
.event-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background-color: #ffb347; /* warm orange-gold */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.event-card a:hover {
    background-color: #e89a32;
    transform: translateY(-3px);
}

/* Host an Event Section */
.host-event {
    text-align: center;
    padding: 4rem 2rem;
    background: #f0f6ff; /* light blue */
    color: #002855;
}

.host-event h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #004080;
}

.host-event p {
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.15rem;
    color: #333;
    line-height: 1.6;
}

.host-event a {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background-color: #ffb347; /* warm orange-gold */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.host-event a:hover {
    background-color: #e89a32;
    transform: translateY(-3px);
}

/* Previous Events Section */
.past-events {
    padding: 4rem 2rem;
    background-color: #ffffff;
    text-align: center;
}

.past-events h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #004080;
}

.past-events .no-events {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    background: #f9fbfd;
    border: 1px solid #ccd9f0;
    border-radius: 10px;
    max-width: 600px;
}

/* Past event cards (styled same as normal events but with subtle difference) */
.past-events .past-event {
    opacity: 0.9;
}

.past-events .past-event a {
    background-color: #004080;
    color: #fff;
}

.past-events .past-event a:hover {
    background-color: #002f66;
}


/* MOBILE */
@media (max-width: 768px) {
    .events-intro h2 {
        font-size: 2rem;
    }

    .event-card {
        padding: 1.5rem;
    }

    .event-card h3 {
        font-size: 1.4rem;
    }
}
