@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
  --black: #0a0b0f;
  --dark: #11151b;

  --green: #0071bc;
  --green-light: #1293e6;

  --cream: #f4f1ea;
  --white: #ffffff;
  --grey: #d6d7d9;
  --muted: #747b86;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}
.brand-logo {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  max-width: 42px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  border: 2px solid rgba(255,255,255,0.85);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
  background: rgba(10, 11, 15, 0.82);
  backdrop-filter: blur(14px);
  color: var(--white);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  background: var(--white);
  color: var(--black);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  color: var(--grey);
}

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

.menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  border: 0;
  font-size: 28px;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 140px 7% 80px;
  background: url('assets/church-wide-2.jpg') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
  background: rgba(35, 53, 71, 0.72);
}

.hero-content {
  position: relative;
  max-width: 950px;
  text-align: center;
  animation: fadeUp 0.9s ease both;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green-light);
  margin-bottom: 14px;
}

.hero .eyebrow {
  color: #8fd3ff;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  max-width: 720px;
  margin: 0 auto 34px;
  color: #edf0f2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

.btn-primary:hover {
  background: var(--primary-light);
}

.btn-secondary {
  border-color: currentColor;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
}

.hero-buttons,
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.section {
  padding: 100px 7%;
}

.mission-section {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.mission-section p,
.split-section p,
.connect-group-section p,
.social-section p {
  font-size: 1.12rem;
  color: #4e5661;
  max-width: 760px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  background: var(--white);
}

.info-card {
  background: var(--cream);
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 12px;
}

.split-section p {
  margin: 22px 0;
}

.map-card {
  min-height: 420px;
  border-radius: 34px;
  padding: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.22), transparent 35%),
    linear-gradient(135deg, #0071bc, #0a0b0f);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 28px;
}

.map-card a {
  color: #cde8dd;
  font-weight: 800;
  margin-top: 16px;
}

.map-pin {
  font-size: 4rem;
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.value-card {
  background: var(--white);
  padding: 26px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  min-height: 220px;
}

.value-card span {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 18px;
}

.value-card p {
  color: var(--muted);
}

.connect-group-section {
  background: linear-gradient(135deg, rgba(10,11,15,0.92), rgba(72, 188, 235, 0.655)), url('assets/worship.png') center/cover no-repeat;
  color: var(--white);
}

.connect-content {
  max-width: 760px;
}

.connect-group-section p {
  color: #e7ecea;
  margin-bottom: 28px;
}

.gallery-section {
  background: var(--white);
}

.gallery-grid {
  columns: 4 240px;
  column-gap: 16px;
  margin-top: 32px;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 26px;
  break-inside: avoid;
  box-shadow: 0 16px 35px rgba(0,0,0,0.08);
}

.social-section {
  text-align: center;
}

.social-section p {
  margin: 0 auto 30px;
}

footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 38px 7%;
}

footer p {
  color: var(--grey);
  margin-top: 8px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 7%;
    right: 7%;
    padding: 22px;
    border-radius: 22px;
    background: var(--black);
    flex-direction: column;
    display: none;
  }

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 78px 7%;
  }
}

@media (max-width: 560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons,
  .social-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .site-header {
    padding: 18px 6%;
  }
}

/* ===== OFFICIAL VALUES SECTION ===== */

.values-section {
  background: var(--cream);
}

.official-values {
  display: flex;
  flex-direction: column;
  gap: 44px;
  max-width: 920px;
  margin: 50px auto 0;
}

.official-value {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
}

.official-value-content {
  display: flex;
  flex-direction: column;
}

.value-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.official-value h3 {
  color: #1565c0;
  font-size: 1.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 800;
}

.official-value p {
  color: #2d3742;
  line-height: 1.55;
  font-size: 1rem;
  max-width: 680px;
}

.official-value small {
  display: block;
  margin-top: 8px;
  color: #b6bec6;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* MOBILE */
@media (max-width: 768px) {
  .official-values {
    max-width: 100%;
    gap: 34px;
  }

  .official-value {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }

  .value-icon-img {
    margin: 0 auto;
  }

  .official-value p {
    max-width: 100%;
  }
}

/* ===== MAP IMAGE CARD ===== */

.map-image-card {
  display: block;
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  background: var(--white);
}

.map-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.map-image-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-weight: 800;
}

.map-image-label span {
  color: var(--green);
}

