/* ======================================================
   sesh.ie — Main stylesheet
   The events layer for every Irish pub. Sister to pubhub.ie.
   ====================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --stout-dark:    #0f2e1f;   /* deep stout-green-black */
    --stout-mid:     #1d3f2c;   /* a hair lighter for surfaces */
    --cream-head:    #efe6d3;   /* head-of-stout cream — brand bg */
    --cream-light:   #f7f1e2;   /* lighter cream for cards */
    --signage-red:   #c43d1c;   /* chipper-sign orange-red, CTAs */
    --neon-yellow:   #f5d04a;   /* late-bar warm yellow, highlights */
    --text:          #1a1410;   /* near-black, deeply readable */
    --text-muted:    #6b5c4e;   /* warm taupe, secondary */
    --border:        #d6c9b3;   /* muted cream border */
    --shadow-sm:     0 1px 3px rgba(15,46,31,0.08);
    --shadow-md:     0 6px 20px rgba(15,46,31,0.12);
    --radius:        12px;
    --radius-lg:     20px;
    --maxw:          1200px;
    --maxw-narrow:   780px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream-head);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--signage-red); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--stout-dark); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--maxw-narrow); }

/* Typography — Bricolage Grotesque for headlines, characterful */
h1, h2, h3, h4 {
    font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
    color: var(--stout-dark);
    line-height: 1.15;
    letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.4rem; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* Chalk-board accent for tonight callouts */
.chalk {
    font-family: 'Caveat', 'Bricolage Grotesque', cursive;
    font-weight: 600;
    color: var(--neon-yellow);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    line-height: 1.2;
    font-family: inherit;
}
.btn-primary {
    background: var(--signage-red); color: var(--cream-head);
    border-color: var(--signage-red);
}
.btn-primary:hover {
    background: #a32f12; border-color: #a32f12; color: var(--cream-head);
    transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.btn-ghost {
    background: transparent; color: var(--cream-head);
    border-color: rgba(239,230,211,0.5);
}
.btn-ghost:hover {
    background: rgba(239,230,211,0.12); color: var(--cream-head);
    border-color: var(--cream-head);
}
.btn-outline {
    background: transparent; color: var(--stout-dark); border-color: var(--stout-dark);
}
.btn-outline:hover { background: var(--stout-dark); color: var(--cream-head); }
.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }

/* ===== Navbar ===== */
.navbar {
    background: var(--stout-dark);
    color: var(--cream-head);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--cream-head);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    letter-spacing: -0.01em;
}
.logo:hover { color: var(--neon-yellow); }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--neon-yellow); }
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    align-items: center;
}
.nav-menu a {
    color: var(--cream-head);
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-menu a:hover { color: var(--neon-yellow); }
.nav-menu .nav-cta {
    background: var(--signage-red);
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    color: var(--cream-head);
}
.nav-menu .nav-cta:hover { background: var(--neon-yellow); color: var(--stout-dark); }
.menu-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0.4rem;
}
.menu-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--cream-head); margin: 4px 0;
    transition: transform 0.2s ease;
}

