﻿/* Styles for history/historic-bethel-church page */

/* Church History Header Section */
.church-history-header {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(to bottom, #fdfdfd, #f5f5f5);
  border-bottom: 2px solid var(--primary-green);
  max-width: 1000px;
  margin: 0 auto 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.history-header-title {
  font-family: var(--font-serif-primary);
  font-size: 2.4rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  position: relative;
  display: block; /* ensures stacking */

  /* Subtle bevel/shadow for dimensionality */
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.15),
    -1px -1px 2px rgba(255,255,255,0.6);

  /* Smooth animation setup */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.6s ease-out both;
}

.history-header-title:hover {
  transform: translateY(-2px);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    -1px -1px 2px rgba(255,255,255,0.7),
    0 0 6px rgba(0,128,0,0.2); /* subtle green glow */
}

.history-header-subtitle {
  font-family: var(--font-serif-secondary);
  font-size: 1.5rem;
  color: #444;
  margin-bottom: 1rem;
  position: relative;
  display: block; /* ensures stacking */
  padding-bottom: 0.3rem;

  /* Dimensional shadow */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);

  /* Smooth animation */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.8s ease-out both;
}

.history-header-subtitle::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-green);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  opacity: 0.7;
}

.history-header-subtitle:hover {
  transform: translateY(-1px);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
}

.history-header-description {
  font-family: var(--font-sans-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .church-history-header {
    padding: 2rem 1rem;
  }
  .history-header-title {
    font-size: 2rem;
  }
  .history-header-subtitle {
    font-size: 1.3rem;
  }
  .history-header-description {
    font-size: 1rem;
  }
}

/* Church History Intro Section */
.church-history-intro {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.history-intro-title {
  font-family: var(--font-serif-primary);
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
  position: relative;
  display: block; /* ensures stacking */

  /* Subtle bevel/shadow for dimensionality */
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.15),
    -1px -1px 2px rgba(255,255,255,0.6);

  /* Smooth animation setup */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.6s ease-out both;
}

/* Hover effect: gentle lift and glow */
.history-intro-title:hover {
  transform: translateY(-2px);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    -1px -1px 2px rgba(255,255,255,0.7),
    0 0 6px rgba(0,128,0,0.2); /* subtle green glow */
}

.history-intro-subtitle {
  font-family: var(--font-serif-secondary);
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 1rem;
  position: relative;
  display: block; /* ensures stacking */
  padding-bottom: 0.3rem;

  /* Dimensional shadow */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);

  /* Smooth animation */
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.8s ease-out both;
}

.history-intro-subtitle::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--primary-green);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  opacity: 0.6;
}

.history-intro-description {
  font-family: var(--font-sans-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  max-width: 750px;
  margin: 0 auto 1.5rem;
}

/* Image styling */
.history-intro-image {
  margin: 2rem auto;
  max-width: 700px;
}

.history-intro-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.history-intro-caption {
  font-family: var(--font-sans-secondary);
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .church-history-intro {
    padding: 2rem 1rem;
  }
  .history-intro-title {
    font-size: 1.7rem;
  }
  .history-intro-subtitle {
    font-size: 1.2rem;
  }
  .history-intro-description {
    font-size: 0.95rem;
  }
}

/* Shared entrance animation */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Church History Foundation Section */
.church-history-foundation {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fafafa;
  max-width: 950px;
  margin: 0 auto 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.history-foundation-title {
  font-family: var(--font-serif-primary);
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  display: block;
  position: relative;

  /* Dimensional shadow + animation */
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.15),
    -1px -1px 2px rgba(255,255,255,0.6);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.6s ease-out both;
}

.history-foundation-title:hover {
  transform: translateY(-2px);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    -1px -1px 2px rgba(255,255,255,0.7),
    0 0 6px rgba(0,128,0,0.2);
}

.history-foundation-subtitle {
  font-family: var(--font-serif-secondary);
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  animation: fadeSlideIn 0.8s ease-out both;
}

.history-foundation-description {
  font-family: var(--font-sans-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  text-align: left; /* longer narrative reads better left-aligned */
}

.history-foundation-image {
  margin: 2rem auto;
  max-width: 700px;
}

.history-foundation-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.history-foundation-caption {
  font-family: var(--font-sans-secondary);
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .church-history-foundation {
    padding: 2rem 1rem;
  }
  .history-foundation-title {
    font-size: 1.8rem;
  }
  .history-foundation-subtitle {
    font-size: 1.2rem;
  }
  .history-foundation-description {
    font-size: 0.95rem;
  }
}
/* Church History Pastors Section */
.church-history-pastors {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fdfdfd;
  max-width: 950px;
  margin: 0 auto 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.history-pastors-title {
  font-family: var(--font-serif-primary);
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  display: block;
  position: relative;

  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.15),
    -1px -1px 2px rgba(255,255,255,0.6);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  animation: fadeSlideIn 0.6s ease-out both;
}

.history-pastors-title:hover {
  transform: translateY(-2px);
  text-shadow: 
    2px 2px 4px rgba(0,0,0,0.2),
    -1px -1px 2px rgba(255,255,255,0.7),
    0 0 6px rgba(0,128,0,0.2);
}

.history-pastors-subtitle {
  font-family: var(--font-serif-secondary);
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 1rem;
  display: block;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  animation: fadeSlideIn 0.8s ease-out both;
}

.history-pastors-description {
  font-family: var(--font-sans-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

/* Pastor list styling */
.pastor-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 700px;
  text-align: left;
}

.pastor-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
  font-family: var(--font-sans-secondary);
  font-size: 1rem;
  transition: background 0.2s ease;
}

.pastor-item:hover {
  background: rgba(0,128,0,0.05);
}

.pastor-name {
  font-weight: 600;
  color: #222;
}

.pastor-years {
  color: #666;
  font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .church-history-pastors {
    padding: 2rem 1rem;
  }
  .history-pastors-title {
    font-size: 1.8rem;
  }
  .history-pastors-subtitle {
    font-size: 1.2rem;
  }
  .pastor-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .pastor-years {
    margin-top: 0.25rem;
  }
}