@media (max-width: 600px) {
  .map-image-label {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== REAL ENC ICONS ===== */

.value-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
/* ===== DISCIPLESHIP PROCESS SECTION ===== */

.process-section {
  background: white;
  text-align: center;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.process-grid img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.process-gallery {
  margin-top: 32px;
}

.process-gallery img {
  width: 100%;
  max-width: 900px;
  border-radius: 28px;
  margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
.value-icon-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.process-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.process-grid img {
  width: 100%;
  max-width: 800px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== LIFE AT ENC HERO SECTION ===== */

.gallery-hero-section {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  padding: 100px 7%;
  background: var(--cream);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-hero-grid img {
  width: 100%;
  height: 320px;
  border-radius: 22px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
}

.gallery-hero-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    z-index: 10;

    width: 100%;
    height: 100%;
}

.gallery-hero-content .section-label {
  color: #8fd3ff;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.gallery-hero-content h2 {
  max-width: 1000px;

  color: white;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;

  text-shadow:
    0 4px 12px rgba(0,0,0,0.6),
    0 10px 30px rgba(0,0,0,0.5);

  margin: 0 auto;
}
.gallery-hero-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.45);

  z-index: 1;
}

@media (max-width: 900px) {
  .gallery-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-hero-content h2 {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .gallery-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== GROWTH PATHWAY SECTION ===== */

.pathway-section {
  background: white;
  text-align: center;
}

.pathway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;

  margin-top: 48px;
}

.pathway-grid img {
  width: 100%;
  border-radius: 28px;

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.pathway-grid img:hover {
  transform: translateY(-6px);

  box-shadow:
    0 28px 55px rgba(0,0,0,0.14);
}

/* ===== GIVING SECTION ===== */

.giving-section {
  background: var(--cream);
  text-align: center;
}

.giving-content {
  max-width: 950px;
  margin: 0 auto;
}

.giving-content p {
  max-width: 720px;
  margin: 0 auto 36px;
  color: #4e5661;
  font-size: 1.12rem;
}

.giving-card {
  background: transparent;
  padding: 0;
  border-radius: 30px;
  box-shadow: none;
}

.giving-card img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  display: block;
}


.btn-primary{
  background:#0071bc;
  color:white;
}

.btn-secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
html{
  scroll-behavior:smooth;
}
.map-embed-card iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.map-embed-card .map-image-label {
  position: static;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

/* ===== LEADERSHIP SECTION ===== */

.pastors-section {
  background: linear-gradient(
    50deg,
    #0a0b0f 0%,
    #0f3d63 25%,
    #1d6ea8 50%,
    #0f3d63 75%,
    #0a0b0f 100%
  );

  padding: 50px 7%;
}

.pastors-section .mission-section {
  max-width: 1200px;
}

.pastors-section .leadership-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
  margin-top: 45px;
}

.leadership-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.pastors-section .section-label {
    color: #8fd3ff;
    margin-bottom: 6px;
}

.pastors-section h2 {
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1;
}
.pastors-section .section-label {
  color: #8fd3ff;
}

.pastors-section .value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 0;
}

.pastors-section .value-card {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;

  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 16px 35px rgba(0,0,0,0.18);
}

.pastors-section .value-card h3 {
  color: white;
  font-size: 1.1rem;
}

.pastors-section .value-card p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 6px;
}

.pastors-section .value-card a {
  color: #8fd3ff;
  font-weight: 700;
  font-size: 0.92rem;
  word-break: break-word;
}

.pastors-section .section-label {
    margin-bottom: 8px;
}

.pastors-section h2 {
    margin-top: 0;
    margin-bottom: 35px;
}

@media (max-width: 900px) {
  .pastors-section .leadership-layout {
    grid-template-columns: 1fr;
  }

  .leadership-photo img {
    height: auto;
  }

  .pastors-section .value-grid {
    grid-template-columns: 1fr;
  }
}

.sermon-section {
    text-align: center;
    background: white;
}

.sermon-section p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #4e5661;
}

/* ===== CONNECT SECTION CARDS ===== */

.social-section {
  text-align: center;
  background: var(--cream);
}

.social-section p {
  margin: 0 auto 30px;
  color: #4e5661;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto 40px;
  background: white;
  box-shadow: 0 14px 35px rgba(0,0,0,0.06);
}

.connect-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto;
}

.connect-card {
  background: white;
  border-radius: 28px;
  padding: 34px 28px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}

.connect-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.connect-card p {
  font-size: 1rem;
  margin-bottom: 24px;
}

.connect-card .btn {
  width: 100%;
}

.mini-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mini-buttons a {
  padding: 12px 18px;
  border-radius: 999px;
  background: #0071bc;
  color: white;
  font-weight: 800;
}

@media (max-width: 900px) {
  .connect-card-grid {
    grid-template-columns: 1fr;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.gallery-hero-grid img,
.leadership-photo img,
.pathway-grid img,
.process-grid img,
.giving-card img {
  content-visibility: auto;
}