/* ==========================================================================
   Fanatique — brand tokens
   Palette pulled from the FNTQ/KES flyer: royal blue, gold, pink-red, cream.
   Display type: Baloo 2 (rounded, playful — matches the brush lettering).
   Body/UI type: Inter (clean, legible at small sizes for ticket/checkout UI).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --navy:        #14213D;
    --blue:        #1E4C9A;
    --blue-dark:   #163a78;
    --gold:        #F5B921;
    --pink:        #E63462;
    --pink-dark:   #c81f4a;
    --green:       #2E8B57;
    --cream:       #FBF6EC;
    --white:       #FFFFFF;
    --ink-soft:    #4A5468;
    --border:      #E7E0D0;

    --font-display: 'Baloo 2', 'Segoe UI', sans-serif;
    --font-body:    'Inter', -apple-system, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--navy);
    font-family: var(--font-body);
    line-height: 1.55;
}

h1, h2, h3, h4, .display {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.15;
    margin: 0 0 .4em;
}

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 40;
}
.site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}
.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 4px;
}
.brand span { color: var(--pink); }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { color: var(--navy); font-weight: 600; font-size: 15px; }
.site-nav a:hover { color: var(--pink); }

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    padding: 11px 22px;
    border-radius: 999px;
    border: 2.5px solid var(--navy);
    cursor: pointer;
    transition: transform .12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink); color: var(--white); border-color: var(--pink-dark); }
.btn-gold    { background: var(--gold); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 84px;
    background: var(--blue);
    color: var(--white);
}
.hero::before, .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    opacity: .9;
}
.hero::before {
    width: 340px; height: 340px;
    background: var(--gold);
    top: -160px; right: -100px;
}
.hero::after {
    width: 220px; height: 220px;
    background: var(--pink);
    bottom: -120px; left: -60px;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
    color: var(--white);
    font-size: 46px;
    max-width: 640px;
}
.hero p { max-width: 520px; font-size: 18px; color: #E4EBFA; }
.hero .actions { display: flex; gap: 14px; margin-top: 26px; }

/* ---------- Section headings ---------- */
.section { padding: 56px 0; }
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}
.section-head h2 { font-size: 30px; }
.section-head a { font-weight: 700; }

/* ---------- Category pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.pill {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    border: 2px solid var(--navy);
    background: var(--white);
    color: var(--navy);
}
.pill.active { background: var(--navy); color: var(--white); }

/* ---------- Event cards ---------- */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}
.event-card {
    background: var(--white);
    border: 2.5px solid var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--navy);
    transition: transform .15s ease, box-shadow .15s ease;
}
.event-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--navy);
}
.event-card .banner {
    aspect-ratio: 4 / 3;
    background: var(--gold);
    position: relative;
}
.event-card .banner img { width: 100%; height: 100%; object-fit: cover; }
.event-card .tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--pink);
    color: var(--white);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 999px;
}
.event-card .body { padding: 16px 18px 20px; }
.event-card .date {
    font-weight: 700;
    color: var(--pink);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 6px;
}
.event-card h3 { font-size: 19px; margin-bottom: 6px; }
.event-card .venue { color: var(--ink-soft); font-size: 14px; margin-bottom: 12px; }
.event-card .price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
    font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy);
    color: #C9D3EC;
    padding: 46px 0 28px;
    margin-top: 40px;
}
.site-footer h4 { color: var(--white); font-size: 16px; }
.site-footer a { color: #C9D3EC; }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 30px;
}
.footer-bottom {
    border-top: 1px solid #2A3B63;
    padding-top: 18px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}

/* ---------- Forms (checkout, dashboards) ---------- */
.card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input, select, textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    background: var(--white);
    color: var(--navy);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue);
}

.alert { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.alert-error { background: #FCE7EC; color: var(--pink-dark); border: 1.5px solid var(--pink); }
.alert-success { background: #E7F5EC; color: #1E6B3F; border: 1.5px solid var(--green); }

@media (max-width: 720px) {
    .hero h1 { font-size: 32px; }
    .site-nav { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}