@media (max-width: 820px) {
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--stout-dark);
        padding: 1rem 0;
        gap: 0;
        max-height: 0; overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-menu.open { max-height: 500px; }
    .nav-menu li { width: 100%; text-align: center; padding: 0.6rem 0; }
    .menu-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
    background:
        radial-gradient(ellipse at top, rgba(245,208,74,0.08), transparent 60%),
        var(--stout-dark);
    color: var(--cream-head);
    padding: 5rem 1.25rem 4rem;
    text-align: center;
}
.hero h1 { color: var(--cream-head); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--neon-yellow); }
.hero .hero-subtitle {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: rgba(239,230,211,0.85);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.55;
}
.hero-ctas {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-trust {
    font-size: 0.88rem;
    color: rgba(239,230,211,0.6);
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
}

/* ===== County chooser ===== */
.county-chooser {
    background: var(--cream-light);
    padding: 2.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
}
.county-grid {
    max-width: var(--maxw);
    margin: 1.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.65rem;
}
.county-tile {
    display: block;
    padding: 0.85rem 1rem;
    background: var(--cream-head);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--stout-dark);
    font-weight: 600;
    text-align: center;
    transition: all 0.15s ease;
}
.county-tile:hover {
    background: var(--stout-dark);
    color: var(--cream-head);
    border-color: var(--stout-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.county-tile.featured {
    background: var(--signage-red);
    color: var(--cream-head);
    border-color: var(--signage-red);
}
.county-tile.featured:hover { background: var(--stout-dark); border-color: var(--stout-dark); }

/* ===== Section header ===== */
.section-header {
    text-align: center;
    max-width: var(--maxw-narrow);
    margin: 0 auto 2rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* ===== Tonight feed cards ===== */
.tonight-section {
    padding: 4rem 1.25rem;
    background: var(--cream-head);
}
.tonight-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.event-card {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--signage-red);
}
.event-card .when {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    color: var(--signage-red);
    font-weight: 700;
    line-height: 1.1;
}
.event-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--stout-dark);
}
.event-card .venue {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.event-card .venue a { color: var(--text-muted); border-bottom: 1px dotted var(--text-muted); }
.event-card .venue a:hover { color: var(--signage-red); border-bottom-color: var(--signage-red); }
.event-card p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.event-card .vibes {
    display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: 0.75rem;
}
.vibe-tag {
    background: var(--cream-head);
    border: 1px solid var(--border);
    color: var(--stout-dark);
    font-size: 0.78rem;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    font-weight: 500;
}
.event-card .recurring {
    display: inline-block;
    background: var(--neon-yellow);
    color: var(--stout-dark);
    font-size: 0.72rem;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    align-self: flex-start;
}

/* ===== Trinity panel ===== */
.trinity {
    background: var(--stout-mid);
    color: var(--cream-head);
    padding: 4rem 1.25rem;
}
.trinity h2 { color: var(--neon-yellow); }
.trinity-grid {
    max-width: var(--maxw);
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.trinity-card {
    background: var(--stout-dark);
    padding: 1.75rem;
    border-radius: var(--radius);
    border-top: 4px solid var(--signage-red);
}
.trinity-card h3 { color: var(--neon-yellow); }
.trinity-card p { color: rgba(239,230,211,0.85); margin-bottom: 0.5rem; }
.trinity-card .tag-line {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: var(--neon-yellow);
}

/* ===== Stats / quick facts ===== */
.quick-facts {
    background: var(--cream-light);
    padding: 4rem 1.25rem;
}
.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.fact { text-align: center; padding: 1.25rem; }
.fact-number {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--signage-red);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.fact p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.5; }
.facts-source {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* ===== CTA bar ===== */
.cta-bar {
    text-align: center;
    margin-top: 2rem;
}

/* ===== Newsletter signup ===== */
.newsletter-strip {
    background: var(--neon-yellow);
    color: var(--stout-dark);
    padding: 3.5rem 1.25rem;
    text-align: center;
}
.newsletter-strip h2 { color: var(--stout-dark); margin-bottom: 0.75rem; }
.newsletter-strip p { font-size: 1.05rem; max-width: 540px; margin: 0 auto 1.25rem; }
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 1.25rem auto 0;
}
.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--stout-dark);
    border-radius: var(--radius);
    background: var(--cream-head);
    font-family: inherit;
    font-size: 1rem;
}
.newsletter-form button {
    padding: 0.85rem 1.5rem;
    background: var(--stout-dark);
    color: var(--cream-head);
    border: 2px solid var(--stout-dark);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}
.newsletter-form button:hover { background: var(--signage-red); border-color: var(--signage-red); }
.newsletter-fineprint {
    font-size: 0.85rem; color: var(--stout-dark);
    margin-top: 1rem; opacity: 0.75;
}

/* ===== Article body ===== */
.article {
    background: var(--cream-head);
    padding: 2rem 0 4rem;
    min-height: 60vh;
}
.article-header { padding-top: 1rem; margin-bottom: 2rem; }
.article-header h1 { margin-bottom: 0.75rem; }
.article-lede {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.55;
}
.article-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}
.article-body p, .article-body li { font-size: 1.05rem; line-height: 1.7; }
.article-body h2 { margin-top: 3rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: 0.5rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 1rem 0 0;
}
.breadcrumb a { color: var(--text-muted); }

.article-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--signage-red);
}
.article-cta h3 { margin-bottom: 0.5rem; }
.article-cta p { color: var(--text-muted); margin-bottom: 1.25rem; }

/* ===== Footer ===== */
.site-footer {
    background: var(--stout-dark);
    color: var(--cream-head);
    padding: 3rem 1.25rem 1.5rem;
}
.footer-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 2rem;
}
.footer-brand p { font-size: 0.92rem; color: rgba(239,230,211,0.7); margin-top: 0.75rem; line-height: 1.55; }
.footer-col h4 {
    color: var(--neon-yellow);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    font-family: 'Bricolage Grotesque', sans-serif;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
    color: rgba(239,230,211,0.85);
    font-size: 0.92rem;
}
.footer-col a:hover { color: var(--neon-yellow); }
.footer-bottom {
    max-width: var(--maxw);
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(239,230,211,0.2);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(239,230,211,0.55);
}

@media (max-width: 820px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ===== Utility ===== */
.hidden { display: none !important; }
