/* =========================================
   MINISTRY GENERIC PAGE STYLES
   File: /assets/ministry-page.css
========================================= */

.ministry-page {
  background: radial-gradient(circle at top, #1b2135 0, #050814 55%, #020308 100%);
  color: #f7f7f7;
  padding-bottom: 80px;
}



/* ---------- HERO ---------- */
.ministry-hero {
  position: relative;
  min-height: 300px;
  padding: 140px 20px 80px;  /* <-- increased from 120px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(9, 14, 40, 0.95), rgba(7, 31, 63, 0.96)),
    url("/assets/ministry-photos/default-hero.jpg") center/cover no-repeat;
}

/* HERO LOGO (matches the homepage style but slightly smaller) */
.ministry-hero-logo {
  width: clamp(70px, 9vw, 110px);
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.6));
}

.ministry-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 55%);
  pointer-events: none;
}

.ministry-hero-content {
  position: relative;
  max-width: 960px;
  z-index: 1;
}

/* hero logo / leader image next to title if you use it */
.ministry-hero-logo {
  width: clamp(120px, 15vw, 180px);
  height: auto;
  margin-bottom: 26px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.55));
}



.ministry-hero-leader-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.8);
  box-shadow: 0 10px 26px rgba(0,0,0,0.55);
}

.ministry-title {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: 0 4px 14px rgba(0,0,0,0.8);
}

.ministry-title::after {
  content:"";
  display:block;
  width:120px;
  height:4px;
  margin:14px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg,#b58e00,#ffd700,#b58e00);
  box-shadow:0 0 16px rgba(255,215,0,0.75);
}

.ministry-subtitle {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color:#e3e7ff;
}

/* ---------- MAIN LAYOUT ---------- */

.ministry-main {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 20px;
}

/* 2-column layout on desktop */
.ministry-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .ministry-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- DESCRIPTION CARD ---------- */

.ministry-card {
  background: radial-gradient(circle at top left, #141b33 0, #050814 65%);
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow:
    0 14px 35px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.03);
  border:1px solid rgba(181,142,0,0.3);
}

.ministry-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color:#ffefb0;
}

.ministry-card p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.ministry-card ul {
  padding-left: 18px;
  margin: 6px 0 0;
}

.ministry-card li {
  margin-bottom: 6px;
}

/* ---------- LEADER CARD ---------- */

.ministry-leader-card {
  background: radial-gradient(circle at top right, #151f3b 0, #050814 70%);
  border-radius: 18px;
  padding: 20px 18px 22px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.04);
  border: 1px solid rgba(181,142,0,0.45);
  text-align: center;
}

.ministry-leader-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.85);
  box-shadow: 0 12px 26px rgba(0,0,0,0.75);
  margin-bottom: 12px;
}

.leader-name {
  font-weight: 700;
  font-size: 18px;
  color:#fff7d0;
  margin-bottom: 2px;
}

.leader-role {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color:#d3d7ff;
  margin-bottom: 10px;
}

.leader-contact {
  font-size: 14px;
  color:#cfd4ff;
}

/* ---------- TEAM GALLERY ---------- */

.ministry-team {
  margin-top: 40px;
}

.ministry-team-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  margin-bottom: 15px;
}

.ministry-team-header h2 {
  font-size: 20px;
  color:#ffefb0;
}

.ministry-team-header p {
  font-size: 14px;
  color:#ccd2ff;
}

.ministry-team-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap:18px;
}

.team-member {
  text-align:center;
}

.team-member-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,215,0,0.65);
  box-shadow: 0 10px 22px rgba(0,0,0,0.75);
  margin-bottom: 6px;
}

.team-member-name {
  font-size: 14px;
  font-weight: 600;
}

.team-member-role {
  font-size: 12px;
  color:#c7cbff;
}

/* small helper for spacing under last section */
.ministry-page-last-space {
  height:40px;
}
/* =========================================
   GOLD SECTION DIVIDER
========================================= */

.section-divider {
  width: 180px;
  height: 4px;
  margin: 50px auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #b58e00, #ffd700, #b58e00);
  box-shadow: 0 0 18px rgba(255,215,0,0.65);
}
/* =========================================
   PRAISE & WORSHIP GALLERY
========================================= */

.ministry-gallery {
    margin-top: 60px;
    text-align: center;
}

.gallery-title {
    font-size: 24px;
    color: #ffefb0;
    margin-bottom: 22px;
}

.ministry-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 0 10px;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(255,215,0,0.5);
    box-shadow: 0 10px 22px rgba(0,0,0,0.7);
    transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 34px rgba(0,0,0,0.8);
}
/* =========================================
   LIGHTBOX (Image Popup)
========================================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255,215,0,0.4);
    animation: lightboxFade .3s ease-out;
}

@keyframes lightboxFade {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 42px;
    color: white;
    cursor: pointer;
    text-shadow: 0 0 12px black;
    transition: .3s;
}

.lightbox-close:hover {
    color: gold;
    transform: scale(1.1);
}
