/* ============================================================
   PGSDA Church — Main Stylesheet
   assets/css/main.css
   ============================================================ */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0B1F3A;
  --navy-mid:  #162e52;
  --gold:      #FCD116;   /* Ghana gold */
  --gold-light:#fde44a;
  --green:     #006B3F;   /* Ghana green */
  --red:       #CE1126;   /* Ghana red — used sparingly as accent */
  --white:     #FFFFFF;
  --silver:    #F0F4F8;
  --text-muted:#6b7a91;
  --text-dark: #1a2a3a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Main Navigation (#mainNav only) ───────────────────── */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 2rem;
  background: transparent;
  transition: background .35s, box-shadow .35s;
}
#mainNav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.nav-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
}
.nav-logo img { display: block; flex-shrink: 0; }
/* nav-logo span colours handled by .nav-logo-name and .nav-logo-sub */
.nav-logo-name {
  font-size: .80rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  line-height: 1.2;
  letter-spacing: .01em;
}
.nav-logo-sub {
  font-size: .62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

#mainNav .nav-links { display: flex; gap: 2.5rem; list-style: none; }
#mainNav .nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s;
}
#mainNav .nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: .55rem 1.4rem;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* ── Hero ──────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Ghana flag stripe at very bottom of hero */
#home::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(to right,
    var(--red)   0%,   var(--red)   33.3%,
    var(--gold)  33.3%, var(--gold) 66.6%,
    var(--green) 66.6%, var(--green) 100%
  );
  z-index: 3;
}

/* Kente-inspired geometric pattern overlay */
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(252,209,22,.03) 0px,
      rgba(252,209,22,.03) 2px,
      transparent 2px,
      transparent 20px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,107,63,.03) 0px,
      rgba(0,107,63,.03) 2px,
      transparent 2px,
      transparent 20px
    );
  pointer-events: none;
  z-index: 1;
}

.rays { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.rays::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 200%; height: 140%;
  background: conic-gradient(
    from 260deg at 50% 0%,
    transparent 0deg, rgba(252,209,22,.05) 8deg,
    transparent 16deg, rgba(0,107,63,.04) 28deg,
    transparent 36deg, rgba(252,209,22,.06) 48deg,
    transparent 56deg, rgba(0,107,63,.03) 68deg,
    transparent 76deg, rgba(252,209,22,.04) 88deg,
    transparent 100deg
  );
  animation: rayRotate 25s linear infinite;
}
@keyframes rayRotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

.hero-content { position: relative; z-index: 2; max-width: 820px; padding: 0 2rem; }

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  border: 1px solid rgba(201,168,76,.4);
  padding: .4rem 1.2rem;
  border-radius: 2px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-title-line1 { display: inline; white-space: nowrap; }
.hero-title-line2 { display: inline; font-size: .65em; white-space: nowrap; opacity: .9; letter-spacing: .01em; }

.hero-denom {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  color: rgba(255,255,255,.55);
  font-weight: 400;
  letter-spacing: .04em;
  margin-bottom: 2rem;
}
.hero-verse {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  font-style: italic;
  max-width: 480px;
  margin: 0 auto 2.8rem;
  line-height: 1.7;
}
.hero-verse cite {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  margin-top: .5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.35);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.scroll-indicator::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; }
  50%       { opacity: 1;  }
}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: .9rem 2.2rem;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: .9rem 2.2rem;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 2px;
  transition: border-color .2s, color .2s, transform .15s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── Welcome Strip ─────────────────────────────────────── */
.welcome-strip {
  background: var(--green);
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.welcome-strip p { font-size: .92rem; font-weight: 600; color: #fff; }
.welcome-strip a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  white-space: nowrap;
}

/* ── Section Utilities ─────────────────────────────────── */
section { padding: 6rem 2rem; }
#home, #home * { box-sizing: border-box; }
#home { padding: 0; }
.section-silver { background: var(--silver); }
.section-navy   { background: var(--navy); color: var(--white); }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 52px; height: 3px;
  background: var(--gold);
  margin-top: 1rem;
}
.section-title.center::after { margin: 1rem auto 0; }

.section-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); max-width: 600px; }
.section-navy .section-body  { color: rgba(255,255,255,.65); }
.section-navy .section-title { color: var(--white); }

