/* Yenege Tesfa - Shared Styles */

:root {
  --gold: #C8821A;
  --gold-light: #E8A835;
  --gold-dark: #8B5A1A;
  --green: #2D6A4F;
  --red: #CC3030;
  --orange: #F07820;
  --green-light: #3D8B65;
  --green-dark: #1a4030;
  --cream: #FAF7F2;
  --brown-dark: #2C1A0E;
  --brown-mid: #5C3D2E;
  --text: #2C1A0E;
  --text-muted: #7A6053;
  --border: #E8DDD4;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --radius: 0.375rem;
  --radius-lg: 0.625rem;
  --header-height: 4.5rem;
  --shadow: 0 2px 16px rgba(44,26,14,0.10);
  --shadow-lg: 0 8px 40px rgba(44,26,14,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.0625rem;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo img { height: 3rem; width: auto; }
.logo-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--brown-dark); line-height: 1.2; }

nav ul { list-style: none; display: flex; gap: 0.25rem; align-items: center; }
nav ul li { position: relative; }
nav ul li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-mid);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active {
  background: var(--cream);
  color: var(--gold);
}
nav ul li a.btn-nav {
  background: var(--gold);
  color: var(--white);
  padding: 0.5rem 1.125rem;
}
nav ul li a.btn-nav:hover { background: var(--gold-light); }

/* Header - Dropdown */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 0.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 12.5rem;
  flex-direction: column;
  z-index: 200;
}
.has-dropdown:hover .dropdown { display: flex; }
.has-dropdown .dropdown li a { padding: 0.625rem 1.125rem; border-radius: 0; font-weight: 400; }
.has-dropdown .dropdown li a:hover { background: var(--cream); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--brown-dark);
  padding: 0.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-block;
  padding: 0.8125rem 1.875rem;
  border-radius: var(--radius);
  font-size: 1rem;
}
.btn-primary {
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border: 2px solid rgba(255,255,255,0.65);
  font-weight: 600;
  transition: background 0.2s;
}
.btn-secondary:hover,
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.75rem 5rem 5rem;
  gap: 1.25rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-weight: 600;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
}

.hero-stat {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}
.hero-stat strong { color: var(--gold-light); }

.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 0.625rem;
}

/* Hero - Mosaic */
.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  overflow: hidden;
}
.hero-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-mosaic img:hover { transform: scale(1.04); }

/* Section Title */
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 3rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--gold);
  margin: 0.875rem auto 0;
}

/* Pillars */
.pillars {
  padding: 6rem 0;
  background: var(--cream);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: var(--text);
  transition: box-shadow 0.25s, transform 0.25s;
  display: block;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--text); }
.pillar-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 0.625rem;
}
.pillar-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* Program Icon Colours */
.fa-house { color: var(--green); }
.fa-graduation-cap { color: var(--orange); }
.fa-heart-pulse { color: var(--red); }
.fa-seedling { color: var(--green); }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.875rem;
}
.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin: 0 auto 2.25rem;
  max-width: 540px;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.875rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto;
}

/* Page Content */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.page-content p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.8; }
.page-content h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--brown-dark); margin: 2.5rem 0 1rem; }

/* What We Do */
.what-we-do-intro {
  padding: 4rem 1.5rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.what-we-do-intro .container { max-width: 800px; }
.what-we-do-intro p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.what-we-do-intro p:last-child { margin-bottom: 0; }
.what-we-do-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--brown-dark);
}
.what-we-do-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.program-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.program-section:last-child { border-bottom: none; }
.program-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  align-items: center;
}
.program-inner.reverse { direction: rtl; }
.program-inner.reverse > * { direction: ltr; }
.program-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.program-text h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}
.program-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }

/* Volunteer */
.volunteer-section,
.contact-section { padding: 5rem 0; }
.volunteer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.volunteer-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.25rem; }
.volunteer-text .email-link {
  display: inline-block;
  background: var(--green);
  color: var(--white) !important;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.volunteer-text .email-link:hover { background: var(--green-light); }
.volunteer-photos { display: flex; flex-direction: column; gap: 1rem; }
.volunteer-photos img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Donate */
.donate-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.bank-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow);
}
.bank-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 0.875rem;
}
.bank-card code {
  display: block;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  padding: 0.875rem 1.125rem;
  font-family: 'Courier New', monospace;
  font-size: 0.92rem;
  line-height: 2;
  white-space: pre-wrap;
}
.sponsor-banks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.donate-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brown-dark);
  margin: 3rem 0 0.875rem;
}
.donate-section p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }

/* Contact */
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
}
.contact-info h2,
.contact-form h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
}
.contact-detail { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-item p, .contact-item a { font-size: 1rem; color: var(--text); line-height: 1.6; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-mid);
  margin-bottom: 0.375rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,130,26,0.18); }
.form-group textarea { height: 8.75rem; resize: vertical; }
.btn-submit {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 0.8125rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--green-light); }

/* News Teaser */
.news-teaser {
  padding: 0 1.5rem 5rem;
  background: var(--cream);
  text-align: center;
}
.news-teaser .container { max-width: 700px; }
.news-teaser-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 1rem 0 2rem;
}
.news-teaser .btn-primary i { margin-left: 0.5rem; font-size: 0.85em; }

/* News */
.news-feed-section {
  padding: 2rem 1.5rem;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.fb-feed-wrap { width: 100%; max-width: 500px; }

/* Sponsors */
.content-section { padding: 5rem 1.5rem; }
.section-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr));
  gap: 2rem;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
}
.sponsor-card:hover { box-shadow: var(--shadow); }
.sponsor-card img { max-width: 8.75rem; max-height: 5rem; object-fit: contain; }
.sponsor-no-logo { width: 8.75rem; height: 5rem; display: flex; align-items: center; justify-content: center; }
.sponsor-wordmark { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--brown-mid); letter-spacing: 0.04em; }
.sponsor-card h3 { font-family: var(--font-display); font-size: 1rem; color: var(--brown-dark); margin-top: 0.25rem; }
.sponsor-card p { font-size: 0.85rem; color: var(--text-muted); }
.sponsor-card a { font-size: 0.85rem; color: var(--gold); }
.sponsor-card a:hover { text-decoration: underline; }

/* Footer */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); display: block; margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; }
.footer-brand a { color: var(--gold-light); }
footer h4 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-social a { display: inline-block; color: var(--gold-light); font-weight: 600; }
.footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
#lightbox button {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
#lightbox button:hover { opacity: 1; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 3.75rem 2rem; }
  .hero-mosaic { height: 300px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .program-inner, .program-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sponsor-banks { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--border); box-shadow: var(--shadow-lg); }
  nav.open { display: block; }
  nav ul { flex-direction: column; padding: 0.5rem 0; }
  nav ul li a { border-radius: 0; padding: 0.75rem 1.5rem; }
  .has-dropdown .dropdown { display: none !important; }
  .pillars-grid { grid-template-columns: 1fr; }
  .volunteer-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-content { padding: 3rem 1.5rem; }
  .news-feed-section { padding: 0; align-items: stretch; }
  .fb-feed-wrap { max-width: 100%; overflow: hidden; }
}
