/*
Theme Name: Empowering Change Counseling
Theme URI: https://empoweringchange-counseling.com
Author: Victoria Otto
Description: Custom WordPress theme for Empowering Change Counseling PLLC — compassionate, faith-informed counseling in Central Texas.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: empowering-change
*/

:root {
  --cream: #f0ece2;
  --warm-white: #f7f4ee;
  --sage: #3d5c35;
  --sage-dark: #1f3a18;
  --sage-light: #5a7a50;
  --sage-pale: #d6e2d0;
  --taupe: #b0a088;
  --taupe-light: #e0d8c8;
  --taupe-dark: #8a7a62;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,243,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--taupe-light);
  padding: 0 48px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* Target both direct img AND WordPress custom logo wrapper */
.nav-logo img,
.nav-logo .custom-logo-link img,
.custom-logo-link img {
  height: 68px !important;
  width: auto !important;
  max-width: 220px !important;
  display: block;
  mix-blend-mode: multiply;
  object-fit: contain;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* WordPress wraps custom logo in an <a> tag — constrain that too */
.nav-logo .custom-logo-link,
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  background: transparent !important;
}
/* Fallback text styles */
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 500;
  color: var(--text-dark); letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 8.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-light); font-weight: 400;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--text-mid);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--sage); transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: var(--text-dark);
}

.btn-primary {
  background: var(--sage-dark); color: white; border: none;
  padding: 12px 24px; font-family: 'Jost', sans-serif;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em;
  cursor: pointer; border-radius: 2px; text-decoration: none;
  display: inline-block; transition: background 0.2s, transform 0.15s;
  text-transform: uppercase;
}
.btn-primary:hover { background: var(--sage); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text-dark); border: none;
  padding: 12px 0; font-family: 'Jost', sans-serif;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.08em;
  cursor: pointer; text-decoration: none; display: inline-flex;
  align-items: center; gap: 8px; transition: color 0.2s, gap 0.2s;
  text-transform: uppercase;
}
.btn-outline:hover { color: var(--sage); gap: 14px; }

/* ── HERO ── */
.hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--cream);
  overflow: hidden;
}

.hero-content {
  padding: 96px 64px 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
}

.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 24px; font-weight: 400;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 4.5vw, 68px);
  font-weight: 300; line-height: 1.1;
  color: var(--text-dark); margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.35s forwards;
}
.hero-title em { font-style: italic; color: var(--sage); }

.hero-divider {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.45s forwards;
}
.hero-divider-line { height: 1px; width: 56px; background: var(--taupe); }
.hero-divider-icon { color: var(--taupe); font-size: 16px; }

.hero-body {
  font-size: 15px; line-height: 1.85; color: var(--text-mid);
  font-weight: 300; max-width: 380px; margin-bottom: 44px;
  opacity: 0; animation: fadeUp 0.8s 0.55s forwards;
}

.hero-cta {
  display: flex; align-items: center; gap: 36px;
  opacity: 0; animation: fadeUp 0.8s 0.65s forwards;
}

.hero-image {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #d4c9b5 0%, #c8bba6 40%, #b8aa90 100%);
}

.hero-deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(138,155,122,0.25) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(196,180,154,0.3) 0%, transparent 40%),
    linear-gradient(160deg, #d6ccba 0%, #c4b69e 50%, #b5a68a 100%);
}

.hero-deco-leaf {
  position: absolute;
  font-size: 180px; opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}
.hero-deco-leaf:nth-child(1) { top: 15%; right: 15%; }
.hero-deco-leaf:nth-child(2) { bottom: 20%; right: 30%; font-size: 100px; animation-delay: -3s; }

.hero-quote {
  position: absolute; bottom: 60px; right: 40px;
  background: rgba(250,248,243,0.92);
  backdrop-filter: blur(8px);
  padding: 24px 28px; max-width: 240px;
  border-left: 2px solid var(--sage);
  z-index: 2;
  opacity: 0; animation: fadeIn 1s 1s forwards;
}
.hero-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-style: italic;
  line-height: 1.6; color: var(--text-dark); font-weight: 300;
}
.hero-quote cite {
  display: block; margin-top: 10px;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sage); font-style: normal; font-weight: 400;
}

/* ── INTRO BAND ── */
.intro-band {
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr;
  background: var(--sage-dark); color: white;
  padding: 48px 80px;
}
.intro-band-divider { background: rgba(255,255,255,0.15); }
.intro-item {
  padding: 0 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.intro-item-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.intro-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400; letter-spacing: 0.02em;
}
.intro-item p {
  font-size: 12.5px; line-height: 1.7;
  color: rgba(255,255,255,0.7); font-weight: 300; letter-spacing: 0.02em;
}

