/* ======================================================
   HERO SECTION
====================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  overflow: hidden;
}

/* Blue overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 42, 87, 0.6); /* #1e2a57 with 60% transparency */
  z-index: 1;
}

/* Keep text above overlay */
.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

/* Hero text */
.hero-content h1 {
  font-size: 60px;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-content p {
  font-size: 28px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Hero buttons container */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
}

/* ======================================================
   HERO BUTTON STYLES (SCOPED — DOES NOT AFFECT FOOTER)
====================================================== */
.hero-buttons .btn,
.hero-buttons .btn-outline {
  display: inline-block;
  padding: 18px 50px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-shadow: none;
  box-shadow: none;
}

/* Filled Hero Button */
.hero-buttons .btn {
  background: #1e2a57;
  color: white;
  border: 2.5px solid #1e2a57;
}

.hero-buttons .btn:hover {
  background: white;
  color: #1e2a57;
  transform: scale(1.07);
}

/* Outline Hero Button */
.hero-buttons .btn-outline {
  background: transparent;
  border: 2.5px solid white;
  color: white;
}

.hero-buttons .btn-outline:hover {
  background: white;
  color: #1e2a57;
  transform: scale(1.07);
}


/* ======================================================
   EVENTS SECTION
====================================================== */
.events-section {
  text-align: center;
  background: #f9f9f9;
  padding: 80px 20px;
}

.events-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
}

/* Cards layout */
.events-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 0 auto 50px;
  max-width: 1100px;
}

/* Individual event cards */
.event-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Event image */
.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Event text */
.event-name {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  margin: 15px 0 5px;
}

.event-date {
  color: #555;
  font-size: 16px;
  margin-bottom: 20px;
}

/* Button under cards */
.events-button {
  margin-top: 30px;
}

.events-button .btn {
  display: inline-block;
  background: #1e2a57 !important;
  color: white !important;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  border: 2px solid #1e2a57 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.events-button .btn:hover {
  background: white !important;
  color: #1e2a57 !important;
  border-color: #1e2a57 !important;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(30, 42, 87, 0.35);
}


/* ======================================================
   ABOUT + WORSHIP SECTION
====================================================== */
.about-feature-section {
  margin: 0;
  padding: 0;
}

.about-feature-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 420px;
}

/* Shared Styles */
.about-us,
.features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: white;
  padding: 80px 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Images */
.about-us {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/Cross.jpg");
}

.features {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/bible.jpg");
}

/* Feature Box */
.features .feature-box {
  background: none;
  padding: 0;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Unified site button style (EXCEPT HERO + FOOTER unchanged) */
.about-us .btn,
.features .btn,
.our-church .btn,
.our-school .btn,
.our-church a.btn,
.our-school a.btn {
  border: 2px solid white !important;
  color: white !important;
  background: transparent !important;
  padding: 14px 36px !important;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.about-us .btn:hover,
.features .btn:hover,
.our-church .btn:hover,
.our-school .btn:hover,
.our-church a.btn:hover,
.our-school a.btn:hover {
  background: white !important;
  color: #1e2a57 !important;
  transform: scale(1.05);
}

/* Text Shadow (local) */
.about-us h2, .about-us p,
.features h3, .features p {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}


/* ======================================================
   BELIEFS SECTION (NEW SOLID COLOR)
====================================================== */
.beliefs-section {
  background: #1e2a57;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 0 20px;
}

.beliefs-content {
  max-width: 900px;
}

.beliefs-content h2,
.beliefs-content p {
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  margin: 0;
}

.beliefs-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.beliefs-content p {
  font-size: 15px;
}


/* ======================================================
   RESPONSIVE DESIGN
====================================================== */
@media (max-width: 500px) {
  .about-feature-container {
    grid-template-columns: 1fr;
  }

  .about-us,
  .features {
    padding: 60px 20px;
    min-height: 300px;
  }

  .about-us h2,
  .features h3 {
    font-size: 24px;
  }

  .about-us p,
  .features p {
    font-size: 15px;
  }

  .hero-buttons .btn,
  .hero-buttons .btn-outline {
    padding: 14px 36px;
    font-size: 18px;
  }

  .event-card {
    width: 85%;
  }
}

@media (max-width: 700px) {
  .beliefs-section {
    height: auto;
    padding: 40px 20px;
  }

  .beliefs-content h2 {
    font-size: clamp(18px, 4vw, 20px);
    line-height: 1.4;
  }

  .beliefs-content p {
    font-size: clamp(13.5px, 3vw, 14px);
    line-height: 1.5;
    margin-top: 8px;
  }
}

@media (max-width: 420px) {
  .hero {
    height: auto;
    min-height: 85vh;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 20px;
    margin-bottom: 20px;
  }
}
