/*
Theme Name: Themba Menes Foundation
Theme URI: https://thembamenesfoundation.org
Author: Themba Menes Foundation
Description: A professional charity foundation theme inspired by Charifund — sky blue and yellow colour scheme.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: thembamenes
Tags: charity, foundation, nonprofit, one-page, responsive
*/

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    /* Logo colours: deep navy + chartreuse */
    --hero-bg:        #1C1E6B;   /* dark navy – hero, footer, CTA panels */
    --hero-mid:       #2B2D7E;   /* main logo navy */
    --primary:        #2B2D7E;   /* navy – accents, links */
    --primary-light:  #EAEAF5;   /* soft navy tint */
    --primary-rgb:    43, 45, 126;
    --teal:           #3D40A0;   /* mid-navy highlight */

    /* Chartreuse accent from logo lightning bolt / star */
    --yellow:         #C8D400;
    --yellow-dark:    #9DA800;
    --yellow-light:   #F2F5B0;

    /* Neutrals */
    --white:          #FFFFFF;
    --dark:           #111827;
    --gray:           #6B7280;
    --gray-light:     #F3F4F6;
    --gray-border:    #E5E7EB;

    /* Typography */
    --font-script:    'Dancing Script', cursive;
    --font-body:      'Inter', 'Segoe UI', sans-serif;
    --font-heading:   'Poppins', 'Segoe UI', sans-serif;

    /* Shape */
    --radius:         12px;
    --radius-lg:      20px;
    --radius-pill:    999px;
    --shadow:         0 4px 24px rgba(0,0,0,.10);
    --shadow-lg:      0 10px 40px rgba(0,0,0,.18);
    --transition:     .3s ease;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; transition: color var(--transition); }
ul    { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; border: none; outline: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.5rem); }
h3 { font-size: clamp(1.1rem,2.5vw,1.5rem); }
p  { color: var(--gray); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container   { max-width: 1220px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 90px 0; }

/* ── EYEBROW (script style) ─────────────────────────────────── */
.eyebrow-script {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 14px;
}
.eyebrow-script i { font-size: .9rem; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: var(--radius-pill); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all var(--transition); letter-spacing: .02em; }
.btn-yellow { background: var(--yellow); color: var(--dark); }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,179,8,.35); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--primary); transform: translateY(-2px); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--hero-mid); transform: translateY(-2px); }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 55px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 580px; margin: 0 auto; }
.highlight { color: var(--yellow); }

/* ── SCROLL-TO-TOP ───────────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    opacity: 0; visibility: hidden;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--hero-mid); transform: translateY(-3px); }
