/* =========================================
   ONE ZAMBIA ONE NATION — Main Stylesheet
   Color palette:
     Green:  #198A00
     Red:    #DE2010
     Black:  #0A0A0A
     Orange: #EF7D00
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:  #198A00;
  --red:    #DE2010;
  --black:  #0A0A0A;
  --orange: #EF7D00;
  --cream:  #F9F7F2;
  --gray:   #6B7280;
  --light:  #F3F4F6;
  --dark-bg:#111827;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: #fff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section--alt  { background: var(--cream); }
.section--dark { background: var(--dark-bg); color: #fff; }

.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 40px;
}
.section-header h2 { font-family: var(--font-heading); font-size: 2rem; }
.section-link  { color: var(--green); font-weight: 600; font-size: 0.9rem; }
.section-label { color: var(--gray); font-size: 0.85rem; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 4px;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: 2px solid transparent;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary  { background: var(--green); color: #fff; border-color: var(--green); }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10,10,10,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  height: var(--nav-h);
}
.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; line-height: 1.1; }
.logo-main { color: var(--orange); font-family: var(--font-heading); font-size: 1rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.logo-sub  { display: none; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--black); border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; min-width: 200px; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 16px; font-size: .85rem; }
.dropdown li a:hover { color: var(--orange); background: rgba(255,255,255,.04); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a2e0a 0%, #1a4d1a 40%, #0d3d2d 70%, #0a1a0a 100%);
  overflow: hidden; padding-top: var(--nav-h);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(25,138,0,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(239,125,0,.12) 0%, transparent 50%);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  max-width: 760px; padding: 0 24px;
}
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange); font-weight: 600; margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-heading); font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900; line-height: 1.05; margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem); color: rgba(255,255,255,.8);
  margin-bottom: 40px; font-style: italic;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.flag-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; height: 6px;
}
.flag-bar span, .flag-bar-small span { flex: 1; }
.flag-green,  .flag-bar-small span:nth-child(1) { background: var(--green); }
.flag-red,    .flag-bar-small span:nth-child(2) { background: var(--red); }
.flag-black,  .flag-bar-small span:nth-child(3) { background: #0A0A0A; border-top: 1px solid #333; }
.flag-orange, .flag-bar-small span:nth-child(4) { background: var(--orange); }

/* ---- PILLARS ---- */
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.pillar { text-align: center; }
.pillar-icon {
  width: 64px; height: 64px; border-radius: 50%;
  color: #fff; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.pillar:nth-child(1) .pillar-icon { background: var(--green); }
.pillar:nth-child(2) .pillar-icon { background: var(--red); }
.pillar:nth-child(3) .pillar-icon { background: var(--orange); }
.pillar h3 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 10px; }
.pillar p  { color: var(--gray); font-size: .95rem; line-height: 1.7; }

/* ---- CARDS ---- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.card {
  border-radius: 8px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.card-image { height: 180px; }
.card-body  { padding: 20px; }
.card-tag   {
  display: inline-block; font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); background: rgba(25,138,0,.1);
  padding: 3px 8px; border-radius: 3px; margin-bottom: 10px;
}
.card-body h4 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 8px; line-height: 1.35; }
.card-body p  { color: var(--gray); font-size: .875rem; line-height: 1.6; margin-bottom: 14px; }
.card-link    { color: var(--green); font-weight: 600; font-size: .85rem; }
.card-link:hover { text-decoration: underline; }

/* ---- FACTS ---- */
.facts { background: var(--green); color: #fff; text-align: center; padding: 60px 0; }
.facts-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 24px; opacity: .9; }
.facts-ticker {
  min-height: 60px; display: flex; align-items: center; justify-content: center;
  max-width: 700px; margin: 0 auto 20px;
}
#fact-text { font-size: 1.15rem; line-height: 1.7; opacity: .95; transition: opacity .4s; }
.facts-nav { display: flex; align-items: center; justify-content: center; gap: 20px; }
.facts-nav button {
  background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 1.1rem; transition: background .2s;
}
.facts-nav button:hover { background: rgba(255,255,255,.35); }
#fact-counter { font-size: .85rem; opacity: .8; }

