/* ============================================
JESSICA ELWART THERAPY — Website Styles
Windows & Doors Aesthetic / Bright / Rounded
============================================ */

/* --- CSS Custom Properties --- */
:root {
--coral: #E8735A;
--coral-light: #FFF0EC;
--coral-dark: #D4604A;
--teal: #3A9B8C;
--teal-light: #E8F5F2;
--teal-dark: #2D7A6E;
--navy: #2C3E50;
--warm-gray: #6B6B6B;
--light-bg: #FFF8F5;
--cream: #FFFAF7;
--white: #FFFFFF;
--sand: #F5E6D3;
--lavender: #E8E0F0;
--sunshine: #E8D4F0;
--sunshine-light: #F5EEF8;
--sage: #B5C9B3;
--radius-sm: 12px;
--radius-md: 20px;
--radius-lg: 32px;
--radius-xl: 48px;
--shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
--shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
--transition: all 0.3s ease;
--max-width: 1200px;
--font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
--font-display: 'Caprasimo', Georgia, serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
font-family: var(--font-body);
color: var(--navy);
background: var(--light-bg);
line-height: 1.8;
-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--coral-dark); }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.3; }
h1 { font-size: 3rem; font-weight: 700; color: var(--navy); }
h2 { font-size: 2rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
p { margin-bottom: 1.15rem; color: var(--warm-gray); font-size: 1.1rem; }

/* --- Layout --- */
.container {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 2rem;
}

section {
padding: 5rem 0;
}

.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-coral-light { background: var(--coral-light); }
.section-teal-light { background: var(--teal-light); }

/* --- Navigation --- */
.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255, 248, 245, 0.95);
backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(0,0,0,0.05);
transition: var(--transition);
}

.nav-inner {
max-width: var(--max-width);
margin: 0 auto;
padding: 0 2rem;
display: flex;
align-items: center;
justify-content: space-between;
height: 72px;
}

.nav-logo {
font-family: var(--font-display);
font-size: 1.25rem;
font-weight: 700;
color: var(--coral);
letter-spacing: -0.02em;
}
.nav-logo span { color: var(--navy); }

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

