/*
Theme Name: Dr. Jana Price-Sharps
Theme URI: https://dr-jana.com
Author: Dr. Jana Price-Sharps
Description: Personal brand site for Dr. Jana Price-Sharps — psychologist, author, and coach.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: dr-jana
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  --purple:       #9867C5;
  --purple-dark:  #5C3591;
  --purple-deep:  #3B1F6B;
  --purple-light: #F0E8FA;
  --purple-mid:   #D4B5ED;
  --gold:         #C9963A;
  --gold-light:   #FAF3E6;
  --cream:        #FAFAF8;
  --warm-white:   #FFFFFF;
  --charcoal:     #2A2A2A;
  --muted:        #6B6878;
  --border:       #E2D9EF;
  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --max-w:        1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--purple-deep);
  line-height: 1.25;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 1.5rem; }
.section--alt { background: var(--purple-light); }
.section--dark { background: var(--purple-deep); color: rgba(255,255,255,0.85); }
.section--dark h2 { color: #fff; }

.label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.8rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: #a93226; color: #fff; }
.btn--navy { background: var(--purple-deep); color: #fff; }
.btn--navy:hover { background: var(--purple-dark); color: #fff; }
.btn--outline { background: transparent; border: 1.5px solid var(--purple-deep); color: var(--purple-deep); }
.btn--outline:hover { background: var(--purple-deep); color: #fff; }
.btn--outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--purple-deep);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.site-logo span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.site-logo:hover { color: #fff; }
.site-logo strong {
  font-weight: 700;
}
.site-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  
  border: 2px solid rgba(255,255,255,0.2);
  transition: opacity 0.2s;
}
.site-logo:hover .site-logo-img { opacity: 0.85; }

.site-nav { display: flex; gap: 0.2rem; align-items: center; flex-wrap: wrap; }
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.site-nav .nav-badge {
  font-size: 0.7rem;
  background: var(--gold);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  margin-left: 0.3rem;
  vertical-align: middle;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Hero ── */
.hero {
  background: var(--purple-deep);
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem 1.5rem;
}
.hero-content {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero-lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-wrap {
  flex: 0 0 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-photo {
  position: sticky;
  top: 90px;
}
.about-photo img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 16px 48px rgba(26,39,68,0.18);
}
.about-creds {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cred-pill {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--purple-light);
  color: var(--purple-deep);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  border-left: 3px solid var(--purple);
  text-transform: uppercase;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--muted); }
.about-text p strong { color: var(--charcoal); font-weight: 600; }

/* ── Podcast ── */
.podcast-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.podcast-text .section--dark & h2 { color: #fff; }
.podcast-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  line-height: 1;
}
.podcast-text h2 { color: #fff; margin-bottom: 1rem; }
.podcast-text p { color: rgba(255,255,255,0.72); margin-bottom: 1.8rem; }
.podcast-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.podcast-embed {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
}
.podcast-embed p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Book ── */
.book-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: center;
}
.book-cover {
  box-shadow: 0 20px 60px rgba(26,39,68,0.2), 0 6px 16px rgba(26,39,68,0.1);
  border-radius: 3px;
  transition: transform 0.3s;
}
.book-cover:hover { transform: translateY(-6px) rotate(1deg); }
.book-text h2 { margin-bottom: 1rem; }
.book-text p { color: var(--muted); margin-bottom: 1.2rem; }
.book-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-light);
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* ── Coaching Coming Soon ── */
.coming-soon-card {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--purple);
  border-radius: 3px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(26,39,68,0.08);
}
.coming-soon-card h2 { margin-bottom: 1rem; }
.coming-soon-card p { color: var(--muted); margin-bottom: 2rem; }
.email-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple-light);
  color: var(--purple-deep);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
}

/* ── Updates (blog) ── */
.updates-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.update-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.8rem;
  transition: box-shadow 0.2s;
}
.update-card:hover { box-shadow: 0 8px 28px rgba(26,39,68,0.1); }
.update-date { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.update-card h3 { margin-bottom: 0.7rem; }
.update-card h3 a { color: var(--purple-deep); }
.update-card h3 a:hover { color: var(--gold); }
.update-card p { color: var(--muted); font-size: 0.95rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: var(--purple); letter-spacing: 0.05em; }
.read-more:hover { color: var(--purple-deep); }

.updates-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* ── Footer ── */
.site-footer { background: var(--purple-deep); color: rgba(255,255,255,0.55); padding: 2.5rem 1.5rem; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-name { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 0.3rem; }
.footer-sub { font-size: 0.82rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; }
  .hero-image-wrap { flex: 0 0 auto; }
  .hero-image-wrap img { width: 100%; max-width: 340px; height: auto; }
  .about-grid,
  .book-wrap,
  .podcast-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { position: static; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

/* ── Hamburger Button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer Overlay ── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30, 10, 60, 0.55);
  z-index: 300;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.drawer-overlay.open {
  display: block;
  opacity: 1;
}

/* ── Drawer Panel ── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 300px;
  max-width: 85vw;
  background: var(--purple-deep);
  z-index: 400;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
}
.drawer.open { transform: translateX(0); }

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
  line-height: 1;
}
.drawer-close:hover { color: #fff; }

.drawer-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2.2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.drawer-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-top: 0.3rem;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.drawer-nav a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  padding: 0.75rem 0.8rem;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.drawer-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.drawer-contact {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
  transition: color 0.2s;
}
.drawer-contact:hover { color: rgba(255,255,255,0.8); }

/* ── Responsive: show hamburger, hide desktop nav ── */
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .site-nav   { display: none; }
}
