/* Import Google Fonts: Playfair Display for Headings, Inter for Body */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* CSS Reset & Variable Definitions */
:root {
  /* Color Palette - Warm Minimalist Theme */
  --bg-color: #FAF8F5;          /* Soft Creamy White */
  --text-primary: #1C1917;      /* Rich Warm Charcoal */
  --text-secondary: #57534E;    /* Soft Warm Stone Grey */
  --accent-color: #9A3412;      /* Terracotta Rust */
  --accent-light: #FDBA74;      /* Soft Gold/Peach */
  --accent-gold: #D97706;       /* Warm Ochre Gold */
  --border-color: #E7E5E4;      /* Delicate Sand-grey */
  --card-bg: #FFFFFF;           /* Pure White for clean separation */
  
  /* Font Stacks */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout Consts */
  --container-width: 1000px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 {
  font-size: 2.8rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
}

h2 {
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* Links & Interactive Elements */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  font-weight: 500;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Navigation Header */
header {
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  background-color: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.5;
}

.hero-image-wrapper {
  margin-top: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.05);
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
  transition: transform 0.6s ease;
}

.hero img:hover {
  transform: scale(1.02);
}

/* Main Sections Grid */
section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .section-grid.reverse > div:first-child {
    order: 2;
  }
}

.section-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.04);
}

.section-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Curiosities / Quote highlight */
.highlight-box {
  background-color: var(--card-bg);
  border-left: 3px solid var(--accent-color);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.02);
}

.highlight-box p {
  margin-bottom: 0;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

/* Step by Step Section */
.step-container {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(28, 25, 23, 0.06);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Footer & Safe Practice Section */
footer {
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 5rem 0 3rem 0;
}

footer h2, footer h3 {
  color: var(--bg-color);
}

footer h2::after {
  background-color: var(--accent-light);
}

footer p {
  color: #A8A29E;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-intro {
  max-width: 450px;
}

.link-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.link-card {
  border: 1px solid #44403C;
  padding: 1.5rem;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.02);
  transition: background-color var(--transition-speed) ease;
}

.link-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.link-card a {
  color: var(--accent-light);
  font-size: 1.1rem;
}

.link-card a::after {
  background-color: var(--accent-light);
}

.therapists-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .therapists-list {
    grid-template-columns: 1fr;
  }
}

.therapist-item {
  color: #D6D3D1;
  font-size: 0.95rem;
}

.therapist-item a {
  color: #D6D3D1;
  font-weight: 400;
  display: inline-block;
  padding: 0.2rem 0;
}

.therapist-item a:hover {
  color: var(--accent-light);
}

.therapist-item a::after {
  background-color: var(--accent-light);
}

.copyright {
  text-align: center;
  border-top: 1px solid #292524;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #78716C;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}