/* ---- PROVINCES ---- */
.province-card {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08); padding: 40px;
}
.province-tag {
  display: inline-block; font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange); background: rgba(239,125,0,.1);
  padding: 3px 10px; border-radius: 3px; margin-bottom: 12px;
}
.province-info h3 {
  font-family: var(--font-heading); font-size: 1.9rem; margin-bottom: 14px;
}
.province-info p { color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.province-facts { display: flex; flex-direction: column; gap: 8px; }
.province-facts li { font-size: .9rem; color: var(--gray); }
.province-facts strong { color: var(--black); }

.province-map-placeholder {
  background: linear-gradient(135deg, #e8f5e1, #d4eccc);
  border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  border: 2px dashed rgba(25,138,0,.25); min-height: 200px;
}
.map-label { text-align: center; font-family: var(--font-heading); font-size: 1.4rem; color: var(--green); }
.map-label span { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--gray); margin-top: 4px; }

/* ---- QUOTE ---- */
.quote-section { padding: 80px 0; }
.featured-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.featured-quote p {
  font-family: var(--font-heading); font-size: clamp(1.3rem, 3vw, 1.9rem);
  line-height: 1.5; color: var(--black); margin-bottom: 20px;
}
.featured-quote cite { color: var(--gray); font-size: .9rem; font-style: normal; }

/* ---- NEWSLETTER ---- */
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.newsletter h2 { font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 8px; }
.newsletter p  { color: rgba(255,255,255,.7); font-size: .95rem; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 18px; border-radius: 4px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-size: .9rem;
  min-width: 260px; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: var(--orange); }

/* ---- FOOTER ---- */
.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; font-weight: 700; line-height: 1.2; margin-bottom: 8px; }
.footer-tagline { font-size: .8rem; color: var(--orange); letter-spacing: .1em; }
.footer-nav h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: .875rem; transition: color .2s; }
.footer-nav a:hover { color: var(--orange); }
.footer-social h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; transition: border-color .2s, color .2s;
}
.social-links a:hover { border-color: var(--orange); color: var(--orange); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; }
.flag-bar-small { display: flex; height: 4px; width: 80px; border-radius: 2px; overflow: hidden; }

/* ---- ELECTION BANNER ---- */
.election-banner {
  background: var(--black); border-bottom: 3px solid var(--orange);
  padding: 8px 0;
}
.election-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.election-icon {
  color: var(--orange); flex-shrink: 0;
  display: flex; align-items: center;
}
.election-text {
  flex: 1; display: flex; flex-direction: column; gap: 3px;
}
.election-text strong {
  color: #fff; font-size: .875rem;
}
.election-text span {
  color: rgba(255,255,255,.65); font-size: .75rem;
}
.election-countdown {
  flex-shrink: 0; background: var(--orange); color: #fff;
  padding: 4px 12px; border-radius: 4px; font-size: .75rem;
  font-weight: 700; letter-spacing: .05em; white-space: nowrap;
}
@media (max-width: 600px) {
  .election-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .election-countdown { align-self: flex-start; }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero { padding: calc(var(--nav-h) + 60px) 0 0; background: var(--dark-bg); color: #fff; }
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 12px; }
.page-hero p.page-hero-sub { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 600px; padding-bottom: 40px; }
.page-flag-bar { display: flex; height: 5px; }
.page-flag-bar span { flex: 1; }
.page-flag-bar span:nth-child(1) { background: var(--green); }
.page-flag-bar span:nth-child(2) { background: var(--red); }
.page-flag-bar span:nth-child(3) { background: #0A0A0A; }
.page-flag-bar span:nth-child(4) { background: var(--orange); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pillars-grid   { grid-template-columns: 1fr; gap: 24px; }
  .card-grid      { grid-template-columns: 1fr 1fr; }
  .province-card  { grid-template-columns: 1fr; }
  .province-map-placeholder { height: 200px; }
  .footer-grid    { grid-template-columns: 1fr 1fr 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--black); padding: 16px 24px; gap: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .has-dropdown:hover .dropdown { position: static; box-shadow: none; border: none; padding: 4px 0 4px 16px; }
  .nav-toggle { display: flex; }
  .hero-actions { flex-direction: column; align-items: center; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
