/* Base Reset & Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #0a7a40;
  --accent-red: #e52e2e;
  --dark-bg: #091310;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-white: #ffffff;
  --text-gray: #c2cfcb;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-symbol {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-green);
}

.logo-text {
  font-size: 13px;
  line-height: 1.1;
  color: var(--text-white);
}

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn .bar {
  width: 26px;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 2px;
}

/* Slide-out Drawer Navigation */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: #ffffff;
  color: #111111;
  z-index: 999;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px 0 0 20px;
  transition: right 0.3s ease;
  visibility: hidden;
}

.drawer-menu.active {
  right: 0;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header .logo-text {
  color: #111111;
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 30px 0;
}

.nav-link {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  text-decoration: none;
}

.nav-link.active, .nav-link:hover {
  color: var(--primary-green);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.btn-danger {
  background-color: var(--accent-red);
  color: white;
}

.btn-pdp {
  background-color: var(--primary-green);
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 40px;
  display: flex;
  align-items: flex-end;
  background-color: var(--dark-bg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg, 
    rgba(9, 19, 16, 0.3) 0%, 
    rgba(9, 19, 16, 0.75) 50%, 
    rgba(9, 19, 16, 0.98) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 20px;
}

/* Top Party Bar */
.party-bar {
  background: #ffffff;
  color: #111111;
  border-radius: 30px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.party-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.party-logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-svg-icon {
  width: 28px;
  height: 28px;
}

.pdp-svg-icon.large {
  width: 40px;
  height: 40px;
}

.party-text-group {
  display: flex;
  flex-direction: column;
}

.party-title-text {
  font-size: 10px;
  color: var(--accent-red);
  font-weight: 800;
}

.party-slogan-text {
  font-size: 8px;
  color: #555555;
  font-weight: 600;
}

.contest-text {
  font-size: 11px;
  font-weight: 600;
  display: none;
}

@media (min-width: 600px) {
  .contest-text {
    display: block;
  }
}

.year-badge {
  background-color: var(--primary-green);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
}

/* Glassmorphic Candidate Info Badge */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.card-logo-badge {
  flex-shrink: 0;
}

.card-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.5px;
}

.card-office {
  font-size: 15px;
  font-weight: 800;
  margin: 2px 0;
  color: #ffffff;
}

.card-constituency {
  font-size: 11px;
  color: var(--text-gray);
}

/* Tagline & Headline */
.tagline-badge {
  color: var(--primary-green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.hero-headline {
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 16px;
}

.highlight-red {
  color: var(--accent-red);
}

.hero-subtext {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-gray);
  margin-bottom: 24px;
  max-width: 540px;
}

/* Rounded CTA Button */
.cta-wrapper {
  margin-top: 10px;
}

.btn-main-cta {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--primary-green);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(10, 122, 64, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-main-cta:active {
  transform: scale(0.98);
}

/* Constituency Metrics Section */
.stats-section {
  padding: 50px 0;
  background-color: #ffffff;
  color: #111111;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-size: 50px;
  font-weight: 800;
  color: var(--primary-green);
}

.stat-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #444444;
  margin-top: 4px;
}

.stat-divider {
  height: 1px;
  background-color: #e2e8f0;
  width: 100%;
}

@media (min-width: 768px) {
  .stats-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .stat-divider {
    width: 1px;
    height: 60px;
  }
  .btn-main-cta {
    display: inline-block;
    width: auto;
    padding: 16px 36px;
  }
}

/* Footer */
.site-footer {
  padding: 30px 0;
  background-color: var(--dark-bg);
  color: var(--text-gray);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  text-align: center;
}

.footer-sub {
  margin-top: 6px;
  font-size: 10px;
  color: #6b7c76;
}
