/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f8f8;
  color: #08142b;
  line-height: 1.6;
}

img {
  width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* =========================
   GLOBAL
========================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: #f3f6fb;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: 2.4rem;
  color: #08142b;
  line-height: 1.1;
}

.section-heading h2 span {
  color: #c99a24;
}

.section-subtext {
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
}

.narrow-content {
  max-width: 850px;
  margin: 0 auto;
}

.narrow-content > p + p {
  margin-top: 18px;
}

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

.gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 14px;
  color: #c99a24;
  font-size: 1.5rem;
}

.gold-divider span {
  width: 120px;
  height: 2px;
  background: #c99a24;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 18, 43, 0.96);
  backdrop-filter: blur(8px);
}

.header-container {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
}

.logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #d4af37;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* =========================
   HOME VIDEO HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #010b1b;
  color: #fff;
}

/*
  This forces the vertical video to cover the full hero.
  Some parts of the video may be cropped on wide screens.
*/
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;

  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;

  pointer-events: none;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: url("web/pic1.jpeg") center/cover no-repeat;
}

.about-hero {
  background: url("web/pic4.jpeg") center/cover no-repeat;
}

.event-hero {
  background: url("web/event.jpeg") center/cover no-repeat;
}

.giving-hero {
  background: url("web/giving.jpg") center/cover no-repeat;
}

.photos-hero {
  background: url("web/pic1.jpeg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(1, 11, 27, 0.74) 0%,
      rgba(1, 11, 27, 0.48) 50%,
      rgba(1, 11, 27, 0.74) 100%
    );
}

.page-hero .hero-overlay {
  background: rgba(2, 18, 43, 0.58);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1200px;
  color: #fff;
}

.hero-content h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.08;
}

.hero-content p {
  max-width: 620px;
  font-size: 1.2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}

/* =========================
   BUTTONS
========================= */

.btn,
.giving-btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.btn:hover,
.giving-btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #d4af37;
  color: #08142b;
}

.btn-primary:hover {
  background: #b98d22;
}

.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #08142b;
}

.btn-dark {
  background: #08142b;
  color: #fff;
}

.btn-dark:hover {
  background: #0f2550;
}

.btn-light {
  background: #fff;
  color: #08142b;
}

.btn-light:hover {
  background: #e5e7eb;
}

/* =========================
   INTRO
========================= */

.intro {
  max-width: 900px;
}

.intro-text {
  display: grid;
  gap: 18px;
  color: #374151;
}

/* =========================
   HOME CARDS
========================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(8, 20, 43, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(8, 20, 43, 0.15);
}

.card-image img {
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  margin-bottom: 10px;
  color: #08142b;
}

.card-content p {
  color: #4b5563;
}

/* =========================
   ABOUT / EVENT
========================= */

.feature-box,
.event-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.feature-text h2,
.event-details h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-label {
  color: #c99a24;
  font-weight: bold;
  margin-bottom: 15px;
}

.feature-text p,
.event-details p {
  margin-bottom: 16px;
  color: #374151;
}

.feature-image img,
.event-image img {
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(8, 20, 43, 0.12);
  object-fit: cover;
}

.event-meta {
  background: #f3f6fb;
  padding: 10px 14px;
  border-left: 4px solid #c99a24;
  border-radius: 8px;
}

/* =========================
   INFO BOXES
========================= */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.info-box {
  background: #fff;
  padding: 30px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(8, 20, 43, 0.08);
  border: 1px solid rgba(8, 20, 43, 0.06);
}

.small-icon {
  width: 60px;
  height: 60px;
  background: #e9eef8;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.info-box h3 {
  color: #08142b;
  margin-bottom: 10px;
}

.info-box p {
  color: #4b5563;
}

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

.giving-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(212, 175, 55, 0.16),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(2, 18, 43, 0.08),
      transparent 35%
    ),
    #fff;
}

.giving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.giving-card {
  position: relative;
  background: #fff;
  min-height: 430px;
  border-radius: 22px;
  padding: 38px 26px 30px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(8, 20, 43, 0.08);
  box-shadow: 0 18px 40px rgba(8, 20, 43, 0.12);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.giving-card::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 130px;
  height: 70px;
  transform: rotate(-4deg);
  opacity: 0.95;
}

