/* ============================================
   Family Therapy of Louisville — Custom Styles
   Deep Navy + Warm Gold | Warm, Friendly
   ============================================ */

/* --- Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-light: #243557;
  --navy-dark: #131F38;
  --gold: #B8860B;
  --gold-light: #D4A843;
  --gold-pale: #F5E6C8;
  --gold-bg: #FFF9EE;
  --cream: #FDF8F0;
  --warm-white: #FEFCF8;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A5A;
  --text-light: #7A7A8A;
  --border: #E8E0D4;
  --shadow-sm: 0 2px 8px rgba(27, 42, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 42, 74, 0.10);
  --shadow-lg: 0 20px 60px rgba(27, 42, 74, 0.12);
  --shadow-gold: 0 8px 30px rgba(184, 134, 11, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Nunito Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--text-mid); }

/* --- Eyebrow --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header .section-body { font-size: 1.1rem; max-width: 600px; color: var(--text-mid); }
.section-header--center { text-align: center; }
.section-header--center .section-body { margin: 0 auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(184, 134, 11, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Gold Accent --- */
.gold-accent { color: var(--gold); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 224, 212, 0.5);
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(253, 248, 240, 0.97);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.2;
}
.nav-sub { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--navy-light); transform: translateY(-1px); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(184, 134, 11, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(27, 42, 74, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  margin-bottom: 24px;
  line-height: 1.15;
}
.hero-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 680px;
}
.hero-img-main {
  width: 380px;
  height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
  position: absolute;
  bottom: 40px;
  left: -40px;
  width: 260px;
  height: 195px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 4px solid var(--cream);
}
.hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  top: 40px;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  max-width: 280px;
  line-height: 1.4;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 120px 0;
  background: var(--warm-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; line-height: 1.7; }

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 620px;
}
.about-img-main {
  width: 340px;
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 240px;
  height: 176px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 4px solid var(--cream);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-decor {
  position: absolute;
  top: -20px;
  right: 60px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gold-pale);
  opacity: 0.6;
  z-index: 1;
}
.about-content h2 { margin-bottom: 24px; }
.about-content > p { margin-bottom: 20px; font-size: 1.02rem; }
.about-highlights {
  display: flex;
  gap: 40px;
  margin: 36px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.highlight { text-align: center; }
.highlight-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }
.about-content .btn { margin-top: 8px; }

/* ============================================
   APPROACH
   ============================================ */
.approach {
  padding: 120px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.approach .section-eyebrow { color: var(--gold-light); }
.approach .section-header h2 { color: #fff; }
.approach .section-header .section-body { color: rgba(255,255,255,0.65); }
.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.approach-step { text-align: center; position: relative; }
.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.approach-step h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.approach-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--warm-white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 28px;
  pointer-events: none;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-eyebrow { color: var(--gold-light) !important; margin-bottom: 16px; }
.cta-content h2 { color: #fff; margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-body { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 36px; max-width: 500px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-visual { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); height: 320px; }
.cta-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-intro { margin-bottom: 36px; font-size: 1.02rem; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-detail span, .contact-detail a {
  font-size: 0.92rem;
  color: var(--text-mid);
}
.contact-detail a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--warm-white);
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #F0FFF4;
  border: 1px solid #C6F6D5;
  border-radius: var(--radius-sm);
  color: #2D6A4F;
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 8px; line-height: 1.6; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 500px; order: -1; }
  .hero-img-main { width: 280px; height: 380px; }
  .hero-img-accent { width: 200px; height: 150px; left: -20px; bottom: 20px; }
  .hero-badge { max-width: 220px; font-size: 0.8rem; padding: 12px 18px; }
  .hero-text { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-body { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-images { height: 480px; }
  .about-img-main { width: 260px; height: 380px; }
  .about-img-secondary { width: 180px; height: 132px; }
  .approach-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section .container { grid-template-columns: 1fr; }
  .cta-visual { height: 260px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-visual { height: 400px; }
  .hero-img-main { width: 220px; height: 300px; }
  .hero-img-accent { width: 160px; height: 120px; left: -10px; bottom: 10px; }
  .hero-badge { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .about-highlights { flex-direction: column; gap: 20px; }
}
