/* ============================================
   Bethel Presbyterian Church /about/pca Stylesheet
   ============================================ */


/* ---------------------
   Inline Icons (Logo, Beliefs, History)
   --------------------- */
.pca-logo img,
.beliefs-icon img,
.history-icon img {
  width: 40px;                /* emoji-like size */
  height: auto;
  display: inline-block;
  vertical-align: middle;     /* aligns with text baseline */
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  opacity: 0;
  transform: translateY(-5px);
  animation: iconFadeIn 1s ease-out forwards;
  animation-delay: 0.2s;
  transition: transform 0.3s ease;
}

.pca-logo img:hover,
.beliefs-icon img:hover,
.history-icon img:hover {
  transform: scale(1.1) rotate(3deg);
}

@keyframes iconFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ---------------------
   Section Headings
   --------------------- */
.pca-intro h2,
.pca-beliefs h2,
.pca-history h2 {
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.12);
  display: inline-flex;       /* text + logo alignment */
  align-items: center;        /* vertical centering */
  gap: 0.5rem;                /* spacing between text and logo */
  position: relative;
}
.pca-intro h2::after,
.pca-beliefs h2::after,
.pca-history h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-green);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ---------------------
   Logo Accent
   --------------------- */
.pca-logo img {
  width: 28px;                /* emoji-like size */
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
  opacity: 0;
  transform: translateY(-5px);
  animation: logoFadeIn 1s ease-out forwards;
  animation-delay: 0.2s;
  transition: transform 0.3s ease;
}
.pca-logo img:hover {
  transform: scale(1.1) rotate(3deg);
}
@keyframes logoFadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------
   Subheadings
   --------------------- */
.pca-intro h3,
.pca-beliefs h3,
.pca-history h3 {
  font-size: 1.4rem;
  color: #444;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ---------------------
   Paragraphs
   --------------------- */
.pca-intro p,
.pca-beliefs p,
.pca-history p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------------
   Action Buttons
   --------------------- */
.action-button {
  display: inline-block;
  font-family: 'Goudos', serif;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 30px;
  padding: 0.8rem 1.6rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 0 0 8px rgba(0,128,0,0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  animation: buttonFadeIn 1s ease-out forwards;
  animation-delay: 0.6s; /* staged after logo */
}

/* Anchor inside button */
.action-button a {
  color: var(--white);
  text-decoration: none;
  display: block;
}

.action-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25), 0 0 12px rgba(0,128,0,0.4);
  background: linear-gradient(135deg, var(--primary-green-dark), var(--primary-green));
}

.action-button::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}
.action-button:hover::after {
  width: 200%; height: 200%;
}

.action-button:disabled {
  background: var(--light-gray);
  color: var(--dark-gray);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

@keyframes buttonFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
