/* Events Page Styles */
.events-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1498931299472-f7a63a5a1cfa?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.event-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.event-filter-btn {
    padding: 10px 25px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* Event Table Styles */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* Ensure scroll on small screens */
}

.events-table th {
    text-align: left;
    padding: 1.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.events-table td {
    padding: 1.2rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    font-size: 0.95rem;
}

.events-table tr:last-child td {
    border-bottom: none;
}

.events-table tr:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

.event-img-cell {
    width: 120px;
}

.event-img-cell img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-date-cell {
    font-weight: 700;
    color: var(--primary-color);
    width: 15%;
}

.event-name-cell {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--secondary-color);
    width: 20%;
}

.event-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}