/* ===========================
   Bethel Christian Assembly Church
   Main Stylesheet
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #f8f5f0;
  color: #333;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main, .section {
  flex: 1;
}

/* --- Header --- */
.header {
  background-color: #1f3a5f;
  color: white;
  text-align: center;
  padding: 30px 20px 20px;
}

.header h1 {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.tagline {
  color: #c9a227;
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 16px;
}

/* --- Navigation --- */
nav {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

nav a:hover,
nav a.active {
  background-color: #2e6db4;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
  url('../images/church-1.jpeg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  flex: 1;
}

.hero h2 {
  font-family: Georgia, serif;
  font-size: 2.4rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.15rem;
  font-style: italic;
  color: #f0e6c8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- General Section --- */
.services {
  max-width: 820px;
  margin: 40px auto;
  padding: 36px 32px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  bottom: 0px;
}
.index-services{
  max-width: 320px;
  margin: 50px auto 0px;
  padding: 36px 32px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  bottom: 0px;
}


.services h3,.index-services h3 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #1f3a5f;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f0fb;
}

.services p , .index-services p{
  margin-bottom: 14px;
  font-size: 1rem;
  color: #3d3d3d;
}

.services ul, .index-services ul {
  list-style: none;
  padding: 0;
}

.services ul li, .index-services ul li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  color: #3d3d3d;
}

.services ul li:last-child, .index-services ul li:last-child {
  border-bottom: none;
}

.services ul li strong, .index-services ul li strong {
  color: #1f3a5f;
}

/* --- Biblical Quote --- */
blockquote,
.services > p:last-child, .index-services > p:last-child {
  font-style: italic;
  color: #5a7ea8;
  border-left: 3px solid #2e6db4;
  padding-left: 14px;
  margin-top: 20px;
}

/* --- Contact Info --- */
.services p strong {
  color: #1f3a5f;
}

/* --- Footer --- */
.footer {
  background-color: #1f3a5f;
  color: #c9dff5;
  text-align: center;
  padding: 24px 20px;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer p {
  margin: 4px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.3rem;
  }

  .hero h2 {
    font-size: 1.7rem;
  }

  .hero {
    padding: 70px 16px;
  }

  .section {
    margin: 20px 12px;
    padding: 22px 18px;
  }

  nav {
    gap: 4px;
  }

  nav a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* --- Map Section --- */
.map-section {
  max-width: 820px;
  margin: 30px auto 40px;
  padding: 28px 32px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.map-section h3 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #1f3a5f;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f0fb;
}

.map-container {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #dde6f0;
}

@media (max-width: 768px) {
  .map-section {
    margin: 16px 12px;
    padding: 20px 16px;
  }

  .map-container iframe {
    height: 260px;
  }
}

/* --- Donation Page --- */
.donation-hero {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
              url('../images/church-1.jpeg') top/cover no-repeat;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.donation-hero h2 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.donation-hero p {
  font-style: italic;
  color: #f0e6c8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.donation-section {
  margin-bottom: 24px;
}

.donation-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  color: #1f3a5f;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #c8d8ed;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #f9fbff;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2e6db4;
  background-color: #fff;
}

/* Preset amount buttons */
.amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.amount-btn {
  padding: 10px 20px;
  border: 2px solid #2e6db4;
  border-radius: 6px;
  background: white;
  color: #2e6db4;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn:hover,
.amount-btn.selected {
  background-color: #2e6db4;
  color: white;
}

/* Donate submit button */
.donate-btn {
  width: 100%;
  padding: 14px;
  background-color: #c9a227;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 8px;
}

.donate-btn:hover {
  background-color: #a8841e;
}

.donation-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px;
  font-style: italic;
  border-left: none !important;
  padding-left: 0 !important;
}

/* Confirmation message */
.donation-confirmation {
  text-align: center;
  padding: 30px 20px;
}

.donation-confirmation h3 {
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: #1f3a5f;
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.donation-confirmation .verse {
  font-style: italic;
  color: #5a7ea8;
  border-left: 3px solid #2e6db4;
  padding-left: 12px;
  margin-top: 16px;
  display: inline-block;
  text-align: left;
}

/* Bank details list */
.bank-details {
  list-style: none;
  padding: 0;
}

.bank-details li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
  color: #3d3d3d;
}

.bank-details li:last-child {
  border-bottom: none;
}

.bank-details li strong {
  color: #1f3a5f;
}

/* Nav donate highlight */
nav a[href="donation.html"] {
  background-color: #c9a227;
  color: white;
  border-radius: 4px;
}

nav a[href="donation.html"]:hover {
  background-color: #a8841e;
}

/* Donation page verse */
.donation-verse {
  font-style: italic;
  color: #5a7ea8;
  border-left: 3px solid #2e6db4;
  padding-left: 14px;
  font-size: 1.05rem;
  text-align: left;
  display: inline-block;
}

/* --- Pastor Section --- */
.pastor-section {
  margin-top: 24px;
}

.pastor-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 20px;
}

.pastor-photo-wrapper {
  flex-shrink: 0;
}

.pastor-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1f3a5f;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.pastor-info h4 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  color: #1f3a5f;
  margin-bottom: 4px;
}

.pastor-title {
  color: #c9a227;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 14px !important;
}

.pastor-verse {
  font-style: italic;
  color: #5a7ea8;
  border-left: 3px solid #2e6db4;
  padding-left: 12px;
  margin-top: 16px !important;
}

@media (max-width: 600px) {
  .pastor-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pastor-verse {
    text-align: left;
  }
}