/*
Theme Name: Ward 60 Subhan Ali
Theme URI: https://a3digitalservices.com
Author: A3 Digital Services
Author URI: https://a3digitalservices.com
Description: Campaign website theme for Subhan Ali, Ward 60 candidate, Banaras Congress Party, Varanasi Municipal Corporation election. English content for clean, straightforward SEO.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ward60
Tags: political, campaign, custom-menu, custom-logo, translation-ready
*/

:root{
  --paper:#EEF2ED;
  --paper-2:#E3E9DE;
  --ink:#15181A;
  --navy:#16233F;
  --navy-2:#0E1830;
  --stamp:#4B2E83;
  --stamp-2:#371F63;
  --gold:#C79A3B;
  --green:#1E5631;
  --saffron:#DD7A32;
  --line: rgba(20,24,20,0.14);
}
*{box-sizing:border-box;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  margin:0;
}
h1,h2,h3,h4{ font-family:'Space Grotesk',sans-serif; }
.eyebrow-mono{ font-family:'IBM Plex Mono',monospace; letter-spacing:0.08em; text-transform:uppercase; }
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }
.container{ max-width:1200px; margin:0 auto; padding:0 6%; }

/* ---------- TOP STRIP ---------- */
.tricolor-strip{ height:5px; width:100%; background:linear-gradient(90deg,var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6% 100%);}

/* ---------- STAMP SEAL (signature element) ---------- */
.stamp-ring{ border-radius:50%; }
.stamp-ring svg{ display:block; width:100%; height:100%; }

