:root {
  --navy: #0b2a4a;
  --lightBlue: #6fa2c8;
  --white: #ffffff;
  --wood: #f2e6d3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  background-color: var(--navy);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.nav-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.95;
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-links a.give {
  font-weight: 800;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

/* SPLIT LAYOUT */
.layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: calc(100vh - 68px);
}

/* LEFT PANEL */
.left-panel {
  background: var(--lightBlue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.left-panel-inner {
  width: 100%;
  max-width: 260px;
  text-align: center;
}

.left-logo {
  width: 100%;
  height: auto;
  max-width: 240px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.15));
}

.left-caption {
  margin-top: 18px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 1px;
}

.caption-title {
  font-size: 26px;
  font-weight: 300;
}

.caption-subtitle {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 300;
  opacity: 0.9;
}

.left-social img {
  width: 32px;
  height: 32px;
}

/* HERO */
.hero {
  position: relative;
  background: var(--wood);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: calc(100vh - 68px);
}

.hero-media {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 68px);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--wood);
  cursor: grab;
}

.hero-media:active {
  cursor: grabbing;
}

/* DESKTOP HERO IMAGE */
.hero-media img {
  display: block;
  height: calc(100vh - 68px);
  width: auto;
  max-width: none;
  margin: 0 auto;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 22px;
  background: rgba(0,0,0,0.45);
  border-radius: 8px;
  max-width: 92%;
  min-width: min(560px, 92vw);
  z-index: 4;
}

.hero-overlay h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.hero-overlay p {
  font-size: 1.15rem;
  margin-bottom: 22px;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.btn.primary {
  background: white;
  color: #222;
}

.btn.outline {
  border: 2px solid white;
  color: white;
}

/* OVERLAY TOGGLE BUTTON */
.overlay-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.92);
  color: #222;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

/* OVERLAY HIDDEN STATE */
.hero-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* FLOATING SHOW BUTTON */
.overlay-show {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  background: rgba(11,42,74,0.92);
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  display: none;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 18px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  opacity: 0.85;
}

/* PAGE HERO — inner pages */
.page-hero {
  position: relative;
  background: var(--wood);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

/* SHOW THE FULL IMAGE */
.page-hero img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* TITLE OVERLAY */
.page-hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.page-hero-title h1 {
  color: white;
  font-size: 2.6rem;
  font-weight: 800;
  background: rgba(0,0,0,0.45);
  padding: 14px 22px;
  border-radius: 8px;
}

.about-hero {
  background: var(--wood);
}

/* PAGE CONTENT */
.page-content {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.content-section {
  margin-bottom: 60px;
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--navy);
}

.content-section h3 {
  margin-top: 22px;
  font-size: 1.2rem;
}

.content-section p,
.content-section li {
  line-height: 1.7;
  margin-top: 8px;
}

.content-section ul {
  margin-left: 20px;
}

.belief-list li {
  margin-bottom: 14px;
}

.contact-note {
  margin-top: 22px;
  font-weight: 600;
}

.photo-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.minister-photos .photo-card img {
  height: 420px;
}

/* MEDIUM RESPONSIVE */
@media (max-width: 980px) {
  .layout {
    grid-template-columns: 280px 1fr;
  }
}

/* MOBILE */
@media (max-width: 820px) {
  .navbar {
    padding: 10px 0;
  }

  .nav-container {
    flex-wrap: wrap;
    align-items: center;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    margin-left: 0;
  }

  .layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .left-panel {
    padding: 22px 16px;
  }

  .hero {
    min-height: 56vh;
  }

  .hero-media {
    max-height: none;
    min-height: 56vh;
    overflow: hidden;
    background: var(--wood);
    cursor: default;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--wood);
  }

  .hero-overlay {
    min-width: 0;
    width: min(92%, 700px);
    padding: 16px;
  }

  .hero-overlay h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-overlay p {
    font-size: 1rem;
    margin-bottom: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .page-hero {
    padding: 18px 0;
  }

  .page-hero img {
    max-height: 52vh;
  }

  .page-hero-title h1 {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
    padding: 12px 18px;
  }

  .photo-card img,
  .minister-photos .photo-card img {
    height: 300px;
  }
}