/* ==========================================================================
   Teach Them To Love Outreach Ministries — T3L site styles
   Scoped to #t3l-ghl so the block can be embedded in GoHighLevel (or any CMS)
   without colliding with host/theme styles.
   Palette: deep purple (brand) + warm gold (accent), reflecting the
   "Shades of Purple" identity.
   ========================================================================== */

#t3l-ghl {
  --t3l-purple-900: #2a123f;
  --t3l-purple-800: #3b1a5c;
  --t3l-purple-700: #4c2278;
  --t3l-purple-600: #5f2e91;
  --t3l-purple-100: #efe7f6;
  --t3l-gold: #e0b23c;
  --t3l-gold-dark: #c6952a;
  --t3l-ink: #221530;
  --t3l-body: #46394f;
  --t3l-muted: #6f6478;
  --t3l-line: #e5dced;
  --t3l-bg: #ffffff;
  --t3l-bg-soft: #f7f3fb;
  --t3l-danger: #a3231f;
  --t3l-danger-bg: #fbeaea;

  --t3l-radius: 16px;
  --t3l-shadow: 0 18px 40px -24px rgba(42, 18, 63, 0.45);
  --t3l-max: 1140px;

  color: var(--t3l-body);
  background: var(--t3l-bg);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

#t3l-ghl *,
#t3l-ghl *::before,
#t3l-ghl *::after { box-sizing: border-box; }

#t3l-ghl img { max-width: 100%; height: auto; display: block; }

#t3l-ghl h1,
#t3l-ghl h2,
#t3l-ghl h3 {
  font-family: "Playfair Display", "Poppins", Georgia, serif;
  color: var(--t3l-ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

#t3l-ghl h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
#t3l-ghl h3 { font-size: 1.25rem; font-family: "Poppins", sans-serif; }
#t3l-ghl p { margin: 0 0 1rem; }
#t3l-ghl a { color: var(--t3l-purple-600); text-decoration: none; }
#t3l-ghl a:hover { text-decoration: underline; }

#t3l-ghl .container {
  width: 100%;
  max-width: var(--t3l-max);
  margin-inline: auto;
  padding-inline: 24px;
}

#t3l-ghl .section { padding: clamp(48px, 7vw, 88px) 0; }

#t3l-ghl .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--t3l-gold);
  margin: 0 0 0.75rem;
}
#t3l-ghl .eyebrow.dark { color: var(--t3l-purple-600); }
#t3l-ghl .lead { font-size: 1.12rem; color: var(--t3l-body); }

/* --- Skip link -------------------------------------------------------- */
#t3l-ghl .skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--t3l-purple-800);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
#t3l-ghl .skip-link:focus { left: 0; }

/* --- Buttons ---------------------------------------------------------- */
#t3l-ghl .button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
#t3l-ghl .button:hover { text-decoration: none; transform: translateY(-2px); }
#t3l-ghl .button.gold {
  background: var(--t3l-gold);
  color: var(--t3l-ink);
  box-shadow: 0 12px 24px -14px rgba(224, 178, 60, 0.9);
}
#t3l-ghl .button.gold:hover { background: var(--t3l-gold-dark); }
#t3l-ghl .button.ghost {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
#t3l-ghl .button.ghost:hover { background: rgba(255, 255, 255, 0.12); }
#t3l-ghl .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

/* --- Header ----------------------------------------------------------- */
#t3l-ghl .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--t3l-line);
}
#t3l-ghl .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}
#t3l-ghl .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--t3l-ink);
  font-weight: 600;
  line-height: 1.2;
}
#t3l-ghl .brand:hover { text-decoration: none; }
#t3l-ghl .brand img { width: 48px; height: 48px; object-fit: contain; }
#t3l-ghl .brand span { display: flex; flex-direction: column; font-size: 0.95rem; }
#t3l-ghl .brand strong { color: var(--t3l-purple-600); font-weight: 700; }

#t3l-ghl .nav { display: flex; align-items: center; gap: 22px; }
#t3l-ghl .nav a { color: var(--t3l-ink); font-weight: 500; font-size: 0.96rem; }
#t3l-ghl .nav a:hover { color: var(--t3l-purple-600); text-decoration: none; }
#t3l-ghl .nav .nav-give {
  background: var(--t3l-gold);
  color: var(--t3l-ink);
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
}
#t3l-ghl .nav .nav-give:hover { background: var(--t3l-gold-dark); color: var(--t3l-ink); }

