/* ============================================================
   A Better Way Out WA — Shared Styles
   ============================================================ */

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

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

:root {
    --cyan: #03b8d4;
    --cyan-hover: #0099b8;
    --cyan-bg: #e0f7fa;
    --navy: #0d2137;
    --green: #00c853;
    --green-hover: #00a344;
    --card-bg: #ffffff;
    --text: #2d3748;
    --text-light: #4a5568;
    --footer-bg: #0d2137;
    --footer-link: #cbd5e0;
    --footer-link-hover: #03b8d4;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cyan-bg);
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--navy); }

/* ============================================================
   NAVBAR — menu items as solid button blocks
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    background: var(--cyan);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    padding: 14px 24px;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.navbar-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

/* Each menu item = solid white button with cyan text */
.navbar-menu li a {
    display: inline-block;
    background: #ffffff;
    color: var(--cyan);
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.98em;
    padding: 12px 28px;
    border-radius: 10px;
    border: 2px solid #ffffff;
    transition: all 0.25s;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar-menu li a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(13,33,55,0.25);
}

.navbar-menu li a.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Donate-special: distinct green button */
.navbar-menu li a.nav-donate {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 3px 10px rgba(0,200,83,0.4);
}

.navbar-menu li a.nav-donate:hover {
    background: var(--green-hover);
    border-color: var(--green-hover);
    box-shadow: 0 5px 16px rgba(0,200,83,0.55);
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    margin: 0 auto;
}

.mobile-toggle span {
    display: block;
    width: 24px; height: 3px;
    background: #fff;
    border-radius: 2px;
}

/* ============================================================
   MAIN + CONTAINER
   ============================================================ */
main {
    padding: 40px 24px 60px;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* ============================================================
   PAGE HEADER — centered
   ============================================================ */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 12px 0;
}

.page-header h1 {
    font-size: 2.8em;
    margin-bottom: 14px;
    font-weight: 800;
    text-align: center;
}

.page-header p {
    font-size: 1.05em;
    color: var(--text-light);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
    display: inline-block;
    background: var(--cyan);
    color: #fff;
    border: none;
    padding: 14px 38px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1em;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgba(3,184,212,0.3);
}

.btn-primary:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3,184,212,0.45);
}

.btn-donate {
    display: inline-block;
    background: var(--green);
    color: #fff;
    border: none;
    padding: 20px 64px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(0,200,83,0.35);
}

.btn-donate:hover {
    background: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0,200,83,0.5);
}

/* ============================================================
   FOOTER — GWE-style 3-column with centered brand
   ============================================================ */
.site-footer {
    background: var(--footer-bg);
    color: var(--footer-link);
    padding: 56px 24px 24px;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Centered brand block */
.footer-brand {
    text-align: center;
    margin-bottom: 44px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #fff;
    padding: 4px;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.footer-brand h2 {
    color: #fff;
    font-size: 1.6em;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.65);
    font-size: 0.95em;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* 3-column link sections */
.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: left;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1em;
    font-weight: 800;
    margin-bottom: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.footer-col ul li::before {
    content: "•";
    color: var(--cyan);
    font-weight: bold;
    font-size: 1.1em;
    flex-shrink: 0;
}

.footer-col ul li a {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--footer-link-hover);
}

/* Social icons row */
.footer-social {
    text-align: center;
    margin-bottom: 28px;
}

.footer-social ul {
    list-style: none;
    display: inline-flex;
    gap: 14px;
    padding: 0;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

/* PROPERLY SIZED icon */
.footer-social svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 0.85em;
    max-width: 600px;
    margin: 0 auto;
}

.footer-bottom p { margin-bottom: 4px; }

.footer-bottom .ein {
    color: rgba(255,255,255,0.4);
    font-size: 0.92em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--cyan-hover);
        padding: 16px;
        gap: 8px;
    }

    .navbar-menu.open { display: flex; }
    .navbar-menu li { width: 100%; }
    .navbar-menu li a { display: block; text-align: center; }

    main { padding: 24px 16px 40px; }
    .page-header h1 { font-size: 2em; }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-col ul li {
        justify-content: center;
    }
}
