/* ================================
   Women in the Church Page Styling
   ================================ */
#wic,
.wic-section {
  max-width: 860px;                  /* narrower for readability */
  margin: 3rem auto;
  padding: 2.5rem;
  background: linear-gradient(180deg, #ffffff, #fdfbff);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(142,68,173,0.12);
  position: relative;
}

/* -------------------------------
   Header
   ------------------------------- */
.wic-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.wic-header::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: #8e44ad;
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.wic-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #8e44ad;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(142,68,173,0.2);
  letter-spacing: 0.5px;
}

.wic-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* -------------------------------
   Lantern Accent
   ------------------------------- */
.wic-lantern {
  text-align: center;
  margin: 1.5rem 0;
}
.wic-lantern img {
  max-width: 180px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(142,68,173,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wic-lantern img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(142,68,173,0.3);
}
.wic-lantern figcaption {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-top: 0.5rem;
  font-style: italic;
}

/* -------------------------------
   Gallery
   ------------------------------- */
.wic-gallery {
  margin-top: 2rem;
  text-align: center;
}
.gallery-summary {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.gallery-item {
  width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}
.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(142,68,173,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(142,68,173,0.25);
}
.gallery-item figcaption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--dark-gray);
  font-style: italic;
}

/* -------------------------------
   Circles Offerings
   ------------------------------- */
.circles-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 700px;
  margin: 1.5rem auto;
}

.circles-offerings {
  margin-top: 2rem;
}

.circle-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.circle {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(142,68,173,0.12);
  padding: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.circle:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(142,68,173,0.2);
}

.circle-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #6c3483;
  margin-bottom: 0.5rem;
  text-align: center;
}
.circle-name::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #8e44ad;
  margin: 0.5rem auto;
  border-radius: 1px;
}

.circle-location,
.circle-schedule {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0.25rem 0;
  text-align: center;
}

/* -------------------------------
   Contact
   ------------------------------- */
.wic-contact {
  margin-top: 3rem;
  text-align: center;
}
.wic-contact h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #8e44ad;
  margin-bottom: 0.75rem;
}
.wic-contact h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #8e44ad;
  margin: 0.5rem auto;
  border-radius: 1px;
}

.contact-name {
  font-size: 1rem;
  font-weight: 600;
  color: #6c3483;
}

.contact-phone {
  font-size: 0.95rem;
  color: var(--text-body);
  display: block;
  margin-top: 0.25rem;
}

/* -------------------------------
   Buttons & Links
   ------------------------------- */
.btn,
.campus-link {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  background: linear-gradient(135deg, #8e44ad, #6c3483);
  color: #fff;
  box-shadow: 0 3px 10px rgba(142,68,173,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn:hover,
.campus-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(142,68,173,0.25);
  background: linear-gradient(135deg, #6c3483, #8e44ad);
}

/* -------------------------------
   Lightbox Overlay
   ------------------------------- */
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;                     /* hidden by default */
  display: flex;                     /* use flexbox */
  align-items: center;               /* vertical centering */
  justify-content: center;           /* horizontal centering */
  z-index: 9999;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  margin: auto;                      /* ensures centering */
}

#lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(142,68,173,0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lightbox-img.visible {
  opacity: 1;
}


.lightbox-close {
  position: absolute;
  top: -12px; right: -12px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}
.lightbox-close:hover {
  color: #8e44ad;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.lightbox-nav button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  padding: 0 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.lightbox-nav button:hover {
  color: #8e44ad;
  transform: scale(1.1);
}