#t3l-ghl .menu-toggle {
  display: none;
  border: 1px solid var(--t3l-line);
  background: #fff;
  color: var(--t3l-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

/* --- Hero ------------------------------------------------------------- */
#t3l-ghl .hero {
  background:
    linear-gradient(100deg,
      rgba(42, 18, 63, 0.95) 0%,
      rgba(50, 22, 74, 0.82) 32%,
      rgba(59, 26, 92, 0.48) 60%,
      rgba(76, 34, 120, 0.20) 100%),
    url('img/hero-counseling.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(64px, 10vw, 120px) 0;
}

/* Narrow screens: darken the wash so the headline stays legible over the photo */
@media (max-width: 720px) {
  #t3l-ghl .hero {
    background:
      linear-gradient(180deg, rgba(42, 18, 63, 0.9), rgba(59, 26, 92, 0.86)),
      url('img/hero-counseling.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
  }
}
#t3l-ghl .hero .eyebrow { color: var(--t3l-gold); }
#t3l-ghl .hero h1 { color: #fff; }
#t3l-ghl .hero-copy {
  font-size: 1.2rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 24px;
}

/* --- Safety notice ---------------------------------------------------- */
#t3l-ghl .safety-notice { background: var(--t3l-danger-bg); border-block: 1px solid #f0cfce; }
#t3l-ghl .safety-notice .container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 18px;
}
#t3l-ghl .safety-notice p { margin: 0; color: #5c1a18; font-size: 0.98rem; }
#t3l-ghl .safety-notice a { color: var(--t3l-danger); font-weight: 600; }
#t3l-ghl .notice-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--t3l-danger);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* --- Intro ------------------------------------------------------------ */
#t3l-ghl .intro-grid,
#t3l-ghl .facts-grid,
#t3l-ghl .access-grid,
#t3l-ghl .founder-grid,
#t3l-ghl .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
#t3l-ghl .belief {
  border-left: 4px solid var(--t3l-gold);
  padding-left: 18px;
  font-style: italic;
  color: var(--t3l-purple-700);
  font-size: 1.1rem;
}

/* --- Mission ---------------------------------------------------------- */
#t3l-ghl .mission { background: var(--t3l-purple-900); color: #fff; }
#t3l-ghl .mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
#t3l-ghl .mission-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--t3l-radius);
  padding: 32px;
}
#t3l-ghl .mission-card p:last-child { margin: 0; font-size: 1.08rem; }
#t3l-ghl .mission-card .eyebrow { color: var(--t3l-gold); }

/* --- Facts ------------------------------------------------------------ */
#t3l-ghl .facts { background: var(--t3l-bg-soft); }
#t3l-ghl .fact-box {
  background: #fff;
  border: 1px solid var(--t3l-line);
  border-radius: var(--t3l-radius);
  box-shadow: var(--t3l-shadow);
  padding: 12px 28px 20px;
}
#t3l-ghl .fact-box table { width: 100%; border-collapse: collapse; }
#t3l-ghl .fact-box caption {
  caption-side: top;
  text-align: left;
  padding: 16px 0 8px;
  font-size: 0.82rem;
  color: var(--t3l-muted);
}
#t3l-ghl .fact-box th,
#t3l-ghl .fact-box td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--t3l-line);
  vertical-align: top;
}
#t3l-ghl .fact-box th { width: 34%; color: var(--t3l-ink); font-weight: 600; }
#t3l-ghl .fact-box tr:last-child th,
#t3l-ghl .fact-box tr:last-child td { border-bottom: 0; }

/* --- Services --------------------------------------------------------- */
#t3l-ghl .services-heading { max-width: 760px; margin-bottom: 44px; }
#t3l-ghl .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
#t3l-ghl .service-card {
  background: #fff;
  border: 1px solid var(--t3l-line);
  border-radius: var(--t3l-radius);
  padding: 32px 28px;
  box-shadow: var(--t3l-shadow);
  display: flex;
  flex-direction: column;
}
#t3l-ghl .service-number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--t3l-gold);
  margin: 0 0 8px;
}
#t3l-ghl .service-card h3 { color: var(--t3l-purple-700); }
#t3l-ghl .service-card > a {
  margin-top: auto;
  font-weight: 600;
  padding-top: 14px;
}

