/*
Theme Name: Tejani Campaign 2026
Theme URI: https://faithandservice.co.uk
Author: KSIMC of London – Tejani Team
Description: Campaign website for Sajjad Tejani – KSIMC of London Executive Committee Elections 2026–2028
Version: 1.0
License: Private
Text Domain: tejani-campaign
*/

/* ── RESET & BASE ────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:       #1a6b35;
  --green-dark:  #0f4420;
  --green-light: #e8f5ee;
  --gold:        #b5881a;
  --gold-light:  #fdf6e3;
  --white:       #ffffff;
  --text:        #1a1a1a;
  --muted:       #555555;
  --bg:          #f4f8f5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── HERO ────────────────────────────────── */
.tc-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green) 100%);
  color: white;
  text-align: center;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.tc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.tc-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.tc-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a8d5b5;
  margin-bottom: 14px;
}
.tc-hero h1 {
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
}
.tc-hero h1 span { color: #f0c84a; }
.tc-hero-sub {
  font-size: clamp(15px, 3vw, 20px);
  color: #c8e6d0;
  margin-bottom: 24px;
}
.tc-tagline {
  display: inline-block;
  font-style: italic;
  font-size: clamp(14px, 2.5vw, 18px);
  color: #f0c84a;
  border-top: 1px solid rgba(240,200,74,0.4);
  border-bottom: 1px solid rgba(240,200,74,0.4);
  padding: 10px 28px;
  margin-bottom: 36px;
}
.tc-vote-box {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px 32px;
  font-size: 16px;
}
.tc-vote-box strong { display: block; font-size: 22px; margin-bottom: 4px; }

/* ── NAV BAR ─────────────────────────────── */
.tc-nav {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(240,200,74,0.3);
}
.tc-nav-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.tc-nav a {
  color: #c8e6d0;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 18px;
  transition: color 0.2s, background 0.2s;
}
.tc-nav a:hover { color: #f0c84a; background: rgba(255,255,255,0.05); }

/* ── SCROLLING BANNER ────────────────────── */
.tc-band {
  background: var(--green-dark);
  padding: 16px 0;
  overflow: hidden;
  border-top: 1px solid rgba(240,200,74,0.2);
}
.tc-band-track {
  display: flex;
  gap: 60px;
  animation: tcscroll 32s linear infinite;
  white-space: nowrap;
}
.tc-band-track span {
  color: #f0c84a;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}
.tc-band-track span::before { content: "✦  "; color: rgba(240,200,74,0.45); }
@keyframes tcscroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION SHARED ──────────────────────── */
.tc-section { padding: 64px 20px; }
.tc-section.alt { background: var(--white); }
.tc-section.dark { background: var(--green-dark); }
.tc-section.gold { background: var(--gold-light); }
.tc-container { max-width: 880px; margin: 0 auto; }
.tc-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.tc-section.dark .tc-label { color: #a8d5b5; }
.tc-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.tc-section.dark .tc-title { color: white; }
.tc-rule {
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 40px;
}
.tc-intro {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 40px;
  font-style: italic;
}

/* ── VALUES ──────────────────────────────── */
.tc-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}
.tc-value {
  background: var(--green-light);
  border-top: 4px solid var(--green);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
}
.tc-value-icon { font-size: 38px; margin-bottom: 12px; }
.tc-value-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.tc-value-desc { font-size: 13px; color: var(--muted); }

/* ── SLOGANS ─────────────────────────────── */
.tc-slogans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tc-slogan {
  background: white;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.tc-slogan-text {
  font-size: 17px;
  font-weight: 700;
  font-style: italic;
  color: var(--green-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.tc-slogan-note { font-size: 12px; color: var(--muted); }

/* ── SLATE ───────────────────────────────── */
.tc-slate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.tc-candidate {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: background 0.2s;
}
.tc-candidate:hover { background: rgba(255,255,255,0.15); }
.tc-position {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f0c84a;
  margin-bottom: 6px;
}
.tc-name {
  font-size: 21px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
}
.tc-detail { font-size: 13px; color: #a8d5b5; line-height: 1.5; }
.tc-tick {
  display: inline-block;
  background: #f0c84a;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 12px;
  letter-spacing: 1px;
}

/* ── MANIFESTO ───────────────────────────── */
.tc-priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.tc-priority {
  background: var(--green-light);
  border: 1px solid #cce0d4;
  border-radius: 10px;
  padding: 24px 20px;
}
.tc-priority-num {
  font-size: 32px;
  font-weight: 900;
  color: #c0dbc8;
  line-height: 1;
  margin-bottom: 4px;
}
.tc-priority-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.tc-priority-desc { font-size: 13px; color: var(--muted); }
.tc-cta { text-align: center; }
.tc-btn {
  display: inline-block;
  background: var(--green);
  color: white;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background 0.2s;
  margin: 6px;
}
.tc-btn:hover { background: var(--green-dark); color: white; }
.tc-btn-gold { background: var(--gold); color: var(--green-dark); }
.tc-btn-gold:hover { background: #9a7215; color: white; }

/* ── KEY MESSAGES ────────────────────────── */
.tc-msg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tc-msg {
  background: white;
  border-top: 3px solid var(--green);
  border-radius: 10px;
  padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.tc-msg h3 { font-size: 15px; color: var(--green-dark); margin-bottom: 10px; }
.tc-msg p  { font-size: 14px; color: var(--muted); }

/* ── VOTE BANNER ─────────────────────────── */
.tc-vote-banner {
  background: linear-gradient(135deg, var(--gold) 0%, #d4a820 100%);
  text-align: center;
  padding: 56px 24px;
}
.tc-vote-banner h2 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.tc-vote-details {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 30px;
}

/* ── FOOTER ──────────────────────────────── */
.tc-footer {
  background: var(--green-dark);
  color: #a8d5b5;
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
}
.tc-footer strong { color: white; }
.tc-footer p + p { margin-top: 6px; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 600px) {
  .tc-section { padding: 44px 16px; }
  .tc-hero    { padding: 44px 16px 40px; }
  .tc-nav a   { font-size: 11px; padding: 12px 12px; }
}
