/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
}

/* =====================
   REUSABLE CONTAINERS
===================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.grid {
  display: grid;
  gap: 20px;
}

/* =====================
   NAVIGATION
===================== */
.navbar {
  background: whitesmoke;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #555;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #f1c40f;
}

/* =====================
   HERO SLIDESHOW
===================== */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slides {
  display: none;
  position: relative;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  bottom: 20%;
  left: 5%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 20px;
  max-width: 500px;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* =====================
   WELCOME SECTION
===================== */
.welcome {
  padding: 60px 0;
  text-align: center;
}

.welcome h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.welcome p {
  max-width: 800px;
  margin: auto;
  font-size: 1.05rem;
}

/* =====================
   HIGHLIGHTS
===================== */
.highlights {
  background: #f7f7f7;
  padding: 60px 0;
}

.highlights .grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  color: #1f2a44;
}

/* =====================
   FOOTER
===================== */
footer {
  background: black;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}

/* =====================
   RESPONSIVE BREAKPOINTS
===================== */

/* 📱 Mobile */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    /* background: #1f2a44; */
    background-color: whitesmoke;
    color: #555;
    flex-direction: column;
    display: none;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  #menu-toggle:checked + .menu-icon + .nav-links {
    display: flex;
  }

  .hero {
    height: 65vh;
  }

  .hero-text h2 {
    font-size: 1.4rem;
  }

  .welcome h2 {
    font-size: 1.6rem;
  }
}

/* 📱 Small Mobile */
@media (max-width: 480px) {
  .hero-text {
    padding: 15px;
  }

  .hero-text p {
    font-size: 0.9rem;
  }
}

/* Slideshow Fade Effect */
.fade {
  animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
/* =====================
   SERVICE TIMES
===================== */
.service-times-section {
  padding: 70px 0;
  background: #f7f7f7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.service-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.service-card a {
  text-decoration: none;
}

/* =====================
   SERVICE TIMES & EVENTS
===================== */
.service-times,
.events {
  padding: 60px 0;
}

.events {
  background: #f7f7f7;
}

.section-intro {
  text-align: justify;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}
/* =====================
   CHURCH HISTORY
===================== */
.history-section {
  padding: 70px 0;
}

.timeline {
  max-width: 800px;
  margin: auto;
}

.timeline-item {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.timeline-year {
  font-weight: bold;
  color: #c39a2e;
  min-width: 70px;
}
/* =====================
   SCROLL ANIMATION
===================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}
/* =====================
   ABOUT PAGE LAYOUT
===================== */
.about-section,
.statement-section {
  padding: 70px 0;
}

.light-bg {
  background: #f7f7f7;
}

.about-grid,
.statement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.about-image img,
.statement-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.about-text h2,
.statement-text h2 {
  margin-bottom: 15px;
  color: #1f2a44;
  text-align: justify;
}

.about-text p,
.statement-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
}

/* Reverse layout for variation */
.statement-grid.reverse {
  direction: rtl;
}

.statement-grid.reverse > * {
  direction: ltr;
}

.statement-text ul {
  text-align: justify;
}

/* =====================
   MOBILE RESPONSIVE
===================== */
@media (max-width: 768px) {
  .about-grid,
  .statement-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .statement-grid.reverse {
    direction: ltr;
  }

  .about-image img,
  .statement-image img {
    max-height: 300px;
  }
}

/* =====================
   LEADERSHIP SECTION
===================== */
.leadership-section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: #1f2a44;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.leader-image img {
  width: 100%;
  border-radius: 12px;
}

.leader-role {
  font-weight: bold;
  color: #555;
  margin-bottom: 10px;
}
.leader-text {
  text-align: justify;
}
.section-title {
  text-align: justify;
}
/* =====================
   BELIEFS SECTION
===================== */
.beliefs-section {
  padding: 70px 0;
  background: #f7f7f7;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.belief-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.belief-card h4 {
  margin-bottom: 10px;
  color: #1f2a44;
}

/* =====================
   MOBILE RESPONSIVE
===================== */
@media (max-width: 768px) {
  .leadership-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leader-image img {
    max-width: 280px;
    margin: auto;
  }
}
/* =====================
   CHURCH HISTORY
===================== */
.history-section {
  padding: 70px 0;
}

.timeline {
  max-width: 800px;
  margin: auto;
}

.timeline-item {
  display: flex;
  gap: 25px;
  margin-bottom: 30px;
}

.timeline-year {
  font-weight: bold;
  color: #c39a2e;
  min-width: 70px;
}

/* Logo Box */
.footer-logo img {
  width: 100px;
  margin-bottom: 15px;
}

footer p {
  color: lightgray;
  font-size: 14px;
}
.social {
  font-size: 2rem;
}

@media (max-width: 700px) {
  footer p {
    font-size: 12px;
  }
}

img {
  vertical-align: middle;
}

footer a {
  text-decoration: none;
  color: lightgray;
  margin: 10px;
}
footer li i {
  color: #f5f5f5;
}
/* Bottom Bar */
.footer-bottom {
  text-align: center;
  padding: 20px 10px;
  margin-top: 40px;
  background: black;
  font-size: 0.9rem;
}

/* =====================
   MOBILE OPTIMIZATION
===================== */
@media (max-width: 600px) {
  .footer-logo {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-box h4 {
    text-align: center;
  }

  .footer-box ul {
    text-align: center;
  }
}