/* ── ABOUT ── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.about-image {
  background: linear-gradient(145deg, #c8bba6, #b5a68a);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-image-deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 40% 60%, rgba(92,107,80,0.2) 0%, transparent 60%),
    linear-gradient(145deg, #d0c4b0 0%, #bfad97 100%);
}
.about-image-text {
  position: relative; z-index: 1; text-align: center; padding: 40px;
}
.about-image-text .big-initial {
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px; font-weight: 300;
  color: rgba(255,255,255,0.25); line-height: 1;
  display: block;
}
.about-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}
.about-content {
  padding: 80px 72px; background: var(--warm-white);
  display: flex; flex-direction: column; justify-content: center;
}

.section-label {
  font-size: 10.5px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 20px; font-weight: 400;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3vw, 48px); font-weight: 300;
  line-height: 1.2; color: var(--text-dark); margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--sage); }
.section-divider {
  width: 48px; height: 1px; background: var(--taupe);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 15px; line-height: 1.85; color: var(--text-mid);
  font-weight: 300; margin-bottom: 16px;
}
.credential-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sage-pale); padding: 10px 18px;
  margin-top: 12px; border-radius: 2px;
}
.credential-badge span { font-size: 11px; letter-spacing: 0.08em; color: var(--sage-dark); font-weight: 400; }

/* ── SERVICES ── */
.services { background: var(--cream); padding: 96px 80px; }
.services-header { text-align: center; margin-bottom: 64px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.service-card {
  background: var(--warm-white);
  padding: 36px 24px; text-align: center;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(61,74,52,0.08);
}
.service-icon {
  width: 60px; height: 60px; margin: 0 auto 20px;
  background: var(--sage-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--sage-dark); }
.service-card:hover .service-icon span { filter: brightness(10); }
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 400; color: var(--text-dark);
  margin-bottom: 12px; letter-spacing: 0.02em;
}
.service-card p { font-size: 12.5px; line-height: 1.75; color: var(--text-light); font-weight: 300; }

/* ── FAITH ── */
.faith { display: grid; grid-template-columns: 1fr 1fr; }
.faith-content {
  background: var(--sage-dark); color: white;
  padding: 96px 72px; display: flex; flex-direction: column; justify-content: center;
}
.faith-content .section-label { color: rgba(255,255,255,0.5); }
.faith-content .section-title { color: white; }
.faith-content .section-divider { background: rgba(255,255,255,0.25); }
.faith-content p { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,0.75); font-weight: 300; margin-bottom: 16px; }
.faith-content .btn-primary { background: white; color: var(--sage-dark); margin-top: 16px; align-self: flex-start; }
.faith-content .btn-primary:hover { background: var(--cream); }
.faith-image {
  background: linear-gradient(145deg, #b8c4ad, #9aad8a);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 480px;
}
.faith-image-deco {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(255,255,255,0.15) 0%, transparent 50%),
    linear-gradient(145deg, #c0ccb5 0%, #9aad8a 100%);
}
.faith-cross { position: relative; z-index: 1; font-size: 120px; opacity: 0.35; color: white; font-family: serif; }

/* ── PROCESS ── */
.process { background: var(--warm-white); padding: 96px 80px; }
.process-header { text-align: center; margin-bottom: 64px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; position: relative; }
.process-steps::before {
  content: ''; position: absolute;
  top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--taupe-light), transparent);
}
.process-step { text-align: center; position: relative; }
.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300; line-height: 1;
  color: var(--sage-pale); margin-bottom: 20px;
  position: relative; display: inline-block;
}
.step-number::after {
  content: ''; position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; background: var(--sage); border-radius: 50%;
}
.process-step h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; margin-bottom: 12px; }
.process-step p { font-size: 13px; line-height: 1.75; color: var(--text-light); font-weight: 300; }

/* ── PSYCHOLOGY BAND ── */
.psychology-band {
  background: var(--cream);
  border-top: 1px solid var(--taupe-light);
  border-bottom: 1px solid var(--taupe-light);
  padding: 48px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.psych-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin-bottom: 8px; }
