/* ============================
   GREATER FELLOWSHIP MBC THEME
   Main Stylesheet
   ============================ */

:root {
  --navy: #1B2B5E;
  --navy-dark: #111d42;
  --gold: #C9A84C;
  --gold-light: #e8c96a;
  --cream: #F5F0E8;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --shadow: 0 4px 20px rgba(27,43,94,0.15);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
}
body { font-family: 'Lato', sans-serif; color: var(--text); }

/* ---- NAVIGATION ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo a {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.2;
}
.site-logo span { color: var(--gold); display: block; font-size: 0.75rem; font-family: 'Lato', sans-serif; letter-spacing: 2px; text-transform: uppercase; }
.main-nav ul { display: flex; gap: 8px; }
.main-nav ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s;
  text-transform: uppercase;
  font-weight: 600;
}
.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a { color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 25px; height: 2px; background: var(--white); transition: all 0.3s; display: block; }

/* ---- HERO SECTION ---- */
.hero-section {
  position: relative;
  height: 600px;
  background: var(--navy);
  overflow: hidden;
  padding: 0;
}
.hero-section .hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-banner.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,43,94,0.55) 0%, rgba(27,43,94,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px 20px;
  height: 100%; display: flex; flex-direction: column;
  justify-content: flex-end; align-items: center;
}
.hero-content h1 { font-size: 3.5rem; color: var(--white); margin-bottom: 12px; }
.hero-content .tagline { font-size: 1.5rem; color: var(--gold); font-family: 'Playfair Display', serif; font-style: italic; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 14px 32px; border-radius: 4px; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; border: 2px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 14px 32px; border-radius: 4px; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SECTION STYLES ---- */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.section-title { font-size: 2.5rem; margin-bottom: 16px; }
.section-divider {
  width: 60px; height: 3px; background: var(--gold);
  margin-bottom: 24px;
}
.section-divider.centered { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ---- WELCOME SECTION ---- */
.welcome-section { background: var(--cream); }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.welcome-text p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 16px; }
.welcome-verse {
  background: var(--navy); color: var(--white);
  padding: 40px; border-radius: 8px; border-left: 6px solid var(--gold);
}
.welcome-verse blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.2rem; line-height: 1.7; }
.welcome-verse cite { display: block; margin-top: 16px; color: var(--gold); font-size: 0.9rem; font-style: normal; font-weight: 600; }

/* ---- SERVICE TIMES ---- */
.service-times-section { background: var(--navy); }
.service-times-section .section-title { color: var(--white); }
.service-times-section .section-label { color: var(--gold-light); }
.times-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.time-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px; padding: 32px 24px; text-align: center;
  transition: all 0.3s;
}
.time-card:hover { background: rgba(201,168,76,0.15); border-color: var(--gold); transform: translateY(-4px); }
.time-card .day { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.time-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 16px; }
.time-card .times p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 2; }
.time-card .times strong { color: var(--gold); }
.call-in {
  background: rgba(201,168,76,0.1); border: 1px solid var(--gold);
  border-radius: 8px; padding: 20px 32px; margin-top: 32px; text-align: center;
  color: rgba(255,255,255,0.85);
}
.call-in strong { color: var(--gold); }

/* ---- PASTOR TEASER ---- */
.pastor-teaser { background: var(--white); }
.pastor-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.pastor-photo-wrap {
  text-align: center;
}
.pastor-photo-placeholder {
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--cream); border: 6px solid var(--gold);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--text-light); text-align: center; padding: 20px;
}
.pastor-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.pastor-title { font-size: 0.85rem; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.pastor-bio p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 16px; }
.pastor-bio a { color: var(--gold); font-weight: 700; }
.pastor-bio a.btn-primary,
.pastor-bio a.btn-primary:hover { color: var(--navy); }

