/* Events Page Styles */

.events-hero {
    background: linear-gradient(135deg, var(--imo-green) 0%, #0f3a36 100%);
    color: #ffffff;
    padding: 4rem 0;
}

.events-hero-label {
    color: #ffffff;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.events-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.5);
}

.events-hero-text {
    color: #FFE033;
    font-size: 1.25rem;
    line-height: 1.7;
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.events-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.events-section-past {
    background-color: #f8f9fa;
}

.events-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.events-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--imo-green), var(--imo-gold));
    border-radius: 2px;
}

.event-card-item {
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid var(--imo-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-left-color: var(--imo-green);
}

.event-card-past {
    opacity: 0.85;
    border-left-color: #adb5bd;
}

.event-card-past:hover {
    border-left-color: #6c757d;
}

.event-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.event-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    flex: 1;
    line-height: 1.3;
}

.event-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
}

.event-detail i {
    color: var(--imo-green);
    font-size: 1.1rem;
}

.event-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.event-date-badge {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--imo-gold), #d4790f);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(226, 140, 20, 0.3);
    flex-shrink: 0;
}

.event-date-past {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.event-month {
    font-size: 0.75rem;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.event-day {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 800;
}

.events-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.events-empty-state i {
    font-size: 4rem;
    color: var(--imo-green);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.events-empty-state p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .events-hero {
        padding: 3rem 0;
    }

    .events-section {
        padding: 3rem 0;
    }

    .event-date-badge {
        width: 60px;
        height: 60px;
    }

    .event-month {
        font-size: 0.65rem;
    }

    .event-day {
        font-size: 1.5rem;
    }

    .event-card-header {
        padding: 1.25rem;
    }

    .event-card-body {
        padding: 1.25rem;
    }
}
