/*!
 * FCC Website Stylesheet
/*!
 * style.css
 * Author: M.R.
 * Description: Main stylesheet for the FCC Website.
 * Last updated: 2025-27-2025
 */
:root {
    --bg: #f8f6f3; /* page background */
    --card: #fff; /* card base */
    --text: #1f2937; /* body text */
    --muted: #6b7280; /* subtitle */
    --brand: #21406e; /* deep blue accents */
    --btn: #366b82; /* button color */
    --btn-hover: #2c5a6c; /* button hover */
    --gold1: #f5d38a; /* brush stroke - light */
    --gold2: #e9b86b; /* brush stroke - mid */
    --gold3: #d59b4d; /* brush stroke - deep */
    --shadow: 0 12px 30px rgba(31, 41, 55, .18);
    --radius-md: 10px;
}

body {
    line-height: 1;
    background-color: #f8f0e2;
}

.hero-inner {
  position: relative;
  height: 395px;
  display: flex;
  background-image: url('/images/OurPastors_bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  margin-top: 0px;
  overflow: hidden;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(44, 28, 70, 0.5) 30%,
    rgba(150, 150, 149, 0.2) 70%
  );
  pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.breadcrumbs {
  margin-top: 250px;
  font-size: 0.9rem;
  text-align: left;
}

.breadcrumbs span {
  color: #f3e8d4;
}

.page-title {
  text-align: left;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--beige);
  margin-top: 10px;
}
.section {
  padding: 0px 20px;
  margin: auto;
}

.section-header {
  text-align: center;
  font-style: italic;
  font-weight: 600;
  margin: 0px;
  text-align: left;
  padding: 20px;
  border-left: 1px solid #f5e5ca;
  line-height: 1.7rem;
}

.pastor-profile {
    display: flex;
    gap: 30px;
    background-color: var(--cream-light);
    padding: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    z-index: 3;
}

.pastors-section p {
  line-height: 1.7rem;
  font-weight: 300;
  margin-bottom: 20px;
}

.pastor-profile.reverse {
  flex-direction: row-reverse;
}

.pastor-img {
  width: 100%;
  flex: 0 0 180px;
  height: auto;
}

.pastor-img img {
  border: 5px solid #f5e5ca;
}

.pastor-info {
  flex: 1;
}

.pastor-info p {
  line-height: 1.7rem;
  font-weight: 100;
  padding: 20px 0 0 0;
}

.pastor-info h3 {
  margin-top: 0;
  color: var(--brown);
}

.quote-card {
  display: flex;
  align-items: center;
  background-color: var(--beige-medium);
  padding: 0px 60px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.quote-text {
  flex: 1;
  color: #4a4a4a;
  font-size: var(--font-lg);
  line-height: 1.7;
  padding-right: 0px;
}

.quote-author {
  text-align: right;
  margin-top: 20px;
  color: #a06b00;
  font-weight: bold;
  font-size: 1.2rem;
}

.quote-title {
  text-align: right;
  font-size: 0.9rem;
  font-weight: bold;
  color: #444;
}

.quote-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 6px solid var(--beige-medium);
  object-fit: cover;
}

.pastor-info small {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}
.pastor-profile-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s;
  border-radius: 16px;
}
.pastor-profile-link:hover .pastor-profile,
.pastor-profile-link:focus .pastor-profile {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 1.5px 8px rgba(0, 0, 0, 0.08);
  background: #fffbe9;
  transform: translateY(-4px) scale(1.03);
  transition: box-shadow 0.2s, background 0.2s, transform 0.2s;
}
.pastor-profile-link:hover .pastor-img img,
.pastor-profile-link:focus .pastor-img img {
  filter: brightness(1.08) saturate(1.1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.13);
  transition: filter 0.2s, box-shadow 0.2s;
}
.pastor-profile-link:hover h3,
.pastor-profile-link:focus h3 {
  color: var(--yellow, #e6b100);
  transition: color 0.2s;
}
.services-section {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.services-section-listpage {
    background-color: var(--cream);
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;

}

.services-container {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    padding: 40px 30px;
    gap: 30px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.services-image {
  flex: 1;
  min-width: 300px;
}

.services-image img {
  width: 100%;
  height: auto;
}

.services-text {
  flex: 1;
  min-width: 300px;
}

.services-text h3 {
  margin-top: 0;
}

.services-text p {
  line-height: 1.6;
}

.services-text a {
  display: inline-block;
  margin-top: 15px;
  background-color: #6a1b9a;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .pastor-profile {
    flex-direction: column;
  }

  .pastor-profile.reverse {
    flex-direction: column;
  }

  .services-section {
    flex-direction: column;
  }
}

.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.services-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 50px;
  color: #111;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.03);
  position: relative;
  border-bottom: 6px solid #d6c9e5;
  transition: transform 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #a06b00;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.service-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-description {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}




.card {
    width: min(365px, 92vw);
    background: var(--beige-lightest);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    flex: 0 1 min(365px, 92vw);
    margin: 0px;
    transition: transform 0.2s ease;
    max-height: 700px;
}

.card:hover {
    transform: translateY(-5px);
}

/* Container for multiple cards */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .cards-container {
        justify-content: center;
        gap: 10px;
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .card {
        width: min(365px, 92vw);
        flex: 0 1 min(365px, 92vw);
        margin: 0px;
        transition: transform 0.2s ease;
        max-height: 700px;
    }
    .card {
        flex: 0 1 min(390px, 100%);
    }
}

/* Decorative brush header */
.card__header {
    height: 205px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(120% 80% at 0% 0%, #fff 0 30%, transparent 31%), radial-gradient(120% 80% at 100% 0%, #fff 0 30%, transparent 31%);
}

/* faux brush using layered gradients */
.brush {
    position: absolute;
    inset: 0;
    background-image: url("/images/About-image.png");
    background-size: cover;
    background-position: center;
    opacity: .95;
    transform: scale(1.1);
}


/* avatar */
.avatar {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translate(-50%, 0);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #dfe8f1;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
    object-fit: cover;
    object-position: center 0%; /* Better focus on faces by positioning higher */
    z-index: 2;
}

.card__body {
    padding: 96px 26px 26px;
    text-align: center;
}

h1 {
    font-size: 1.55rem;
    margin: 15px 0 8px 0;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .2px;

}

.subtitle {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.bio {
    font-size: .97rem;
    color: #4b5563;
    line-height: 1.7;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 16px 0 8px;
}

    .socials a {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #eef2f6;
        color: #334155;
        transition: transform .18s ease, background .2s ease, color .2s ease;
        text-decoration: none;
    }

        .socials a:hover {
            background: #dfe7ef;
            transform: translateY(-2px);
            color: var(--brand);
        }