/* ── About ─────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-card {
  background: var(--navy);
  border-radius: 4px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-card.no-image {
  padding: 3rem;
}
.about-card.no-image::before {
  content: '✝';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: 9rem;
  color: rgba(201,168,76,.12);
  line-height: 1;
}
/* Dark overlay when image is set */
.about-card.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,.55) 0%, transparent 60%);
  border-radius: 4px;
}
.about-stat-row { display: flex; gap: 1.5rem; margin-top: 3rem; }
.about-stat {
  background: var(--gold);
  border-radius: 2px;
  padding: 1.2rem 1.5rem;
  flex: 1;
  text-align: center;
}
.about-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
}
.about-stat span { font-size: .75rem; font-weight: 600; color: var(--navy); letter-spacing: .08em; text-transform: uppercase; }

.values-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.values-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ── Service Times ─────────────────────────────────────── */
.times-section { background: var(--navy); padding: 5rem 2rem; }
.times-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.time-block { border-left: 3px solid var(--gold); padding-left: 1.5rem; margin-bottom: 2rem; }
.time-block h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--white); margin-bottom: .3rem; }
.time-block p   { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.time-block strong {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: .2rem;
}

/* ── Ministries ────────────────────────────────────────── */
.ministries-header { text-align: center; max-width: 620px; margin: 0 auto 4rem; }
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.ministry-card {
  background: var(--navy);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(11,31,58,.4); }
.ministry-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.ministry-card:hover::after { transform: scaleX(1); }
.ministry-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.ministry-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: .8rem; }
.ministry-card p  { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); }

/* ── Give ──────────────────────────────────────────────── */
.give-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}
.give-ways { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.give-way {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
}
.give-way-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.give-way-text h4  { font-weight: 600; font-size: .95rem; color: var(--white); margin-bottom: .2rem; }
.give-way-text p   { font-size: .82rem; color: rgba(255,255,255,.5); }
.give-way-text .bank-detail { font-size: .85rem; color: rgba(255,255,255,.75); margin-top: .2rem; }

.give-verse {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 4px;
  padding: 2.5rem;
  text-align: center;
}
.give-verse p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.give-verse cite { font-size: .8rem; color: var(--gold); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ── Media Gallery ─────────────────────────────────────── */
#media { background: var(--silver); }
.media-header { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.media-item {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.media-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.media-item:hover img { transform: scale(1.05); }
.media-item .video-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-mid);
  cursor: pointer;
}
.play-btn {
  width: 56px; height: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform .2s;
}
.media-item:hover .play-btn { transform: scale(1.1); }
.media-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,31,58,.85));
  padding: 1.5rem .8rem .8rem;
  color: var(--white);
  font-size: .8rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s;
}
.media-item:hover .media-caption { opacity: 1; }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; }
.lightbox-inner img { width: 100%; border-radius: 4px; max-height: 80vh; object-fit: contain; }
.lightbox-inner iframe { width: 100%; aspect-ratio: 16/9; border-radius: 4px; border: none; }
.lightbox-close {
  position: absolute;
  top: -2.5rem; right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-caption { text-align: center; color: rgba(255,255,255,.7); font-size: .85rem; margin-top: .8rem; }

/* ── Contact ───────────────────────────────────────────── */
.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-info-block { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.contact-item p,
.contact-item a  { font-size: .95rem; color: rgba(255,255,255,.7); text-decoration: none; line-height: 1.5; }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2px;
  padding: .85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--navy); }

.form-submit {
  background: var(--gold);
  color: var(--navy);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  padding: 1rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: .5rem;
}
.form-submit:hover    { background: var(--gold-light); transform: translateY(-2px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

#formNotice { display: none; padding: .85rem 1rem; border-radius: 3px; font-size: .88rem; margin-bottom: 1rem; }
#formNotice.notice-success { background: rgba(39,174,96,.15);  border: 1px solid rgba(39,174,96,.4);  color: #a8f0c6; }
#formNotice.notice-error   { background: rgba(231,76,60,.15);  border: 1px solid rgba(231,76,60,.4);  color: #f5a9a2; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: #07131f;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right,
    var(--red)   0%,   var(--red)   33.3%,
    var(--gold)  33.3%, var(--gold) 66.6%,
    var(--green) 66.6%, var(--green) 100%
  ) 1;
}
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.1rem; color: var(--white); }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }
.gold-divider {
  width: 60px; height: 3px; border-radius: 2px;
  background: linear-gradient(to right, var(--red), var(--gold), var(--green));
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  #mainNav { padding: .4rem 1.2rem; }
  #mainNav .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  #mainNav .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  section { padding: 4rem 1.5rem; }
  .times-section { padding: 4rem 1.5rem; }
  .welcome-strip { padding: 1.2rem 1.5rem; }
  footer { padding: 2.5rem 1.5rem; }
  .about-grid,
  .times-inner,
  .give-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ministries-grid,
  .media-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-card { aspect-ratio: 3/2; }
}

