:root {
  --navy: #1B2A6B;
  --gold: #C49A3C;
  --gold-dark: #a8822e;
  --red: #B22234;
  --white: #FFFFFF;
  --body-bg: #FAF7F2;
  --cream: #FDF9F4;
  --text-dark: #1a1a1a;
  --text-muted: #555;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1100px;
  --section-padding: 80px 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--body-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

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

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.section-heading + .section-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.section-rule::before,
.section-rule::after {
  content: '';
  height: 2px;
  width: 32px;
  background: var(--red);
  border-radius: 2px;
}

.section-rule span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-rule--light span { color: rgba(196,154,60,0.85); }
.section-rule--light::before,
.section-rule--light::after { background: rgba(255,255,255,0.4); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-red:hover { background: #8e1a27; border-color: #8e1a27; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-top: 4px solid var(--gold);
  transition: box-shadow 0.3s;
}

.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo img { height: 56px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.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(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 16px 0;
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 12px 24px;
    font-size: 1.1rem;
  }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  background-image:
    linear-gradient(135deg, rgba(17,30,84,0.72) 0%, rgba(27,42,107,0.60) 60%, rgba(30,49,120,0.72) 100%),
    url('Assests/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

.hero-content { text-align: center; }

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── About ── */
.about {
  padding: var(--section-padding);
  background: var(--cream);
}

.about-body {
  max-width: 720px;
  border-left: 4px solid var(--gold);
  padding-left: 28px;
}

.about-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-body p:last-child { margin-bottom: 0; }

/* ── Mission ── */
.mission {
  padding: var(--section-padding);
  background: var(--body-bg);
}

.mission-body {
  max-width: 760px;
}

.mission-body > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.mission-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 10px;
}

.pbuh {
  font-style: italic;
  color: var(--navy);
  font-size: 0.95em;
}

/* ── Impact ── */
.impact {
  padding: var(--section-padding);
  background: var(--navy);
}

.impact-heading { color: var(--white); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.impact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(196,154,60,0.5);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.impact-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.impact-icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.impact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.impact-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* Fade-in animation (triggered by JS IntersectionObserver) */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Get Involved ── */
.get-involved {
  padding: var(--section-padding);
  background: var(--body-bg);
}

.get-involved-sub {
  max-width: 620px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

/* ── Donate ── */
.donate {
  padding: var(--section-padding);
  background: #f5ead6;
  text-align: center;
}

.donate-heading { color: var(--navy); }

.donate-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.donate-card {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.zelle-qr {
  width: 260px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.zelle-caption {
  font-size: 1rem;
  color: var(--text-muted);
}

.zelle-caption strong { color: var(--navy); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  border-top: 4px solid var(--gold);
  padding: 48px 24px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  height: 64px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 4px 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ── Future Plans ── */
.future-plans {
  padding: var(--section-padding);
  background: var(--cream);
}

.future-plans-body {
  max-width: 760px;
  border-left: 4px solid var(--gold);
  padding-left: 28px;
}

.future-plans-body p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.future-plans-dua {
  font-style: italic;
  color: var(--navy) !important;
  font-weight: 500;
}

.future-plans-closing {
  margin-top: 8px;
  color: var(--text-dark) !important;
  font-weight: 600;
}

/* ── Gallery / Carousel ── */
.gallery {
  padding: var(--section-padding);
  background: var(--body-bg);
}

.gallery-sub {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 420px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27,42,107,0.75);
  color: var(--white);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: rgba(196,154,60,0.9); }

.carousel-btn--prev { left: 16px; }
.carousel-btn--next { right: 16px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ── Responsive polish ── */
@media (max-width: 600px) {
  :root { --section-padding: 60px 20px; }

  .hero-ctas { flex-direction: column; align-items: center; }

  .form-row { flex-direction: column; }
  .form-input { width: 100%; }
  .btn { width: 100%; text-align: center; }

  .donate-card { width: 100%; }
  .zelle-qr { width: 200px; }
  .carousel-slide { height: 220px; }
}
