/* ====================== EVENTS PAGE ====================== */
.events-page {
    background: #f8f9fa;
    min-height: 100vh;
}

/* ====================== HERO SECTION ====================== */
.events-hero {
    background: linear-gradient(rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0.75)),
                url('https://picsum.photos/id/1015/1920/600') center/cover no-repeat; /* Replace with your real hero image later */
    color: white;
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
}

.events-hero .g-container {
    max-width: 1280px;
    margin: 0 auto;
}

.events-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.events-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ====================== TABS ====================== */
.events-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0 25px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: #e5e7eb;
    color: #374151;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #0b2545;
    color: white;
}

/* ====================== FILTER CARD ====================== */
.filter-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.filter-grid input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    min-width: 260px;
    font-size: 1rem;
}

.filter-grid select {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    min-width: 160px;
}

.filter-grid button {
    padding: 12px 28px;
    background: #c4001a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.filter-grid button:hover {
    background: #9e0014;
}

/* ====================== GRID & CARDS ====================== */
.g-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.events-grid .g-section-title {
    text-align: center;
    margin: 20px 0 40px;
}

/* Make sure cards are centered and look good */
.g-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
    .events-hero h1 { font-size: 2.6rem; }
}

@media (max-width: 768px) {
    .events-hero {
        padding: 80px 15px 60px;
    }
    .events-hero h1 { font-size: 2.2rem; }
    
    .filter-grid {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-grid input[type="text"] {
        min-width: auto;
    }
}