/* Duaka Charity Foundation - shared styles */
*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --teal: #134e4a;
  --teal-dark: #042f2e;
  --gray-bg: #f3f4f6;
  --text: #1f2937;
  --muted: #4b5563;
  --max: 1120px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--teal); color: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { color: #fff; text-decoration: none; font-size: 1.4rem; font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; }
.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #fff; text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #fff; }

/* Charity ID strip */
.id-strip { background: var(--teal-dark); color: #e5f4f2; font-size: .9rem; text-align: center; padding: 6px 12px; }
.id-strip strong { color: #fff; letter-spacing: .5px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--gray-bg); }
.page-title { background: var(--gray-bg); padding: 48px 0 32px; text-align: center; }
.page-title h1 { margin: 0; color: var(--teal); font-size: 2.2rem; }
h2 { color: var(--teal); font-size: 1.8rem; margin: 0 0 16px; }
h3 { color: var(--teal); margin: 0 0 8px; }
.lead { font-size: 1.1rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 8px; box-shadow: 0 10px 25px rgba(0,0,0,.15); width: 100%; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.section.alt .card { background: #fff; }

.btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; padding: 10px 22px; border-radius: 6px; margin-top: 12px; }
.btn:hover { background: var(--teal-dark); }

.id-box { border-left: 5px solid var(--teal); background: #ecfdf5; padding: 18px 22px; border-radius: 6px; margin: 24px 0; }
.id-box .id { font-size: 1.3rem; font-weight: 700; color: var(--teal); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 14px; }
.contact-list .label { display: block; font-weight: 700; color: var(--teal); }

/* Footer */
.site-footer { background: var(--teal); color: #e5f4f2; padding: 40px 0 20px; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.social { display: flex; gap: 14px; margin-top: 12px; }
.social span { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15); align-items: center; justify-content: center; }
.social svg { width: 18px; height: 18px; fill: #fff; }
.copyright { border-top: 1px solid rgba(255,255,255,.2); margin-top: 28px; padding-top: 16px; text-align: center; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--teal); padding: 12px 20px 20px; gap: 12px; }
  .nav.open { display: flex; }
  .split, .footer-grid { grid-template-columns: 1fr; }
}