/* ---- HIGHLIGHTS ---- */
.highlights-section { background: var(--cream); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
.highlight-card {
  background: var(--white); border-radius: 8px; padding: 40px 28px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s;
}
.highlight-card:hover { transform: translateY(-6px); }
.highlight-icon { font-size: 3rem; margin-bottom: 16px; }
.highlight-card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.highlight-card p { color: var(--text-light); font-size: 0.95rem; }

/* ---- CTA BANNER ---- */
.cta-banner { background: var(--navy); text-align: center; padding: 60px 24px; }
.cta-banner h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 8px; }
.cta-banner .cta-contact { display: flex; gap: 32px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cta-banner .cta-contact a { color: var(--gold); font-weight: 700; font-size: 1.05rem; }

/* ---- PAGE BANNERS ---- */
.page-banner {
  width: 100%; height: 400px;
  background-size: cover; background-position: center;
  position: relative;
}
.page-banner.contact-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  height: 280px; display: flex; align-items: center; justify-content: center;
}
.page-banner.contact-banner h1 { color: var(--white); font-size: 3rem; }

/* ---- PASTOR PAGE ---- */
.pastor-page { background: var(--white); }
.pastor-content { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.pastor-sidebar { text-align: center; }
.pastor-sidebar .pastor-photo-placeholder { width: 280px; height: 280px; }
.pastor-sidebar .info-card { background: var(--cream); border-radius: 8px; padding: 24px; margin-top: 24px; text-align: left; }
.pastor-sidebar .info-card h4 { color: var(--navy); font-size: 1rem; margin-bottom: 12px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.pastor-sidebar .info-card p { font-size: 0.9rem; color: var(--text-light); line-height: 2; }
.pastor-main h2 { font-size: 2.2rem; margin-bottom: 8px; }
.pastor-main .pastor-title-label { color: var(--gold); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 24px; }
.pastor-main p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.pastor-verse {
  background: var(--navy); color: var(--white);
  padding: 36px 40px; border-radius: 8px; margin-top: 32px;
  border-left: 6px solid var(--gold);
}
.pastor-verse blockquote { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.15rem; }
.pastor-verse cite { color: var(--gold); font-style: normal; font-size: 0.9rem; margin-top: 12px; display: block; }

/* ---- HISTORY PAGE ---- */
.history-content { max-width: 900px; margin: 0 auto; }
.history-content p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.9; }
.history-timeline { background: var(--cream); padding: 60px 24px; }
.timeline { position: relative; max-width: 800px; margin: 40px auto 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: var(--gold); transform: translateX(-50%);
}
.timeline-item { display: flex; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-dot {
  width: 18px; height: 18px; background: var(--gold); border-radius: 50%;
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  border: 3px solid var(--white); z-index: 1;
}
.timeline-content {
  width: calc(50% - 40px); background: var(--white);
  border-radius: 8px; padding: 20px 24px; box-shadow: var(--shadow);
}
.timeline-item:nth-child(odd) .timeline-content { margin-right: 40px; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 40px; }
.timeline-year { color: var(--gold); font-weight: 700; font-size: 1.1rem; font-family: 'Playfair Display', serif; }
.timeline-content h4 { color: var(--navy); font-size: 1rem; margin-top: 4px; }

/* ---- MINISTRIES PAGE ---- */
.ministries-intro { background: var(--cream); text-align: center; }
.ministries-intro p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: var(--text-light); }
.ministries-grid-section { background: var(--white); }
.min-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.min-card {
  background: var(--cream); border-radius: 8px; padding: 36px 24px; text-align: center;
  border-top: 5px solid var(--navy); transition: all 0.3s;
}
.min-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--white); }
.min-icon { font-size: 2.5rem; margin-bottom: 16px; }
.min-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 12px; }
.min-card p { color: var(--text-light); font-size: 0.95rem; }
.get-involved { background: var(--navy); text-align: center; padding: 60px 24px; }
.get-involved h2 { color: var(--white); margin-bottom: 16px; }
.get-involved p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.get-involved .contact-details { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.get-involved .contact-details span { color: var(--gold); font-weight: 700; }

/* ---- CONTACT PAGE ---- */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.info-item { display: flex; gap: 16px; margin-bottom: 20px; }
.info-icon { font-size: 1.3rem; min-width: 32px; }
.info-text strong { display: block; color: var(--navy); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.info-text p, .info-text a { color: var(--text-light); font-size: 0.95rem; }
.service-times-list { margin-top: 32px; background: var(--cream); border-radius: 8px; padding: 24px; }
.service-times-list h4 { color: var(--navy); margin-bottom: 16px; border-bottom: 2px solid var(--gold); padding-bottom: 8px; }
.service-times-list p { color: var(--text-light); font-size: 0.95rem; line-height: 2.2; }
.contact-form h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #ddd;
  border-radius: 4px; font-family: 'Lato', sans-serif; font-size: 0.95rem;
  color: var(--text); transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { height: 130px; resize: vertical; }
.btn-submit {
  background: var(--navy); color: var(--white);
  padding: 14px 40px; border-radius: 4px; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase;
  border: 2px solid var(--navy); cursor: pointer; transition: all 0.2s; width: 100%;
}
.btn-submit:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.map-section { background: var(--cream); padding: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* ---- FOOTER ---- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-top {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
.footer-brand .brand-name { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.footer-brand .brand-tagline { color: var(--gold); font-style: italic; font-size: 0.95rem; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 8px; }
.footer-brand a { color: var(--gold); }
.footer-col h4 { color: var(--white); font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 0.9rem; line-height: 2.2; }
.footer-col .gold { color: var(--gold); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; padding: 20px 24px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold); }

/* ---- GENERIC PAGE ---- */
.page-content-section { background: var(--white); }
.page-content { max-width: 900px; margin: 0 auto; font-size: 1.05rem; line-height: 1.9; color: var(--text-light); }
.page-header-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 80px 24px; text-align: center;
}
.page-header-banner h1 { color: var(--white); font-size: 3rem; }
.page-header-banner .gold-line { width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .welcome-grid,
  .pastor-grid,
  .pastor-content,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pastor-grid .pastor-photo-wrap { order: -1; }
  .times-grid,
  .highlights-grid,
  .min-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 48px 16px; }
  .section-inner { padding: 0 8px; }
  .hamburger { display: flex; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-dark); padding: 16px 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .hero-content { padding: 0 16px 20px; }
  .hero-section { height: 480px; }
  .hero-btns { width: 100%; gap: 12px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: auto; text-align: center; padding: 12px 24px; font-size: 0.9rem; white-space: normal; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content .tagline { font-size: 1.1rem; }
  .section-title { font-size: 1.8rem; }
  .welcome-verse { padding: 24px; }
  .time-card { padding: 24px 16px; }
  .call-in { padding: 16px; }
  .pastor-photo-wrap { padding: 0 8px; }
  .pastor-name { font-size: 1rem; line-height: 1.3; word-wrap: break-word; }
  .cta-banner { padding: 40px 16px; }
  .cta-banner .cta-contact { flex-direction: column; gap: 12px; }
  .get-involved { padding: 40px 16px; }
  .get-involved .contact-details { flex-direction: column; gap: 8px; }
  .footer-top { padding: 48px 20px; gap: 32px; }
  .footer-bottom { padding: 24px 16px; }
  .page-banner.contact-banner { height: 200px; }
  .times-grid,
  .highlights-grid,
  .min-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: column; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { width: 100%; margin: 0; }
}

/* ---- PHONE HERO (portrait banner) ---- */
@media (max-width: 600px) {
  .hero-section { height: auto; aspect-ratio: 941 / 1672; }
  .hero-section .hero-bg {
    background-image: url('../images/hero-banner-mobile.png');
    background-position: center;
  }
}
