/*
Theme Name: WHRJAC Official Theme
Theme URI: https://whrjac.panels.top
Author: World Human Rights Justice & Advocacy Council
Description: Official bilingual (English & Hindi) theme for World Human Rights Justice & Advocacy Council (WHRJAC) in Dark Blue, Golden, and White, designed for WordPress Classic Editor.
Version: 1.0.0
Text Domain: whrjac
*/

:root {
  --navy-950: #061326;
  --navy-900: #0b1f3a;
  --navy-800: #122d52;
  --navy-700: #1b3f6e;
  --gold-600: #b8860b;
  --gold-500: #d4af37;
  --gold-400: #e5c453;
  --gold-100: #fbf6e4;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 20px 50px rgba(6, 19, 38, 0.22);
  --radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Noto Sans Devanagari', Georgia, serif;
  color: var(--navy-900);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-600);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Top Utility Bar */
.top-bar {
  background: var(--navy-950);
  color: var(--white);
  font-size: 13px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar-motto {
  color: var(--gold-400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 6px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.lang-switcher a,
.lang-switcher span.lang-current {
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  display: inline-block;
}

.lang-switcher a:hover {
  color: var(--gold-400);
}

.lang-switcher span.lang-current,
.lang-switcher a.active-lang {
  background: var(--gold-500);
  color: var(--navy-950);
}

/* Main Header */
.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(6, 19, 38, 0.25);
  border-bottom: 3px solid var(--gold-500);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  flex-shrink: 0;
}

.brand-link:hover {
  color: var(--white);
}

.brand-emblem {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  background: var(--navy-950);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-acronym {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  max-width: 260px;
  line-height: 1.25;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  display: block;
}

.primary-nav a:hover,
.primary-nav li.current-menu-item > a {
  color: var(--navy-950);
  background: var(--gold-500);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 76px 0 84px;
  border-bottom: 4px solid var(--gold-500);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 19, 38, 0.94) 0%, rgba(11, 31, 58, 0.82) 55%, rgba(18, 45, 82, 0.72) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  color: var(--white);
  font-size: clamp(30px, 4.2vw, 48px);
  margin-bottom: 18px;
  line-height: 1.15;
}

.hero-title span {
  color: var(--gold-400);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  color: var(--navy-950);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.45);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-white:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px solid var(--gold-500);
  margin-bottom: 16px;
  object-fit: cover;
}

.hero-card h3 {
  color: var(--gold-400);
  font-size: 20px;
  margin-bottom: 8px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
  margin: 0;
}

/* Page Header Banner (Inner Pages) */
.page-banner {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 52px 0;
  border-bottom: 4px solid var(--gold-500);
  position: relative;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 8px;
}

.page-banner .breadcrumb {
  color: var(--gold-400);
  font-size: 14px;
  font-weight: 500;
}

.page-banner .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* Content Area */
.main-content {
  padding: 56px 0 72px;
  background: var(--white);
}

.entry-content {
  font-size: 16.5px;
  color: var(--slate-800);
}

.entry-content h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--navy-900);
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-500);
}

.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  font-size: 20px;
  color: var(--navy-800);
  margin: 24px 0 10px;
}

.entry-content p {
  margin: 0 0 16px;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  background: var(--gold-100);
  border-left: 5px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--navy-900);
  font-weight: 600;
}

/* Reusable Classic-Editor Friendly Cards & Grids */
.whrjac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 28px 0;
}

.whrjac-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whrjac-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.whrjac-card h3 {
  color: var(--navy-900);
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 19px;
}

.whrjac-card p:last-child {
  margin-bottom: 0;
}

.whrjac-callout {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  margin: 34px 0;
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.whrjac-callout h2,
.whrjac-callout h3 {
  color: var(--gold-400);
  border-bottom: none;
  margin-top: 0;
}

.whrjac-callout p,
.whrjac-callout li {
  color: rgba(255, 255, 255, 0.92);
}

.whrjac-disclaimer {
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  border-left: 5px solid var(--navy-900);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 28px 0;
  color: var(--navy-950);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  border-top: 4px solid var(--gold-500);
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
}

.footer-col h4 {
  color: var(--gold-400);
  font-size: 17px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: inline-block;
  }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 14px 4%;
    border-bottom: 3px solid var(--gold-500);
  }
  .primary-nav.is-open {
    display: block;
  }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
  }
}