.cash-card::before {
  background: linear-gradient(90deg, #009b28, #20d34a);
}

.zelle-card::before {
  background: linear-gradient(90deg, #3d0f96, #7b24e8);
}

.card-card::before {
  background: linear-gradient(90deg, #001b3f, #0b2c5f);
}

.giving-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(8, 20, 43, 0.18);
}

.giving-icon {
  position: relative;
  z-index: 2;
  width: 145px;
  height: 145px;
  margin: 0 auto 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 4.5rem;
  font-weight: 900;
  color: #fff;
  border: 8px solid #f9f4e8;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.cash-icon {
  background: linear-gradient(145deg, #02b833, #009b28);
}

.zelle-icon {
  background: linear-gradient(145deg, #7b24e8, #3d0f96);
  font-family: Arial Black, Arial, sans-serif;
}

.card-icon {
  background: linear-gradient(145deg, #061a3a, #001126);
  font-size: 3.8rem;
}

.giving-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #08142b;
}

.giving-card p {
  color: #374151;
  margin-bottom: 18px;
}

.giving-detail {
  font-weight: 800;
  color: #08142b !important;
  background: #f5f7fb;
  padding: 11px 14px;
  border-radius: 999px;
  border: 2px solid #e5e7eb;
  word-break: break-word;
}

.cash-detail {
  border-color: #00a82d;
}

.zelle-detail {
  border-color: #6d28d9;
}

.card-detail {
  border-color: #08142b;
}

.giving-btn {
  width: 100%;
  color: #fff;
  margin-top: 6px;
}

.cash-btn {
  background: linear-gradient(90deg, #009b28, #20c543);
}

.cash-btn:hover {
  background: #007c20;
}

.zelle-btn {
  background: linear-gradient(90deg, #4c16b8, #7b24e8);
}

.zelle-btn:hover {
  background: #3d0f96;
}

.card-btn {
  background: linear-gradient(90deg, #001b3f, #0b2c5f);
}

.card-btn:hover {
  background: #001126;
}

/* =========================
   SCRIPTURE
========================= */

.scripture-section {
  background: #fff;
  padding: 60px 0;
}

.scripture-wrap {
  max-width: 850px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.scripture-icon {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7efd8;
  color: #c99a24;
  font-size: 2.5rem;
}

.scripture-wrap h2 {
  color: #08142b;
  margin-bottom: 8px;
}

.scripture-wrap p {
  color: #374151;
  font-style: italic;
}

.scripture-wrap strong {
  display: inline-block;
  margin-top: 8px;
  color: #c99a24;
}

/* =========================
   PHOTOS
========================= */

.slideshow {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 50vh;
  min-height: 350px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(8, 20, 43, 0.18);
  background: #08142b;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border: none;
  background: rgba(2, 18, 43, 0.65);
  color: #fff;
  font-size: 2rem;
  padding: 12px 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slide-btn:hover {
  background: rgba(2, 18, 43, 0.9);
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

.slide-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
}

.dot.active {
  background: #d4af37;
}

/* =========================
   SOCIAL LINKS
========================= */

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.social-links a {
  background: #08142b;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.social-links a:hover {
  background: #d4af37;
  color: #08142b;
}

/* =========================
   CTA
========================= */

.cta {
  background:
    radial-gradient(
      circle at center,
      rgba(212, 175, 55, 0.18),
      transparent 45%
    ),
    #02122b;
  color: #fff;
  text-align: center;
  padding: 70px 0;
  border-top: 3px solid #c99a24;
}

.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.cta-content p {
  max-width: 700px;
  margin: 0 auto 25px;
  color: #e5e7eb;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #010b1b;
  color: #ccc;
  text-align: center;
  padding: 30px 0;
}

.footer-container p + p {
  margin-top: 7px;
}

.developer-credit {
  margin-top: 12px !important;
  font-size: 0.95rem;
  color: #bdbdbd;
}

.developer-credit a {
  color: #d4af37;
  font-weight: 600;
  transition: color 0.3s ease;
}

.developer-credit a:hover {
  color: #fff;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {
  .card-grid,
  .giving-grid,
  .mission-grid,
  .feature-box,
  .event-layout {
    grid-template-columns: 1fr;
  }

  .card,
  .giving-card,
  .info-box,
  .feature-image,
  .event-image {
    width: 100%;
  }

  .giving-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .feature-box,
  .event-layout {
    max-width: 760px;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 3.6rem);
  }

  .slideshow {
    height: 48vh;
    min-height: 330px;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .header-container {
    min-height: 75px;
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .logo span {
    font-size: 0.95rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.show-nav {
    display: block;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #02122b;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  }

  .site-nav.show-nav .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .hero {
    min-height: calc(100svh - 75px);
    text-align: center;
  }

  .hero-video {
    min-width: 100%;
    min-height: 100%;
    object-position: center center;
  }

  .hero-overlay {
    background: rgba(1, 11, 27, 0.6);
  }

  .page-hero {
    min-height: 36vh;
    text-align: center;
  }

  .hero-content {
    width: 92%;
    margin: 0 auto;
    padding: 55px 0;
  }

  .page-hero .hero-content {
    padding: 40px 0;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content p {
    margin: 0 auto;
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 35px;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .gold-divider span {
    width: 80px;
  }

  .feature-text,
  .event-details {
    text-align: center;
  }

  .event-meta {
    text-align: left;
  }

  .giving-card {
    min-height: auto;
    padding: 32px 22px;
  }

  .giving-icon {
    width: 125px;
    height: 125px;
    font-size: 3.8rem;
  }

  .card-icon {
    font-size: 3rem;
  }

  .scripture-wrap {
    flex-direction: column;
    text-align: center;
  }

  .slideshow {
    height: 45vh;
    min-height: 300px;
  }

  .slide-btn {
    font-size: 1.5rem;
    padding: 10px 14px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .logo span {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 270px;
  }

  .section-heading h2 {
    font-size: 1.8rem;
  }

  .gold-divider span {
    width: 55px;
  }

  .card-image img {
    height: 220px;
  }

  .giving-icon {
    width: 105px;
    height: 105px;
    margin-bottom: 30px;
    font-size: 3.2rem;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .giving-card h3 {
    font-size: 1.5rem;
  }

  .giving-btn {
    padding: 12px 16px;
  }

  .slideshow {
    height: 38vh;
    min-height: 250px;
    border-radius: 12px;
  }

  .slide-btn {
    font-size: 1.2rem;
    padding: 8px 11px;
  }

  .cta {
    padding: 55px 0;
  }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}