/* ================================
   MOONSPACE THERAPY – STYLE.CSS
================================ */

/* -------- RESET -------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f8f6;
  color: #1c1c1c;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* -------- TYPOGRAPHY -------- */

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #1c1c1c;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 25px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin-bottom: 35px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

p {
  max-width: 720px;
  margin: 0 auto 20px auto;
  color: #3a3a3a;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= HEADER ================= */

.site-header {
  background: #ffffff;
  padding: 20px;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.logo img {
  width: 24px;
}

.nav-links a {
  margin-left: 25px;
  font-size: 0.95rem;
  color: #444;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-cta {
  padding: 8px 16px;
  background: #1c1c1c;
  color: #ffffff !important;
  border-radius: 20px;
}

/* ================= SECTIONS ================= */

section {
  padding: 100px 20px;
}

.section-intro {
  max-width: 650px;
  margin: 0 auto 40px auto;
  color: #555;
  text-align: center;
}

/* ================= HERO ================= */

.hero {
  text-align: center;
  padding-top: 110px;
}

.hero-image {
  max-width: 820px;
  margin: 0 auto 35px auto;
  border-radius: 22px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  display: block;
  height: auto;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.primary-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 30px;
  background: #1c1c1c;
  color: white;
  border-radius: 30px;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.primary-cta:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ================= WHY SECTION ================= */

.why-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-text {
  max-width: 600px;
  margin: 0 auto;
}

.why-image img {
  width: 100%;
  border-radius: 22px;
}

/* ================= APPROACH ================= */

.approach-section {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

/* ================= EXPERIENCE ================= */

.experience-section {
  background: #ffffff;
  text-align: center;
}

.experience-grid {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.experience-card {
  padding: 35px;
  background: #f5f5f3;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.hint {
  font-size: 0.9rem;
  color: #777;
}

/* Breathing orb */

.orb-container {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

.orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #dcdcdc 0%, #c4c4c4 60%, #b0b0b0 100%);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.9); }
  50% { transform: scale(1.1); }
}

/* Myth card flip */

.myth-card {
  perspective: 1000px;
  cursor: pointer;
}

.myth-inner {
  position: relative;
  width: 100%;
  min-height: 120px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.myth-card.flipped .myth-inner {
  transform: rotateY(180deg);
}

.myth-front, .myth-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
}

.myth-back {
  transform: rotateY(180deg);
}

/* ================= THERAPIST ================= */

.therapist-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.therapist-image img {
  width: 100%;
  border-radius: 22px;
}

.therapist-content {
  max-width: 600px;
  margin: 0 auto;
}

/* ================= BLOGS ================= */

.blogs-section {
  background: #ffffff;
  text-align: center;
}

.blog-grid {
  max-width: 1100px;
  margin: 60px auto 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-card {
  text-align: left;
}

.blog-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 20px;
}

.blog-card a {
  font-weight: 500;
  color: #1c1c1c;
}

/* ================= FAQ ================= */

.faq-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 20px 0;
  text-align: left;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.faq-answer {
  display: none;
  margin-top: 12px;
  color: #555;
}

/* ================= BOOK ================= */

.book-section {
  text-align: center;
  background: #ffffff;
}

/* ================= FOOTER ================= */

.site-footer {
  text-align: center;
  padding: 60px 20px;
  background: #f2f2f0;
  font-size: 0.9rem;
  color: #666;
}

/* ================= ANIMATION ================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .why-container,
  .therapist-container {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 70px 20px;
  }

}
