/* Consolidated Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Gotu&family=Merriweather:ital,wght@0,300;0,700;1,300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Barlow', sans-serif;
}

:root {
    --body-color: #fff;    
    --header-bg:#F7F4EF;       
    --menu-color: #1C2430;    
    --menu-bg-trans: #b6064170;    
    --mobilemenu-color: #f7f4ef;
    --footer-bg: #1C2430;
    --footer-text: #a0a0a0;
    --footer-heading: #ffffff;
    --footer-link-hover: #ffffff;
    --footer-border: #2a2a2a;
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /*overflow-x: hidden;*/
    box-sizing: border-box;
    background-color: var(--body-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


/* ====================HERO SECTION CSS STARTS ================= */

/* --- Global Styles --- */
.events-page-wrapper {
    background-color: #f8f9fa;
    padding: 20px 0px;
}

/* --- Filter Container --- */
.filter-container {
    margin: 20px 5%;
    display: flex;    
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.filter-controls{
    display: flex;
    gap: 20px;
    justify-content: center;
}

.city-selector {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Barlow', sans-serif;
    background: #fdfdfd;
    cursor: pointer;
}

.clear-filter {
    margin-left: 10px;
    color: #b60640;
    text-decoration: none;
    font-weight: bold;
}

/* --- Main Layout --- */
.main-flex {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 30px;
}

.events-listing {
    flex: 0 0 72%;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* --- Event Card --- */
.event-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-img {
    height: 190px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.event-details {
    padding: 20px;
}

.event-type-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #b60640;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    margin: 10px 0;
    font-family: 'Merriweather', serif;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.event-meta {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.view-details-btn {
    color: #b60640;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Sidebar Ads --- */
.events-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.promo-box {
    background: #1a1a1a;
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
}

.gold-ad h4 { color: #d4af37; }
.ad-badge {
    background: #d4af37;
    color: #000;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: bold;
}

.creative-ad-gradient {
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #b60640 0%, #602080 100%);
    color: #fff;
}

.ad-btn-white {
    background: #fff;
    color: #b60640;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.ticket-ad-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: #fff;
}

.ticket-ad-card img { width: 80px; margin-bottom: 15px; }

.buy-tickets-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* --- MOBILE RESPONSIVE (Two-Column Card Logic) --- */
@media screen and (max-width: 992px) {
    .main-flex {
        flex-direction: column;
        padding: 0 5px;
    }
    .events-listing, .events-sidebar {
        flex: 1;
    }
    .events-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 20px;
    }
    .promo-box, .creative-ad-gradient, .ticket-ad-card {
        min-width: 280px;
    }
}

@media screen and (max-width: 600px) {
    .filter-container {
        flex-direction: column;
        gap: 15px;
        margin: 15px;
    }
    .event-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Cards per row on mobile */
        gap: 5px;
    }
    .event-details {
        padding: 10px;
    }
    .event-title {
        font-size: 0.875rem;
    }
    .event-img {
        height: 200px;
        border-radius: 8px;
    }
    .view-details-btn {
        font-size: 0.8rem;
    }
}