.nav-links a {
color: var(--navy);
font-size: 0.88rem;
font-weight: 500;
position: relative;
padding: 0.25rem 0;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 2px;
background: var(--coral);
border-radius: 2px;
transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a.active { color: var(--coral); }

.nav-cta {
background: var(--coral) !important;
color: var(--white) !important;
padding: 0.5rem 1.25rem !important;
border-radius: var(--radius-sm) !important;
font-weight: 600 !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
}

.nav-toggle span {
display: block;
width: 24px;
height: 2px;
background: var(--navy);
margin: 5px 0;
border-radius: 2px;
transition: var(--transition);
}

/* --- Buttons --- */
.btn {
display: inline-block;
padding: 0.875rem 2rem;
border-radius: var(--radius-md);
font-family: var(--font-body);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
border: none;
text-align: center;
}

.btn-primary {
background: var(--coral);
color: var(--white);
}
.btn-primary:hover {
background: var(--coral-dark);
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(232,115,90,0.3);
}

.btn-secondary {
background: var(--white);
color: var(--coral);
border: 2px solid var(--coral);
}
.btn-secondary:hover {
background: var(--coral-light);
color: var(--coral-dark);
transform: translateY(-2px);
}

.btn-teal {
background: var(--teal);
color: var(--white);
}
.btn-teal:hover {
background: var(--teal-dark);
color: var(--white);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(58,155,140,0.3);
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* --- Hero Section --- */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
background: var(--cream);
padding-top: 72px;
}

.hero-intro {
  max-width: 1000px;
}

.hero h1 {
font-size: 3rem;
margin-bottom: 1.5rem;
color: var(--navy);
}

.hero h1 em {
color: var(--coral);
font-style: normal;
}

.hero p {
font-size: 1.1rem;
margin-bottom: 1.5rem;
color: var(--warm-gray);
}

/* --- Door Section (below hero) --- */
.door-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.door-section-decor {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

/* --- Door/Window Decorative Elements --- */
.hero-decor {
position: relative;
width: 100%;
max-width: 500px;
z-index: 1;
}

.door-frame {
background: var(--coral);
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
padding: 1.5rem;
aspect-ratio: 3/5;
position: relative;
box-shadow: var(--shadow-soft);
}

.door-inner {
background: var(--coral-light);
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}

.door-inner::before {
content: '';
position: absolute;
top: 15%;
left: 50%;
transform: translateX(-50%);
width: 65%;
height: 40%;
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
background: var(--teal-light);
border: 3px solid var(--teal);
}

.door-knob {
position: absolute;
right: 12%;
top: 65%;
width: 10%;
aspect-ratio: 1;
background: var(--coral-dark);
border-radius: 50%;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.door-sign {
position: absolute;
top: 28%;
left: 50%;
transform: translateX(-50%);
display: flex;
flex-direction: column;
align-items: center;
z-index: 2;
}

.door-sign-string {
width: 2px;
height: 28px;
background: var(--coral-dark);
}

.door-sign-board {
background: var(--coral-light);
color: var(--coral-dark);
font-family: var(--font-display);
font-size: 0.85rem;
letter-spacing: 0.1em;
padding: 0.55rem 1.4rem;
border-radius: var(--radius-sm);
box-shadow: 0 3px 10px rgba(232,115,90,0.2);
transform: rotate(-3deg);
border: 2.5px solid var(--coral);
text-transform: lowercase;
}

/* Window elements */
.window-frame {
background: var(--white);
border: 3px solid var(--coral);
border-radius: var(--radius-lg);
padding: 1rem;
aspect-ratio: 1;
position: relative;
box-shadow: var(--shadow-soft);
}

.window-panes {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
gap: 0.5rem;
height: 100%;
}

.window-pane {
border-radius: var(--radius-sm);
background: var(--teal-light);
}

.window-pane:nth-child(1) { background: var(--sand); }
.window-pane:nth-child(2) { background: var(--teal-light); }
.window-pane:nth-child(3) { background: var(--coral-light); }
.window-pane:nth-child(4) { background: var(--lavender); }

/* Floating decorative windows */
.decor-float {
position: absolute;
z-index: 0;
opacity: 0.15;
}

.decor-window {
border: 3px solid var(--coral);
border-radius: var(--radius-md);
width: 80px;
height: 80px;
}

.decor-window::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 3px;
background: var(--coral);
}

.decor-window::after {
content: '';
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 3px;
background: var(--coral);
}

/* --- Cards (What We Do section) --- */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}

.card {
background: var(--white);
border-radius: var(--radius-md);
padding: 2rem;
transition: var(--transition);
border: 2px solid transparent;
position: relative;
overflow: hidden;
}

.card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
border-color: var(--coral);
}

.card-icon {
width: 56px;
height: 56px;
border-radius: var(--radius-sm);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
margin-bottom: 1rem;
}