/* --- Access steps ----------------------------------------------------- */
#t3l-ghl .access { background: var(--t3l-bg-soft); }
#t3l-ghl .access-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
#t3l-ghl .access-steps li {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--t3l-line);
  border-radius: var(--t3l-radius);
  padding: 22px 24px;
}
#t3l-ghl .access-steps li > span {
  flex: none;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--t3l-gold);
}
#t3l-ghl .access-steps h3 { margin-bottom: 4px; color: var(--t3l-purple-700); }
#t3l-ghl .access-steps p { margin: 0; }

/* --- Founder ---------------------------------------------------------- */
#t3l-ghl .founder-grid { align-items: center; }
#t3l-ghl .founder-image img {
  border-radius: var(--t3l-radius);
  box-shadow: var(--t3l-shadow);
  width: 100%;
  object-fit: cover;
}
#t3l-ghl .founder-copy .eyebrow { color: var(--t3l-gold); }
#t3l-ghl .founder-copy blockquote {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: var(--t3l-purple-100);
  border-radius: var(--t3l-radius);
  border-left: 4px solid var(--t3l-purple-600);
  font-style: italic;
  color: var(--t3l-purple-800);
  font-size: 1.1rem;
}

/* --- Event ------------------------------------------------------------ */
#t3l-ghl .event { background: var(--t3l-purple-900); color: #fff; }
#t3l-ghl .event-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
#t3l-ghl .event-art img { border-radius: var(--t3l-radius); box-shadow: var(--t3l-shadow); }
#t3l-ghl .event-copy h2 { color: #fff; }
#t3l-ghl .event-copy .eyebrow { color: var(--t3l-gold); }
#t3l-ghl .date-chip {
  display: inline-block;
  background: rgba(224, 178, 60, 0.16);
  border: 1px solid rgba(224, 178, 60, 0.5);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
}
#t3l-ghl .event-note { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }

/* --- Giving ----------------------------------------------------------- */
#t3l-ghl .giving { background: var(--t3l-purple-800); color: #fff; text-align: center; }
#t3l-ghl .giving h2 { color: #fff; }
#t3l-ghl .giving .eyebrow { color: var(--t3l-gold); }
#t3l-ghl .giving .lead { color: rgba(255, 255, 255, 0.85); max-width: 620px; margin-inline: auto; }
#t3l-ghl .giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  text-align: left;
}
#t3l-ghl .give-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--t3l-radius);
  padding: 28px;
}
#t3l-ghl .give-card h3 { color: #fff; }
#t3l-ghl .give-card p { color: rgba(255, 255, 255, 0.82); }
#t3l-ghl .give-card a { color: var(--t3l-gold); font-weight: 600; }

/* --- FAQ -------------------------------------------------------------- */
#t3l-ghl .faq-list { display: grid; gap: 12px; }
#t3l-ghl .faq-list details {
  background: #fff;
  border: 1px solid var(--t3l-line);
  border-radius: 12px;
  padding: 6px 20px;
}
#t3l-ghl .faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--t3l-ink);
  padding: 14px 0;
  list-style: none;
}
#t3l-ghl .faq-list summary::-webkit-details-marker { display: none; }
#t3l-ghl .faq-list summary::after { content: "+"; float: right; color: var(--t3l-gold); font-size: 1.3rem; line-height: 1; }
#t3l-ghl .faq-list details[open] summary::after { content: "–"; }
#t3l-ghl .faq-list details p { padding-bottom: 14px; margin: 0; }

