/* ═══════════════════════════════════════
   JOINT HANDS CHARITY — style.css
   Palette:
     --green:  #1B4332  (deep savanna)
     --earth:  #A0522D  (warm earth)
     --gold:   #F4A200  (Kenyan sun)
     --cream:  #FDF6EC  (soft ground)
     --dark:   #111C15  (near-black)
     --text:   #2C2C2C
═══════════════════════════════════════ */
 
/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
:root {
  --green:   #1B4332;
  --green-mid: #2D6A4F;
  --earth:   #A0522D;
  --gold:    #F4A200;
  --cream:   #FDF6EC;
  --dark:    #111C15;
  --text:    #2C2C2C;
  --text-light: #6B7280;
  --white:   #FFFFFF;
  --radius:  12px;
  --shadow:  0 8px 40px rgba(0,0,0,0.10);
  --transition: 0.3s ease;
}
 
html { scroll-behavior: smooth; }
 
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
 
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
 
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
p  { color: var(--text); margin-bottom: 1rem; }
 
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
 
/* ── UTILITIES ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.narrow    { max-width: 760px; }
.section-pad { padding: 5rem 1.5rem; }
.bg-cream  { background: var(--cream); }
.bg-dark   { background: var(--dark); }
.center    { text-align: center; }
.light     { color: var(--cream) !important; }
 
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow.center { display: block; }
.section-desc { color: var(--text-light); max-width: 520px; margin: 0 auto 2.5rem; }
 
/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: #d98f00; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,162,0,0.35); }
 
.btn-ghost {
  display: inline-block;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.5rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
 
.full-width { width: 100%; text-align: center; margin-top: 1.5rem; padding: 1rem; }
 
/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 0.6rem 0;
}
 
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
}
.logo-icon { font-size: 1.4rem; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
}
.logo-text em { color: var(--gold); font-style: normal; }
 
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
 
.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #d98f00 !important; color: var(--dark) !important; }
 
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}
 
/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--green);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
  max-width: 1180px;
  margin: 0 auto;
  gap: 3rem;
}
 
/* Full-bleed green background behind hero */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--green);
  z-index: -1;
}
 
.hero-diagonal {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 55%;
  height: 100%;
  background: var(--dark);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}
 
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}
 
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
 
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}
.accent-word {
  color: var(--gold);
  display: block;
}
 
.hero-sub {
  color: rgba(253,246,236,0.75);
  font-size: 1.05rem;
  max-width: 400px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
 
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
 
.hero-image-block {
  position: relative;
  z-index: 2;
  height: 500px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-mid);
}
 
.hero-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--gold);
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.badge-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.badge-number::after { content: '+'; }
.badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
 
/* ── ABOUT ── */
.about.section-pad { padding: 6rem 1.5rem; background: var(--white); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
 
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; }
.about-text .btn-primary { margin-top: 0.5rem; }
 
.about-image {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #c8a97a;
}
.about-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: var(--cream);
  font-style: italic;
  font-size: 0.9rem;
  padding: 2rem 1.5rem 1.2rem;
}
 
/* ── SERVICES ── */
.services.section-pad { padding: 6rem 1.5rem; }
.services h2 { margin-bottom: 3rem; }
 
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
 
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-top-color: var(--gold);
}
 
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--green); }
.service-card p  { color: var(--text-light); font-size: 0.9rem; margin: 0; }
 
/* ── GALLERY ── */
.gallery.section-pad { padding: 6rem 1.5rem; }
.gallery h2 { margin-bottom: 0.5rem; }
 
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 2rem;
}
 
.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 220px;
  background: #c8d5cb;
  cursor: pointer;
}
.photo-item.tall { grid-row: span 2; height: auto; min-height: 460px; }
.photo-item.wide { grid-column: span 2; }
 
.photo-item img { transition: transform 0.4s ease; }
.photo-item:hover img { transform: scale(1.05); }
 
/* Placeholder when image fails */
.photo-item.placeholder { background: linear-gradient(135deg, var(--green-mid), var(--green)); }
.photo-item.placeholder::after {
  content: '📷';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  opacity: 0.4;
}
 
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(27,67,50,0.75) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}
.photo-item:hover .photo-overlay { opacity: 1; }
.photo-overlay span {
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
 
.gallery-note {
  color: var(--text-light);
  font-size: 0.88rem;
  margin: 0;
}
 
/* ── IMPACT ── */
.impact.section-pad { padding: 6rem 1.5rem; }
.impact h2 { color: var(--cream); margin-bottom: 3rem; }
 
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
 
.impact-item { padding: 1.5rem; }
.impact-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.impact-number::after { content: '+'; }
.impact-label {
  color: rgba(253,246,236,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
 
/* ── TESTIMONIAL ── */
.testimonial.section-pad { padding: 6rem 1.5rem; }
.quote-block {
  text-align: center;
  padding: 3rem;
}
.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}
.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.quote-author strong { display: block; font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--green); }
.quote-author span   { font-size: 0.8rem; color: var(--text-light); }
 
/* ── DONATE ── */
.donate.section-pad { padding: 6rem 1.5rem; background: var(--white); }
.donate-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
 
.donate-text h2 { margin-bottom: 1rem; }
.donate-text p  { color: var(--text-light); margin-bottom: 1.5rem; }
 
.donate-impact-list { margin: 0; }
.donate-impact-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.92rem;
  color: var(--text-light);
}
.donate-amount {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--green);
  font-size: 1rem;
  margin-right: 0.5rem;
}
 
.donate-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.donate-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--green);
}
 
.donate-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.donate-method:last-of-type { border-bottom: none; }
.method-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.donate-method strong { display: block; color: var(--green); margin-bottom: 0.25rem; font-size: 0.95rem; }
.donate-method p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.6; }
.highlight { color: var(--earth); font-weight: 600; }
 
/* ── FOOTER ── */
.footer { background: var(--dark); color: rgba(255,255,255,0.65); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.5rem;
}
 
.footer-logo { color: var(--cream) !important; font-size: 1.1rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; }
 
.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links ul li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
 
.footer-contact p { font-size: 0.88rem; margin-bottom: 0.5rem; }
 
.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.7rem;
  font-weight: 700;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
 
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1.25rem 1.5rem;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; color: rgba(255,255,255,0.4); }
 
/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 6rem 1.5rem 3rem;
    gap: 2rem;
  }
  .hero-diagonal { display: none; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-image-block { height: 320px; }
 
  .two-col         { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image     { height: 320px; }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .impact-grid     { grid-template-columns: repeat(2, 1fr); }
  .donate-inner    { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .photo-grid      { grid-template-columns: 1fr 1fr; }
  .photo-item.tall { min-height: 300px; }
}
 
@media (max-width: 640px) {
  .section-pad { padding: 4rem 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .impact-grid   { grid-template-columns: repeat(2, 1fr); }
  .photo-grid    { grid-template-columns: 1fr; }
  .photo-item.tall, .photo-item.wide { grid-row: span 1; grid-column: span 1; height: 220px; min-height: 220px; }
  .footer-inner  { grid-template-columns: 1fr; gap: 2rem; }
  .donate-card   { padding: 1.5rem; }
 
  /* Hamburger */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
}
 
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
