/*
Theme Name: Santhia Seva
Theme URI: https://santhiaseva.com
Author: Santhia Seva
Description: A bilingual Punjabi-English WordPress theme for Santhia Seva, a worldwide village-supported Gurbani Santhia mission.
Version: 1.0.0
License: GPL v2 or later
Text Domain: santhia-seva
*/

:root {
  --navy: #071b3a;
  --navy-2: #0d2b57;
  --gold: #d6a536;
  --gold-2: #f5d27a;
  --cream: #fff8e8;
  --white: #ffffff;
  --text: #1d2433;
  --muted: #657084;
  --border: rgba(214,165,54,.28);
  --shadow: 0 18px 45px rgba(7, 27, 58, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Noto Sans Gurmukhi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: var(--cream);
  font-size: 14px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7,27,58,.08);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(214,165,54,.28);
}
.brand-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  color: var(--navy);
}
.nav a { opacity: .9; }
.nav a:hover { color: var(--gold); opacity: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary {
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(214,165,54,.28);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(255,255,255,.08);
}
.btn-light {
  background: var(--white);
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 720px;
  color: white;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7,27,58,.96) 0%, rgba(7,27,58,.78) 48%, rgba(7,27,58,.45) 100%),
    url("assets/images/hero-placeholder.jpg") center/cover no-repeat;
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -10% -22% -10%;
  height: 250px;
  background: var(--white);
  transform: rotate(-3deg);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  padding: 110px 0 170px;
}
.eyebrow {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 900;
  font-size: 13px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin: 14px 0 18px;
}
.punjabi {
  font-family: "Noto Sans Gurmukhi", "Raavi", sans-serif;
}
.hero .punjabi {
  font-size: clamp(24px, 3.2vw, 40px);
  color: var(--gold-2);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero p {
  font-size: 19px;
  max-width: 680px;
  opacity: .94;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: 90px 0;
}
.section-soft {
  background: linear-gradient(180deg, #fff, var(--cream));
}
.section-dark {
  background: radial-gradient(circle at top left, #173d78, var(--navy));
  color: white;
}
.section-heading {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 48px;
}
.section-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin: 10px 0 14px;
}
.section-dark .section-heading h2 { color: white; }
.section-heading p {
  color: var(--muted);
  font-size: 18px;
}
.section-dark .section-heading p { color: rgba(255,255,255,.8); }

.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: white;
  border: 1px solid rgba(7,27,58,.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 23px;
}
.card p { color: var(--muted); margin-bottom: 0; }
.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 900;
  margin-bottom: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  align-items: start;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(245,210,122,.24);
  border-radius: 22px;
  padding: 22px;
}
.timeline-year {
  color: var(--gold-2);
  font-weight: 900;
}
.timeline-item h3 { margin: 0 0 8px; color: #fff; }
.timeline-item p { margin: 0; color: rgba(255,255,255,.78); }

.profile-card {
  overflow: hidden;
  padding: 0;
}
.profile-img {
  height: 245px;
  background: linear-gradient(145deg, #d8d8d8, #f8f8f8);
  display: grid;
  place-items: center;
  color: var(--navy);
  text-align: center;
  padding: 20px;
  font-weight: 800;
}
.profile-card .content { padding: 22px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(245,210,122,.25);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
}
.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 34px;
}
.stat span { color: rgba(255,255,255,.82); }

.village-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.badge {
  background: rgba(214,165,54,.12);
  color: var(--navy);
  border: 1px solid rgba(214,165,54,.28);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.cta {
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: white;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; margin: 0 0 14px; }
.cta p { color: rgba(255,255,255,.78); margin: 0; }

.form-box {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-box input, .form-box select, .form-box textarea {
  width: 100%;
  border: 1px solid rgba(7,27,58,.14);
  border-radius: 14px;
  padding: 13px 14px;
  margin-bottom: 12px;
  font: inherit;
}
.form-box button { width: 100%; border: 0; }

.site-footer {
  background: #05152e;
  color: rgba(255,255,255,.82);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
}
.site-footer h3 { color: white; margin-top: 0; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,.75); }
.copyright {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  font-size: 14px;
}

.mobile-menu { display: none; }

@media (max-width: 920px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  .hero { min-height: 620px; }
  .grid-4, .grid-3, .grid-2, .stats, .footer-grid, .cta {
    grid-template-columns: 1fr;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
}