/* ---------- HEADER ---------- */
.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 6%; background:var(--paper);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:50;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.hand-badge{ width:42px; height:42px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0; position:relative;}
.hand-badge svg{ width:20px; height:20px; }
.brand-text .party-name{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:15px; color:var(--navy);}
.brand-text .tag{ font-size:11px; color:var(--stamp); letter-spacing:0.03em; font-family:'IBM Plex Mono',monospace;}
.main-navigation ul{ display:flex; gap:26px; list-style:none; margin:0; padding:0; }
.main-navigation a{ color:var(--ink); text-decoration:none; font-size:13.5px; font-weight:600; position:relative; padding-bottom:4px;}
.main-navigation a::after{content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--stamp);transition:width .25s ease;}
.main-navigation a:hover::after{ width:100%; }
.nav-cta a{ background:var(--navy); color:#fff !important; padding:9px 18px; border-radius:6px; font-weight:600; }
.nav-cta a::after{ display:none; }
.menu-toggle{ display:none; background:var(--navy); color:#fff; border:none; padding:10px 14px; border-radius:6px; font-size:20px; }
@media (max-width:820px){
  .main-navigation{ display:none; width:100%; }
  .main-navigation.toggled{ display:block; }
  .main-navigation ul{ flex-direction:column; gap:0; }
  .main-navigation li{ border-bottom:1px solid var(--line); }
  .main-navigation a{ display:block; padding:14px 0; }
  .menu-toggle{ display:block; }
  .site-header{ flex-wrap:wrap; }
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  display:grid; grid-template-columns:1.15fr 0.85fr; align-items:center;
  padding:64px 6% 50px;
  background: var(--navy);
  overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity:0.5;
}
.hero-copy, .hero-photo-wrap{ position:relative; z-index:2; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(199,154,59,0.14); color:var(--gold); border:1px solid rgba(199,154,59,0.4);
  padding:6px 14px; border-radius:4px; font-size:12px; font-weight:600; margin-bottom:22px;
  font-family:'IBM Plex Mono',monospace; letter-spacing:0.06em; text-transform:uppercase;
}
.hero h1{ font-size:clamp(32px, 4.6vw, 54px); color:#fff; line-height:1.2; margin-bottom:18px; font-weight:700;}
.hero h1 span{ color:var(--gold); }
.hero p.sub{ font-size:16.5px; color:rgba(255,255,255,0.72); max-width:480px; margin-bottom:32px; line-height:1.7; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; align-items:center; }
.btn-primary{
  background:#25D366; color:#0b2e17; padding:14px 28px; border-radius:6px;
  text-decoration:none; font-weight:700; font-size:14.5px;
  display:inline-flex; align-items:center; gap:10px;
  transition:transform .2s ease;
}
.btn-primary:hover{ transform:translateY(-2px); }
.btn-ghost{ border:1.5px solid rgba(255,255,255,0.4); color:#fff; padding:13px 26px; border-radius:6px; text-decoration:none; font-weight:600; font-size:14.5px; }

.ward-badge{
  position:absolute; top:40px; right:6%; z-index:3;
  width:104px; height:104px;
}
.ward-badge .stamp-inner{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  color:var(--gold); text-align:center; transform:rotate(-6deg);
}
.ward-badge .l{ font-size:8.5px; letter-spacing:0.1em; font-family:'IBM Plex Mono',monospace; }
.ward-badge .n{ font-family:'Space Grotesk',sans-serif; font-size:34px; font-weight:700; line-height:1; }

.hero-photo-wrap{ display:flex; justify-content:center; }
.photo-frame{ width:320px; height:400px; position:relative; }
.photo-frame .stamp-ring-wrap{ position:absolute; inset:-14px; z-index:1; }
.photo-frame .pic{ position:relative; z-index:2; width:100%; height:100%; border-radius:8px; overflow:hidden; border:4px solid var(--gold); box-shadow:0 30px 50px -18px rgba(0,0,0,0.5); }
.photo-frame .pic img{ width:100%; height:100%; object-fit:cover; }
@media(max-width:900px){
  .hero{ grid-template-columns:1fr; padding-top:36px; }
  .ward-badge{ position:static; margin-bottom:20px; }
  .hero-photo-wrap{ margin-top:36px; }
}

/* ---------- STAMP DIVIDER ---------- */
.stamp-divider{ display:flex; align-items:center; justify-content:center; gap:18px; padding:32px 0; background:var(--paper-2);}
.stamp-divider .dot{ width:26px; height:26px; }
.stamp-divider .line{ height:1px; width:80px; background:var(--line); }

/* ---------- GENERIC SECTIONS ---------- */
.section{ padding:64px 6%; }
.section.alt{ background:var(--paper-2); }
.section-label{ font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--stamp); font-weight:600; margin-bottom:10px; }
.section h2{ font-size:32px; color:var(--navy); margin-bottom:18px; font-weight:700;}
.section p{ line-height:1.85; color:#3c4038; font-size:16px; margin-bottom:14px;}

/* ---------- ABOUT TEASER ---------- */
.about-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start;}
.about-cardstack{ display:flex; flex-direction:column; gap:14px; }
.mini-stat{ background:var(--paper); border:1px solid var(--line); border-radius:8px; padding:18px 22px; display:flex; align-items:center; gap:16px; }
.mini-stat .icon{ width:40px; height:40px; border-radius:50%; background:var(--navy); display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.mini-stat .icon svg{ width:19px; height:19px; stroke:var(--gold); }
.mini-stat .txt b{ display:block; font-family:'Space Grotesk',sans-serif; color:var(--navy); font-size:14.5px; }
.mini-stat .txt span{ font-size:12.5px; color:#68705f; }
@media(max-width:900px){ .about-grid{ grid-template-columns:1fr; } }

/* ---------- VISION / PROMISES ---------- */
.vision-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:36px; }
.vcard{ background:var(--paper); border-radius:10px; padding:34px 24px; border-top:3px solid var(--stamp); text-align:left; transition:transform .25s ease, box-shadow .25s ease; }
.section.alt .vcard{ background:#fff; }
.vcard:nth-child(2){ border-top-color:var(--green); }
.vcard:nth-child(3){ border-top-color:var(--gold); }
.vcard:hover{ transform:translateY(-6px); box-shadow:0 20px 30px -18px rgba(22,35,63,0.22); }
.vcard .vicon{ width:48px; height:48px; border-radius:8px; background:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.vcard .vicon svg{ width:24px; height:24px; stroke:var(--gold); }
.vcard h3{ font-size:18px; color:var(--navy); margin-bottom:10px; font-weight:700;}
.vcard p{ font-size:14.5px; color:#565c4e; line-height:1.7; margin-bottom:0; }
@media(max-width:900px){ .vision-grid{ grid-template-columns:1fr; } }

/* ---------- GALLERY ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; margin-top:30px; }
.gallery-grid figure{ margin:0; border-radius:8px; overflow:hidden; border:1px solid var(--line); background:var(--paper); }
.gallery-grid img{ width:100%; height:260px; object-fit:cover; }
.gallery-grid figcaption{ padding:10px 14px; font-size:13px; color:#68705f; }

/* ---------- CTA STRIP ---------- */
.cta-strip{ margin:0 6% 64px; background:var(--navy); border-radius:12px; padding:40px 44px; display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; position:relative; overflow:hidden; }
.cta-strip::before{ content:''; position:absolute; right:-50px; top:-50px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle, rgba(199,154,59,0.2), transparent 70%); }
.cta-strip h3{ font-size:24px; color:#fff; margin-bottom:8px; font-weight:700;}
.cta-strip p{ color:rgba(255,255,255,0.68); font-size:14.5px; margin:0; }
.whatsapp-btn{ background:#25D366; color:#0b2e17; padding:14px 28px; border-radius:6px; text-decoration:none; font-weight:700; font-size:14.5px; display:flex; align-items:center; gap:10px; white-space:nowrap; }

/* ---------- CONTACT FORM ---------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:46px; margin-top:28px;}
.contact-form input, .contact-form textarea{ width:100%; padding:12px 16px; border:1px solid var(--line); border-radius:6px; margin-bottom:16px; font-family:'Inter',sans-serif; font-size:15px; background:var(--paper); }
.contact-form label{ font-size:13px; font-weight:600; color:var(--navy); }
.contact-form button{ background:var(--navy); color:#fff; border:none; padding:14px 28px; border-radius:6px; font-weight:700; font-size:14.5px; cursor:pointer; }
.contact-info-card{ background:var(--paper-2); border-radius:10px; padding:28px; }
.contact-info-card p{ margin-bottom:10px; }
@media(max-width:900px){ .contact-wrap{ grid-template-columns:1fr; } }

/* ---------- WARD PAGE ---------- */
.ward-list{ columns:2; column-gap:40px; margin-top:20px; }
.ward-list li{ break-inside:avoid; margin-bottom:10px; font-size:15px; }
@media(max-width:700px){ .ward-list{ columns:1; } }

/* ---------- FOOTER ---------- */
.site-footer{ background:var(--navy-2); color:rgba(255,255,255,0.68); }
.footer-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; padding:50px 6% 30px; }
.footer-brand-block .fbrand{ font-family:'Space Grotesk',sans-serif; color:#fff; font-size:20px; font-weight:700; margin-bottom:10px; }
.footer-brand-block p{ font-size:13.5px; line-height:1.7; max-width:320px; }
.footer-col h4{ color:#fff; font-size:14px; margin-bottom:14px; font-family:'IBM Plex Mono',monospace; letter-spacing:0.05em; text-transform:uppercase; }
.footer-col ul{ list-style:none; margin:0; padding:0; }
.footer-col li{ margin-bottom:10px; font-size:13.5px; }
.footer-col a{ text-decoration:none; color:rgba(255,255,255,0.68); }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.12); padding:20px 6%; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px; }
.footer-bottom a{ color:var(--gold); text-decoration:none; }
.footer-bottom a:hover{ text-decoration:underline; }
@media(max-width:800px){ .footer-top{ grid-template-columns:1fr; } .footer-bottom{ flex-direction:column; text-align:center; } }

/* WordPress core alignment helpers */
.alignwide{ max-width:1100px; margin-left:auto; margin-right:auto; }
.alignfull{ width:100%; }
.wp-caption{ max-width:100%; }
