/* ============================================
   Odiraa Nwankwor Campaign Information Site
   Clean, professional, minimal design
   ============================================ */

:root {
  --primary: #006B3F;
  --primary-light: #008552;
  --primary-dark: #004D2E;
  --accent: #C4A747;
  --bg: #FAFAFA;
  --card-bg: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #666;
  --border: #E0E0E0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --radius: 10px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Header ─── */
.site-header {
  background: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.logo-area { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-text h1 { font-size: 1.1rem; margin: 0; color: white; }
.logo-text .subtitle { font-size: 0.75rem; color: rgba(255,255,255,0.85); }
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.main-nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.9);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  display: block;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; width: 100%; }
  .main-nav ul { flex-direction: column; padding-top: 8px; }
  .main-nav a { padding: 8px 12px; }
}

/* ─── Page Title Bar ─── */
.page-title-bar {
  background: var(--primary-dark);
  color: white;
  padding: 40px 20px;
  text-align: center;
}
.page-title-bar h1 { font-size: 1.8rem; }

/* ─── Container ─── */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ─── Content Sections ─── */
.content-section {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.content-section h2 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.content-section h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.content-section p { margin-bottom: 12px; }
.content-section ul, .content-section ol { margin-left: 20px; margin-bottom: 12px; }
.content-section li { margin-bottom: 6px; }

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow); }
.card h3 { color: var(--primary-dark); margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.card a { font-size: 0.85rem; }

/* ─── Tables ─── */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.info-table th {
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
  width: 35%;
}
.info-table a { font-size: 0.9rem; }

/* ─── Timeline ─── */
.timeline { margin-top: 12px; }
.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  flex-shrink: 0;
  width: 100px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
}
.timeline-content h4 { margin-bottom: 4px; font-size: 1rem; }
.timeline-content p { font-size: 0.85rem; color: var(--text-muted); }

/* ─── Fact Box ─── */
.fact-box {
  background: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 16px;
  border-radius: 4px;
  margin-top: 12px;
}

/* ─── Placeholder Box ─── */
.placeholder-box {
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-top: 12px;
}
.placeholder-box p { color: var(--text-muted); margin: 0; }

/* ─── CTA ─── */
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}
.cta-button:hover { background: var(--primary-light); text-decoration: none; }

/* ─── Ward List ─── */
.ward-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.ward-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  transition: background 0.2s;
}
.ward-list li:hover { background: #f0f5f2; }
.ward-list a { font-size: 0.88rem; display: block; }

/* ─── Breadcrumb ─── */
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 4px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ─── Footer ─── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 30px 20px;
  text-align: center;
}
.footer-nav { margin-bottom: 12px; }
.footer-nav a { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.footer-nav a:hover { color: white; }
.site-footer p { font-size: 0.8rem; margin-bottom: 8px; }
.footer-disclaimer {
  max-width: 700px;
  margin: 8px auto 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
}

/* ─── Photo Grid (Gallery) ─── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.photo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.photo-card figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 12px 14px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .photo-grid { grid-template-columns: 1fr; }
}

/* ─── Video Embed ─── */
.video-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 560 / 314;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
