/* Events List Page Styles */

.events-hero {
    position: relative;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.events-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.events-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.events-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero .subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* Events Section */
.events-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    color: #fff;
    margin: 0 0 40px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #c41e3a;
}

/* Events Grid */
.events-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
}

/* Event Card Link */
.event-card-link {
    text-decoration: none;
    color: inherit;
}

/* Event Card */
.event-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.event-card:hover {
    border-color: #c41e3a;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.2);
}

.event-card.upcoming-event {
    border-left: 4px solid #c41e3a;
}

.event-card.past-event {
    border-left: 4px solid #666;
    opacity: 0.9;
}

/* Event Card Image */
.event-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #222;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-image img {
    transform: scale(1.05);
}

/* Event Card Header */
.event-card-header {
    display: flex;
    gap: 20px;
    padding: 20px 20px 0 20px;
    align-items: flex-start;
}

/* Event Date Badge */
.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    border-radius: 8px;
    padding: 15px 12px;
    min-width: 70px;
    flex-shrink: 0;
}

.event-month {
    font-size: 11px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.event-day {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.event-card.past-event .event-date-badge {
    background: #333;
}

/* Event Card Content */
.event-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 20px 20px 20px;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.event-time {
    font-size: 14px;
    color: #c41e3a;
    font-weight: 600;
    margin: 0;
}

.event-card.past-event .event-time {
    color: #aaa;
}

.event-venue {
    font-size: 13px;
    color: #ddd;
    margin: 0;
    font-weight: 600;
}

.event-location {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.event-card-cta {
    font-size: 12px;
    color: #c41e3a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.event-card.past-event .event-card-cta {
    color: #666;
}

/* Event Card Actions */
.event-card-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px 20px;
}

.event-card-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.event-card-actions .btn-primary {
    background: #e01b1b;
    color: #fff;
}

.event-card-actions .btn-primary:hover {
    background: #ff2e2e;
}

.event-card-actions .btn-danger {
    background: transparent;
    color: #e01b1b;
    border: 2px solid #e01b1b;
}

.event-card-actions .btn-danger:hover {
    background: #e01b1b;
    color: #fff;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
}

.empty-state h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.empty-state p {
    color: #aaa;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .events-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 30px 15px;
    }

    .events-hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .events-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card {
        flex-direction: column;
        gap: 0;
    }

    .event-card-image {
        width: 100%;
        height: 140px;
        margin: 0;
        border-radius: 8px 8px 0 0;
    }

    .event-card-header {
        flex-direction: row;
        padding: 18px;
        align-items: flex-start;
        gap: 15px;
    }

    .event-date-badge {
        min-width: 65px;
        flex-shrink: 0;
        padding: 12px 10px;
    }

    .event-month {
        font-size: 10px;
    }

    .event-day {
        font-size: 20px;
    }

    .event-card-content {
        padding: 0;
        gap: 6px;
    }

    .event-title {
        font-size: 17px;
        margin: 0;
    }

    .event-time {
        font-size: 13px;
    }

    .event-venue {
        font-size: 12px;
    }

    .event-location {
        font-size: 11px;
    }

    .event-card-cta {
        font-size: 11px;
        margin-top: 8px;
    }
}

@media (max-width: 600px) {
    .page-container {
        padding: 20px 12px;
    }

    .events-hero {
        padding: 50px 15px;
        margin-bottom: 40px;
    }

    .events-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .events-hero .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .events-cards-grid {
        gap: 15px;
    }

    .event-card {
        border-radius: 6px;
    }

    .event-card-image {
        height: 120px;
        border-radius: 6px 6px 0 0;
    }

    .event-card-header {
        padding: 15px;
        gap: 12px;
    }

    .event-date-badge {
        min-width: 60px;
        padding: 10px 8px;
        border-radius: 4px;
    }

    .event-month {
        font-size: 9px;
    }

    .event-day {
        font-size: 18px;
    }

    .event-title {
        font-size: 15px;
    }

    .event-time {
        font-size: 12px;
    }

    .event-venue {
        font-size: 11px;
    }

    .event-location {
        font-size: 10px;
    }

    .event-card-cta {
        font-size: 10px;
        margin-top: 6px;
    }

    .empty-state {
        padding: 50px 15px;
        border-radius: 6px;
    }

    .empty-state h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .empty-state p {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .page-container {
        padding: 15px 10px;
    }

    .events-hero h1 {
        font-size: 1.5rem;
    }

    .events-hero .subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .event-card-image {
        height: 100px;
    }

    .event-card-header {
        padding: 12px;
    }

    .event-date-badge {
        min-width: 50px;
        padding: 8px 6px;
    }

    .event-month {
        font-size: 8px;
    }

    .event-day {
        font-size: 16px;
    }

    .event-title {
        font-size: 14px;
    }

    .event-time {
        font-size: 11px;
    }

    .event-venue {
        font-size: 10px;
    }

    .event-location {
        font-size: 9px;
    }

    .event-card-cta {
        font-size: 9px;
    }
}