/* --- Contact ---------------------------------------------------------- */
#t3l-ghl .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
#t3l-ghl .contact-card {
  background: var(--t3l-bg-soft);
  border: 1px solid var(--t3l-line);
  border-radius: var(--t3l-radius);
  padding: 26px;
}
#t3l-ghl .contact-card h3 { color: var(--t3l-purple-700); }
#t3l-ghl .contact-card .social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
#t3l-ghl .contact-card .social a { font-weight: 600; }
#t3l-ghl .hours { width: 100%; border-collapse: collapse; }
#t3l-ghl .hours th, #t3l-ghl .hours td { text-align: left; padding: 6px 0; font-size: 0.95rem; }
#t3l-ghl .hours th { font-weight: 600; color: var(--t3l-ink); }

/* --- Footer ----------------------------------------------------------- */
#t3l-ghl .footer { background: var(--t3l-purple-900); color: rgba(255, 255, 255, 0.85); padding-top: 64px; }
#t3l-ghl .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
#t3l-ghl .footer img { width: 64px; margin-bottom: 12px; }
#t3l-ghl .footer h2 { color: #fff; font-size: 1.5rem; }
#t3l-ghl .footer .eyebrow { color: var(--t3l-gold); }
#t3l-ghl .footer-links { display: flex; flex-direction: column; gap: 8px; }
#t3l-ghl .footer-links a { color: rgba(255, 255, 255, 0.85); }
#t3l-ghl .footer-links a:hover { color: #fff; }
#t3l-ghl .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 900px) {
  #t3l-ghl .menu-toggle { display: inline-block; }
  #t3l-ghl .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border-bottom: 1px solid var(--t3l-line);
    padding: 14px 24px 20px;
    display: none;
  }
  #t3l-ghl .nav.is-open { display: flex; }
  #t3l-ghl .header-inner { position: relative; flex-wrap: wrap; }
  #t3l-ghl .intro-grid,
  #t3l-ghl .facts-grid,
  #t3l-ghl .access-grid,
  #t3l-ghl .founder-grid,
  #t3l-ghl .faq-grid,
  #t3l-ghl .mission-grid,
  #t3l-ghl .event-panel,
  #t3l-ghl .giving-grid { grid-template-columns: 1fr; }
  #t3l-ghl .service-grid,
  #t3l-ghl .contact-grid { grid-template-columns: 1fr; }
  #t3l-ghl .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  #t3l-ghl h1 span { white-space: normal !important; }
}

/* In-page anchor targets: offset for the sticky header so headings aren't
   hidden underneath when a nav link jumps to a section. */
#t3l-ghl section[id],
#t3l-ghl #t3l-main-content { scroll-margin-top: 88px; }

/* --- Card movement --------------------------------------------------- */
/* Hover lift on the repeating cards. */
#t3l-ghl .service-card,
#t3l-ghl .mission-card,
#t3l-ghl .give-card,
#t3l-ghl .contact-card,
#t3l-ghl .access-steps li,
#t3l-ghl .fact-box {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}
#t3l-ghl .service-card:hover,
#t3l-ghl .service-card:focus-within,
#t3l-ghl .contact-card:hover,
#t3l-ghl .contact-card:focus-within,
#t3l-ghl .fact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -26px rgba(42, 18, 63, 0.55);
  border-color: var(--t3l-purple-600);
}
#t3l-ghl .access-steps li:hover,
#t3l-ghl .access-steps li:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -26px rgba(42, 18, 63, 0.45);
  border-color: var(--t3l-purple-600);
}
/* Cards on dark grounds: lift + brighten their translucent surface. */
#t3l-ghl .mission-card:hover,
#t3l-ghl .give-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(224, 178, 60, 0.55);
}
/* Nudge the arrow on card links. */
#t3l-ghl .service-card > a span,
#t3l-ghl .give-card a span {
  display: inline-block;
  transition: transform 0.25s ease;
}
#t3l-ghl .service-card:hover > a span,
#t3l-ghl .give-card:hover a span { transform: translateX(5px); }

/* Scroll-reveal: cards rise + fade as they enter the viewport.
   CSS scroll-driven animation — no JS. Browsers without support simply
   show the cards in their normal state (no hidden fallback). */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    #t3l-ghl .service-card,
    #t3l-ghl .mission-card,
    #t3l-ghl .give-card,
    #t3l-ghl .contact-card,
    #t3l-ghl .access-steps li {
      animation: t3l-card-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}
@keyframes t3l-card-rise {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  #t3l-ghl * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto !important; }
}
