/* ============================================================
   TURNING TOWARD PSYCHOLOGY — styles.css
   ============================================================ */

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

:root {
  --cream:       #fdf8f2;
  --cream-mid:   #f7f0e6;
  --cream-dark:  #f0e6d0;
  --border:      #e8d9c4;
  --border-mid:  #c8b090;
  --amber:       #b07d3a;
  --amber-dark:  #7a4f1e;
  --amber-deep:  #633806;
  --brown:       #5a3e28;
  --brown-dark:  #2c2218;
  --muted:       #9a7a56;
  --font-sans:   'Georgia', serif; /* fallback — Google Fonts loaded in future */
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--brown-dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--amber); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--brown);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }

.nav-cta {
  background: var(--amber);
  color: var(--cream);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-dark); color: var(--cream); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--cream);
  border-bottom: 0.5px solid var(--border);
  padding: 1rem 2.5rem;
  gap: 1rem;
}
.nav-mobile a {
  text-decoration: none;
  color: var(--brown);
  font-size: 15px;
}
.nav-mobile-cta { color: var(--amber) !important; }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  align-items: center;
  padding: 3rem 2.5rem;
  gap: 3rem;
}

.hero-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--amber-dark);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 42px;
  font-weight: normal;
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 16px;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--amber);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--amber-dark); color: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--amber);
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid var(--amber);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--amber); color: var(--cream); }

.hero-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 420px;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  text-align: center;
  padding: 2rem 2.5rem 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.divider-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}
.divider-line hr {
  flex: 1;
  border: none;
  border-top: 0.5px solid var(--border);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 26px;
  font-weight: normal;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 15px;
  color: var(--brown);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-quote {
  background: var(--cream-mid);
  border-left: 3px solid var(--amber);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  font-size: 16px;
  font-style: italic;
  color: #4a3020;
  line-height: 1.7;
}
.about-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

/* ============================================================
   EPISODES
   ============================================================ */
.episodes {
  padding: 3rem 2.5rem;
  background: var(--cream-mid);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.75rem;
}
.section-header h2 {
  font-size: 24px;
  font-weight: normal;
  color: var(--brown-dark);
}
.section-header a {
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
}
.section-header a:hover { text-decoration: underline; }

.episodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ep-card {
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.ep-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
}

.ep-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.ep-body { padding: 1rem; }

.ep-date {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.ep-title {
  font-size: 14px;
  font-weight: bold;
  color: var(--brown-dark);
  line-height: 1.45;
  margin-bottom: 10px;
}

.ep-footer { display: flex; justify-content: flex-end; }

.ep-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ep-play svg {
  width: 10px;
  height: 10px;
  fill: var(--cream);
  margin-left: 2px;
}

.ep-loading {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 2rem;
  grid-column: 1 / -1;
}

/* ============================================================
   HOSTS
   ============================================================ */
.hosts { padding: 3rem 2.5rem; }

.hosts > h2 {
  font-size: 24px;
  font-weight: normal;
  color: var(--brown-dark);
  margin-bottom: 0.5rem;
}
.hosts > p {
  font-size: 15px;
  color: var(--brown);
  margin-bottom: 2rem;
}

.hosts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.host-card {
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.host-card-top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.host-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: var(--amber-dark);
  overflow: hidden;
}
.host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-info h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--brown-dark);
  margin-bottom: 2px;
}
.host-info .cred {
  font-size: 12px;
  color: var(--amber);
  margin-bottom: 8px;
}
.host-info p {
  font-size: 13px;
  color: var(--brown);
  line-height: 1.65;
}

.host-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.host-tag {
  background: var(--cream-dark);
  color: var(--amber-dark);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}

.host-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 0.5px solid var(--border);
  padding-top: 1rem;
  font-size: 13px;
  color: var(--amber);
  text-decoration: none;
  transition: color 0.2s;
}
.host-email:hover { color: var(--amber-dark); }
.host-email svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 1.5rem 2.5rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.footer a {
  color: var(--amber);
  text-decoration: none;
  margin-left: 1.5rem;
}
.footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE — TABLET (max 900px)
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
  .hero h1 { font-size: 32px; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 320px; }

  .about {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .episodes {
    padding: 2rem 1.5rem;
  }
  .episodes-grid { grid-template-columns: 1fr 1fr; }

  .hosts {
    padding: 2rem 1.5rem;
  }
  .hosts-grid { grid-template-columns: 1fr; }

  .nav { padding: 1rem 1.5rem; }
  .nav-mobile { padding: 1rem 1.5rem; }

  .footer {
    padding: 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .footer a { margin-left: 0.75rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .nav { padding: 0.75rem 1rem; }
  .nav-mobile { padding: 0.75rem 1rem; }
  .nav-logo img { height: 36px; }

  .hero { padding: 1.5rem 1rem; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
  .hero-image img { max-height: 260px; }

  .divider { padding: 1.5rem 1rem 0; }

  .about { padding: 1.5rem 1rem; }
  .about-text h2 { font-size: 22px; }

  .episodes { padding: 1.5rem 1rem; }
  .episodes-grid { grid-template-columns: 1fr; }

  .hosts { padding: 1.5rem 1rem; }
  .host-card-top { flex-direction: column; }
}