.card-icon.coral { background: var(--coral-light); }
.card-icon.teal { background: var(--teal-light); }
.card-icon.sage { background: #E5EFE4; }
.card-icon.lavender { background: var(--lavender); }

.card h3 { font-size: 1.2rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; }

/* --- Door-shaped Card --- */
.door-card {
border-radius: var(--radius-xl) var(--radius-xl) var(--radius-sm) var(--radius-sm);
background: var(--white);
padding: 2.5rem 2rem;
text-align: center;
border: 2px solid transparent;
transition: var(--transition);
}

.door-card:hover {
border-color: var(--coral);
transform: translateY(-4px);
box-shadow: var(--shadow-hover);
}

/* --- Steps Section --- */
.steps {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
margin-top: 2.5rem;
}

.step {
text-align: center;
padding: 1.5rem;
}

.step-number {
width: 56px;
height: 56px;
border-radius: 50%;
background: var(--coral);
color: var(--white);
font-family: var(--font-display);
font-size: 1.5rem;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1rem;
}

.step-number.teal { background: var(--teal); }
.step-number.sage { background: var(--sage); color: var(--white); }

/* --- Page Header (inner pages) --- */
.page-header {
padding: 8rem 0 4rem;
background: var(--cream);
position: relative;
overflow: hidden;
}

.page-header h1 { margin-bottom: 1rem; }
.page-header p { font-size: 1.15rem; max-width: 600px; }

.page-header .decor-arch {
position: absolute;
right: 5%;
top: 50%;
transform: translateY(-50%);
width: 200px;
height: 320px;
border: 4px solid var(--coral);
border-radius: 100px 100px 0 0;
opacity: 0.12;
}

.page-header .decor-arch::before {
content: '';
position: absolute;
top: 20px;
left: 20px;
right: 20px;
bottom: -4px;
border: 4px solid var(--teal);
border-radius: 80px 80px 0 0;
}

/* --- Therapist Bio --- */
.therapist-card {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 3rem;
align-items: start;
background: var(--white);
border-radius: var(--radius-lg);
padding: 3rem;
margin-bottom: 2rem;
box-shadow: var(--shadow-soft);
}

.therapist-photo {
width: 100%;
aspect-ratio: 3/4;
border-radius: var(--radius-xl) var(--radius-xl) var(--radius-sm) var(--radius-sm);
background: var(--sand);
display: flex;
align-items: center;
justify-content: center;
font-size: 0.9rem;
color: var(--warm-gray);
text-align: center;
padding: 1rem;
position: relative;
overflow: hidden;
}

/* Door-shaped photo frame */
.therapist-photo::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border: 3px solid var(--coral);
border-radius: var(--radius-xl) var(--radius-xl) var(--radius-sm) var(--radius-sm);
pointer-events: none;
}

.therapist-info h2 { color: var(--coral); }
.therapist-info .title { color: var(--teal); font-weight: 600; margin-bottom: 1.5rem; font-size: 1.05rem; }

.specialties {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 1.5rem 0;
}

.specialty-tag {
background: var(--coral-light);
color: var(--coral-dark);
padding: 0.375rem 1rem;
border-radius: var(--radius-sm);
font-size: 0.85rem;
font-weight: 500;
}

.specialty-tag.teal {
background: var(--teal-light);
color: var(--teal-dark);
}

/* --- FAQ Accordion --- */
.faq-category {
margin-bottom: 3rem;
}

.faq-category h2 {
padding-bottom: 0.75rem;
border-bottom: 2px solid var(--coral);
margin-bottom: 1.5rem;
}

.faq-item {
background: var(--white);
border-radius: var(--radius-md);
margin-bottom: 0.75rem;
overflow: hidden;
box-shadow: 0 1px 4px rgba(0,0,0,0.04);
border: 1px solid rgba(0,0,0,0.06);
}

.faq-question {
width: 100%;
background: none;
border: none;
padding: 1.25rem 1.5rem;
text-align: left;
font-family: var(--font-body);
font-size: 1.05rem;
font-weight: 600;
color: var(--navy);
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
transition: var(--transition);
}

.faq-question:hover { color: var(--coral); }

.faq-question::after {
content: '+';
font-size: 1.5rem;
font-weight: 300;
color: var(--coral);
transition: transform 0.3s ease;
flex-shrink: 0;
}

.faq-item.open .faq-question::after {
transform: rotate(45deg);
}

.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
max-height: 500px;
}

.faq-answer-inner {
padding: 0 1.5rem 1.5rem;
}

.faq-answer-inner p {
font-size: 0.98rem;
line-height: 1.75;
}

