/* ============ RIJAAL — Muslim Men's Support Circles ============ */

:root {
  --green-900: #0f2a1f;
  --green-800: #1a3a2e;
  --green-700: #264d3e;
  --cream: #f5f1e8;
  --cream-dark: #ebe5d3;
  --gold: #c9a961;
  --gold-dark: #a88a47;
  --charcoal: #1a1a1a;
  --ink: #2a2a2a;
  --muted: #6b6b6b;
  --border: #dcd6c5;
  --white: #ffffff;

  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 42, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 42, 31, 0.1);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-800); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.eyebrow-light { color: var(--gold); }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--green-800);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.btn-secondary:hover {
  background: var(--green-800);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--green-900);
}
.btn-ghost {
  background: var(--gold);
  color: var(--green-900);
  padding: 10px 20px;
}
.btn-ghost:hover {
  background: var(--gold-dark);
  color: var(--white);
}
.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
}
.brand:hover { color: var(--green-800); }
.brand-mark {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: var(--gold-dark);
  line-height: 1;
}
.brand-name {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a { color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--green-800); }
.nav-links a.nav-btn { color: var(--white); }
.nav-links a.btn-ghost { color: var(--green-900); }
.nav-links a.btn-ghost:hover { color: var(--white); }
.nav-links a.nav-cta { color: var(--white); }
.nav-links a.nav-cta:hover { color: var(--white); }

@media (max-width: 820px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ============ HERO ============ */
.hero {
  padding: 100px 0 120px;
  background:
    radial-gradient(ellipse at top, rgba(201, 169, 97, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-title {
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.accent { color: var(--green-800); }
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-arabic {
  font-family: 'Amiri', serif;
  font-size: 2rem;
  color: var(--gold-dark);
  opacity: 0.7;
  margin-top: 2rem;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--green-900);
  color: var(--cream);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .lead { color: rgba(245, 241, 232, 0.75); }
.section-cream { background: var(--cream); }
.section-gold {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 100%);
  color: var(--cream);
  text-align: center;
}
.section-gold h2 { color: var(--white); max-width: 800px; margin: 0 auto 1.5rem; }
.section-gold .lead { color: rgba(245, 241, 232, 0.8); margin: 0 auto 3rem; }

.section-head {
  text-align: center !important;
  max-width: 720px;
  margin: 0 auto 4rem;
  padding: 0 16px;
}
.section-head h2,
.section-head .lead,
.section-head .eyebrow,
.section-head p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 {
  text-wrap: balance;
}
.section-head .lead {
  max-width: 620px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 820px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

.prose p { font-size: 1.05rem; margin-bottom: 1.25rem; }
.prose .pull {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-top: 2rem;
  line-height: 1.4;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  padding: 32px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: 0.98rem; }

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
@media (max-width: 820px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.principle strong {
  color: var(--green-800);
  font-size: 1.05rem;
}
.principle span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ============ CIRCLES ============ */
.circles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .circles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .circles-grid { grid-template-columns: 1fr; }
}
.circle-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.circle-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.circle-card h3 { color: var(--green-800); }
.circle-meta {
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 0.9rem;
  margin: 4px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.circle-card p { color: var(--muted); margin-bottom: 16px; }
.circle-card-new {
  background: var(--green-800);
  color: var(--cream);
  border-color: var(--green-800);
}
.circle-card-new h3 { color: var(--white); }
.circle-card-new p { color: rgba(245, 241, 232, 0.8); }
.circle-card-new .link-arrow { color: var(--gold); }
.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-800);
}
.link-arrow:hover { color: var(--gold-dark); }

/* ============ STORIES ============ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .stories-grid { grid-template-columns: 1fr; }
}
.story {
  background: var(--cream);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
  position: relative;
}
.story p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}
.story footer {
  margin-top: 20px;
  font-style: normal;
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============ GET INVOLVED ============ */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .involve-grid { grid-template-columns: 1fr; }
}
.involve-card {
  padding: 40px 32px;
  background: rgba(245, 241, 232, 0.04);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: var(--radius-lg);
}
.involve-card h3 { color: var(--gold); margin-bottom: 12px; }
.involve-card p {
  color: rgba(245, 241, 232, 0.8);
  margin-bottom: 24px;
  font-size: 0.98rem;
}

/* ============ DONATE ============ */
.donate-inner {
  text-align: center;
}
.donate-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 3rem;
}
@media (max-width: 700px) {
  .donate-tiers { grid-template-columns: 1fr; }
}
.tier {
  padding: 32px 24px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-lg);
  background: rgba(245, 241, 232, 0.04);
}
.tier-featured {
  background: rgba(201, 169, 97, 0.1);
  border-color: var(--gold);
  transform: scale(1.03);
}
.tier-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}
.tier p {
  color: rgba(245, 241, 232, 0.8);
  font-size: 0.95rem;
}
.donate-note {
  margin-top: 2.5rem;
  font-family: 'Amiri', serif;
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1.8;
}
.donate-note em {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(245, 241, 232, 0.7);
  font-style: normal;
  margin-top: 8px;
}

/* ============ CONTACT ============ */
.contact-block p { margin-bottom: 20px; }
.contact-block strong {
  display: block;
  color: var(--green-800);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-800);
}
.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
.footer .brand { color: var(--cream); }
.footer-tag {
  margin-top: 12px;
  color: rgba(245, 241, 232, 0.6);
  font-size: 0.95rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 560px) {
  .footer-cols { grid-template-columns: 1fr; }
}
.footer-cols strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  color: rgba(245, 241, 232, 0.75);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.footer-cols a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.5);
}
.footer-bottom em {
  font-family: 'Amiri', serif;
  color: var(--gold);
  font-size: 1rem;
}

/* ============ FORM CARDS (volunteer / support forms) ============ */
.form-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius-lg);
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
}
.form-card input,
.form-card select,
.form-card textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border 0.2s;
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--green-800);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* Dark variant — used on green background. Labels + note in gold. */
.form-card-dark {
  background: rgba(15, 42, 31, 0.55);
  border: 1px solid rgba(201, 169, 97, 0.35);
}
.form-card-dark label {
  color: var(--gold);
}
.form-card-dark .form-note {
  color: var(--gold);
}
.volunteer-wrap {
  margin-top: 48px;
}
.volunteer-head {
  text-align: center;
  margin-bottom: 24px;
}
.volunteer-head h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.volunteer-head p {
  color: rgba(245, 241, 232, 0.75);
}