@media (max-width: 600px) {
  .ministries-grid,
  .media-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.6rem; }
  .hero-title-line1 { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .rays::before          { animation: none; }
  .scroll-indicator::after { animation: none; }
}

/* ── Select2 — Public Contact Form ──────────────────────── */
#subject + .select2-container { width: 100% !important; }

.select2-container--default .select2-selection--single {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 2px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 1rem !important;
  transition: border-color .2s !important;
}
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open  .select2-selection--single {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: .9rem !important;
  line-height: 1 !important;
  padding: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(255,255,255,.4) !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  top: 0 !important;
  right: .8rem !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: rgba(255,255,255,.4) transparent transparent !important;
  border-width: 5px 4px 0 !important;
}
.select2-container--default.select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent rgba(255,255,255,.4) !important;
  border-width: 0 4px 5px !important;
}
.select2-dropdown {
  background: #0B1F3A !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 2px !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.4) !important;
  font-family: 'Inter', sans-serif !important;
}
.select2-container--default .select2-results__option {
  padding: .65rem 1rem !important;
  font-size: .9rem !important;
  color: rgba(255,255,255,.75) !important;
  background: transparent !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(201,168,76,.2) !important;
  color: var(--gold) !important;
}
.select2-container--default .select2-results__option[aria-selected=true] {
  background: rgba(201,168,76,.12) !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
}

/* ── Events & Sermons Section ──────────────────────────── */
.events-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.5rem;
  justify-content: center;
}
.event-card {
  width: 100%;
  max-width: 380px;
  flex: 0 1 380px;
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: 4px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border-left: 3px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.event-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  min-width: 52px;
  padding: .5rem;
  flex-shrink: 0;
}
.event-day   { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; line-height: 1; }
.event-month { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: .2rem; }
.event-body  { flex: 1; min-width: 0; }
.event-type  { display: inline-block; padding: .15rem .55rem; border-radius: 20px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.type-event  { background: #d4edda; color: #155724; }
.type-sermon { background: #d1ecf1; color: #0c5460; }
.event-title { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; line-height: 1.3; }
.event-meta  { font-size: .78rem; color: var(--muted); margin-bottom: .25rem; }
.event-speaker { font-size: .78rem; color: var(--muted); margin-bottom: .25rem; font-style: italic; }
.event-desc  { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: .4rem; }
.event-video-link { font-size: .8rem; color: var(--gold); font-weight: 600; text-decoration: none; }
.event-video-link:hover { text-decoration: underline; }

/* Section light background */
.section-light { background: #f8fafc; padding: 5rem 2rem; }
.section-light .section-label { color: var(--gold); }
.section-light .section-title { color: var(--navy); }
.section-gold  { background: var(--gold); padding: 4.5rem 2rem; }
.section-gold .section-title { color: #0B1F3A; }

/* ── Print styles (enquiries) ──────────────────────────── */
@media print {
  .sidebar, .topbar, .sidebar-overlay,
  .btn, #adminToast, #sessionWarning,
  .filter-btn, .card-head button { display: none !important; }
  .main-wrap { margin-left: 0 !important; }
  .card { box-shadow: none !important; border: 1px solid #ddd !important; }
  table { font-size: .8rem; }
  thead { background: #f0f4f8 !important; }
  a[href]::after { content: none !important; }
}

@media (max-width: 768px) {
  .section-light { padding: 4rem 1.5rem; }
  .events-grid   { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.8rem; }
}

/* ── Media Gallery — Featured 3 + Modal ─────────────────── */
.media-featured {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1rem !important;
}
.media-featured-item {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/10;
  background: #111;
}
.media-featured-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.media-featured-item:hover img { transform: scale(1.03); }
.media-featured-item .video-thumb {
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
}
.media-featured-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .25s;
}
.media-featured-item:hover::after { background: rgba(0,0,0,.15); }

/* Thumbnail strip scrollbar */
#galleryThumbs::-webkit-scrollbar { height: 4px; }
#galleryThumbs::-webkit-scrollbar-track { background: transparent; }
#galleryThumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

@media (max-width: 768px) {
  .media-featured { grid-template-columns: 1fr !important; }
  .media-featured-item { aspect-ratio: 16/9; }
}

/* ── Gallery modal tabs ──────────────────────────────────── */
.gtab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(255,255,255,.45);
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem 1rem .4rem;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.gtab:hover { color: rgba(255,255,255,.85); }
.gtab-active {
  color: #fff !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--gold) !important;
}
.gtab i { display: none; }