.psych-text p { font-size: 13.5px; color: var(--text-light); font-weight: 300; max-width: 460px; }
.psych-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--sage-dark); color: white;
  padding: 16px 24px; text-decoration: none; transition: background 0.2s; flex-shrink: 0;
}
.psych-badge:hover { background: var(--sage); }
.psych-badge-icon {
  width: 44px; height: 44px; background: rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 16px; font-weight: 500;
}
.psych-badge-text { display: flex; flex-direction: column; gap: 2px; }
.psych-badge-text span:first-child { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.psych-badge-text span:last-child { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 400; }

/* ── VIDEO SECTION ── */
.video-section { background: var(--cream); padding: 96px 80px; text-align: center; }
.video-section .section-label { display: block; margin: 0 auto 20px; }
.video-section .section-title { margin: 0 auto 20px; max-width: 500px; }
.video-section .section-divider { margin: 0 auto 40px; }
.video-wrap { max-width: 680px; margin: 0 auto; }
.video-placeholder {
  background: var(--sage-pale); border-radius: 4px;
  aspect-ratio: 16/9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  border: 1px dashed var(--sage-light);
}
.video-placeholder .play-icon { font-size: 48px; opacity: 0.4; }
.video-placeholder .coming-soon { font-size: 13px; color: var(--sage); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.video-placeholder .replace-note { font-size: 12px; color: var(--text-light); font-weight: 300; }
.video-embed { border-radius: 4px; overflow: hidden; aspect-ratio: 16/9; }
.video-embed iframe { width: 100%; height: 100%; border: none; display: block; }
.video-body { font-size: 15px; color: var(--text-mid); font-weight: 300; max-width: 480px; margin: 28px auto 0; line-height: 1.85; }

/* ── RATES ── */
.rates-section { background: var(--warm-white); padding: 96px 80px; }
.rates-header { text-align: center; margin-bottom: 56px; }
.rates-header .section-label { display: block; margin: 0 auto 20px; }
.rates-header .section-title { margin: 0 auto 20px; }
.rates-header .section-divider { margin: 0 auto 16px; }
.rates-intro { font-size: 15px; color: var(--text-mid); font-weight: 300; }
.rates-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; max-width: 720px; margin: 0 auto 40px; }
.rate-card { background: var(--cream); padding: 40px 32px; text-align: center; border-bottom: 2px solid var(--sage); }
.rate-type { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 16px; font-weight: 400; }
.rate-price { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; color: var(--text-dark); line-height: 1; }
.rate-note { font-size: 12px; color: var(--text-light); margin-top: 8px; font-weight: 300; }
.insurance-note { max-width: 560px; margin: 0 auto; background: var(--sage-pale); padding: 24px 32px; border-left: 2px solid var(--sage); }
.insurance-note p { font-size: 13.5px; line-height: 1.8; color: var(--sage-dark); font-weight: 300; }

/* ── CTA ── */
.cta-section { background: var(--cream); padding: 112px 80px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: '✦'; position: absolute;
  font-size: 400px; color: rgba(92,107,80,0.04);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section .section-label { display: block; margin: 0 auto 20px; }
.cta-section .section-title { margin: 0 auto 20px; max-width: 560px; }
.cta-section .section-divider { margin: 0 auto 28px; }
.cta-section p { font-size: 15px; line-height: 1.85; color: var(--text-mid); font-weight: 300; max-width: 480px; margin: 0 auto 44px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 32px; }

/* ── FOOTER ── */
footer { background: var(--text-dark); color: rgba(255,255,255,0.6); padding: 64px 80px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; margin-bottom: 48px; }
.footer-brand .nav-logo-name { color: white; font-size: 20px; }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.4); }
.footer-logo-img { height: 56px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 4px; color: rgba(255,255,255,0.5); font-weight: 300; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; font-weight: 400; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { text-decoration: none; font-size: 13.5px; color: rgba(255,255,255,0.6); font-weight: 300; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-col address { font-style: normal; font-size: 13.5px; color: rgba(255,255,255,0.6); font-weight: 300; line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-col address a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); font-weight: 300; }
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; height: 72px; }
  .nav-logo img,
  .nav-logo .custom-logo-link img,
  .custom-logo-link img { height: 44px !important; max-width: 140px !important; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 20px;
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(250,248,243,0.98);
    padding: 32px 24px;
    border-bottom: 1px solid var(--taupe-light);
    z-index: 99;
  }
  .menu-toggle { display: block; }
  .hero { grid-template-columns: 1fr; margin-top: 72px; }
  .hero-image { min-height: 300px; }
  .hero-content { padding: 64px 32px; }
  .intro-band { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .intro-band-divider { display: none; }
  .intro-item { padding: 0; }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 260px; }
  .about-content { padding: 56px 32px; }
  .services { padding: 64px 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .services-grid .service-card:last-child { grid-column: span 2; max-width: 240px; margin: 0 auto; width: 100%; }
  .faith { grid-template-columns: 1fr; }
  .faith-image { min-height: 240px; }
  .faith-content { padding: 64px 32px; }
  .process { padding: 64px 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .psychology-band { flex-direction: column; text-align: center; padding: 48px 32px; }
  .video-section { padding: 64px 32px; }
  .rates-section { padding: 64px 32px; }
  .cta-section { padding: 72px 32px; }
  .cta-buttons { flex-direction: column; gap: 16px; }
  footer { padding: 48px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child { grid-column: span 1; max-width: 100%; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-content { padding: 48px 24px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}