/* --- Contact Section --- */
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 3rem;
margin-top: 2rem;
}

.contact-info-card {
background: var(--white);
border-radius: var(--radius-lg);
padding: 2.5rem;
box-shadow: var(--shadow-soft);
}

.contact-detail {
display: flex;
gap: 1rem;
align-items: flex-start;
margin-bottom: 2rem;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-icon {
width: 48px;
height: 48px;
border-radius: var(--radius-sm);
background: var(--coral-light);
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 1.2rem;
}

.contact-detail h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-detail p { margin-bottom: 0; font-size: 0.95rem; }

/* Decorative door for contact page */
.contact-decor {
display: flex;
align-items: center;
justify-content: center;
}

.contact-door {
width: 220px;
height: 360px;
background: var(--coral);
border-radius: 110px 110px 0 0;
padding: 1.25rem;
position: relative;
}

.contact-door-inner {
background: var(--teal-light);
border-radius: 100px 100px 0 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 2rem;
text-align: center;
}

.contact-door-inner h3 {
font-family: var(--font-display);
color: var(--navy);
font-size: 1.5rem;
margin-bottom: 0.5rem;
}

.contact-door-inner p {
color: var(--warm-gray);
font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
background: var(--navy);
color: rgba(255,255,255,0.7);
padding: 3rem 0;
}

.footer-inner {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem;
}

.footer-logo {
font-family: var(--font-display);
font-size: 1.15rem;
font-weight: 700;
color: var(--coral);
}

.footer-links {
display: flex;
list-style: none;
gap: 1.5rem;
}

.footer-links a {
color: rgba(255,255,255,0.6);
font-size: 0.9rem;
}

.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.85rem; }

/* --- Intro With Photo --- */
.intro-with-photo {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
}

.intro-photo-wrap {
  position: relative;
}

.intro-photo-wrap::before {
  content: '';
  position: absolute;
  top: -18px;
  left: -18px;
  right: -18px;
  bottom: -18px;
  background: var(--teal-light);
  border: 3px solid var(--teal);
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  z-index: 0;
}

.intro-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  position: relative;
  z-index: 1;
}

.intro-text {
  max-width: 560px;
}

/* --- Scroll Hint --- */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  z-index: 3;
  animation: gentleBounce 2.2s ease-in-out infinite;
}

.scroll-hint-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.03em;
}

.scroll-hint-arrow {
  font-size: 1.4rem;
  color: var(--coral);
  line-height: 1;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Responsive --- */
@media (max-width: 900px) {
.hero h1 { font-size: 2.5rem; }
.intro-with-photo { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.intro-photo-wrap { max-width: 240px; }
.intro-text { max-width: 100%; }
.door-section-inner { grid-template-columns: 1fr; text-align: center; }
.door-section-decor { max-width: 240px; }
.steps { grid-template-columns: 1fr; }
.therapist-card { grid-template-columns: 1fr; }
.therapist-photo { max-width: 250px; }
.contact-grid { grid-template-columns: 1fr; }
.contact-decor { display: none; }
.page-header .decor-arch { display: none; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.65rem; }
}

@media (max-width: 640px) {
.nav-links { display: none; }
.nav-toggle { display: block; }
.nav-links.open {
display: flex;
flex-direction: column;
position: absolute;
top: 72px;
left: 0;
right: 0;
background: var(--light-bg);
padding: 1.5rem 2rem;
box-shadow: 0 8px 24px rgba(0,0,0,0.1);
gap: 1rem;
}
.hero { min-height: auto; padding: 8rem 0 4rem; }
.scroll-hint { display: none; }
.hero h1 { font-size: 2rem; }
.card-grid { grid-template-columns: 1fr; }
section { padding: 3rem 0; }
.btn-group { flex-direction: column; }
.btn { width: 100%; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-coral { color: var(--coral); }
.text-teal { color: var(--teal); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.max-w-narrow { max-width: 700px; }
