/* =====================================================
   Jenesis Peaks — Soft Lavender (Very Readable) Theme
   Single consistent layout across every page.
   ===================================================== */

:root{
  --bg1: #fbf7ff;          /* soft lavender */
  --bg2: #fffaf2;          /* warm cream */
  --card: #ffffff;
  --text: #120f1a;         /* near-black */
  --muted: rgba(18,15,26,.75);
  --line: rgba(18,15,26,.12);

  --accent: #7c3aed;       /* violet */
  --accent2:#f59e0b;       /* gold */
  --accent3:#2563eb;       /* blue */

  --radius: 18px;
  --shadow: 0 16px 40px rgba(18,15,26,.10);
  --shadow2: 0 10px 24px rgba(18,15,26,.08);
  --max: 1100px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(1200px 800px at 18% 10%, rgba(124,58,237,.14), transparent 55%),
    radial-gradient(900px 700px at 82% 14%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(900px 720px at 55% 95%, rgba(245,158,11,.10), transparent 60%),
    linear-gradient(180deg, var(--bg1) 0%, #ffffff 40%, var(--bg2) 100%);
}

a{ color: inherit; }
img{ max-width:100%; display:block; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* Layout */
.wrap{
  width:100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 18px;
}

.page{ padding-bottom: 10px; }

/* Top bar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid var(--line);
}
.topbar .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 6px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  font-weight: 800;
  letter-spacing:.2px;
}
.brand .dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(124,58,237,.10);
}

/* Nav */
.nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:flex-end;
}
.nav a{
  display:inline-block;
  text-decoration:none;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav a:hover{
  background: rgba(124,58,237,.08);
  border-color: rgba(124,58,237,.14);
  color: var(--text);
}
.nav a.active{
  color: var(--text);
  background: rgba(124,58,237,.10);
  border-color: rgba(124,58,237,.18);
}

/* Typography */
h1,h2,h3,h4{
  font-family: "Playfair Display", Georgia, serif;
  line-height:1.15;
  margin: 0 0 10px;
}
h1{ font-size: clamp(34px, 5vw, 56px); }
h2{ font-size: clamp(22px, 3vw, 32px); }
h3{ font-size: 20px; }
p{ margin: 0 0 14px; color: var(--muted); }
.lead{ font-size: 1.05rem; color: rgba(18,15,26,.82); }
.sub{ font-size: 1.05rem; }
.small{ font-size: .95rem; }
.muted{ color: var(--muted); }

/* Hero */
.hero{ padding: 10px 0 6px; }
.hero .wrap{ padding-top: 24px; padding-bottom: 12px; }

.hero-card{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124,58,237,.08);
  border:1px solid rgba(124,58,237,.16);
  color: rgba(18,15,26,.86);
  font-weight: 700;
  width: fit-content;
}
.quote{
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.18);
  color: rgba(18,15,26,.86);
}

/* Sections + cards */
.section{ padding: 12px 0; }
.card{
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.hr{
  height: 1px;
  background: var(--line);
  margin: 18px 0;
  border-radius: 999px;
}

/* Buttons */
.btns{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 14px;
  justify-content: center;
}
.btns.left{ justify-content:flex-start; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  text-decoration:none;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.98);
  box-shadow: 0 10px 24px rgba(18,15,26,.06);
  font-weight: 800;
  color: var(--text);
}
.btn:hover{ transform: translateY(-1px); }
.btn.primary{
  border-color: rgba(124,58,237,.28);
  background: linear-gradient(135deg, rgba(124,58,237,.95), rgba(124,58,237,.72));
  color:#fff;
}
.btn.secondary{
  background: rgba(255,255,255,.92);
}

/* Two column */
.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 860px){
  .topbar .inner{ flex-direction:column; align-items:flex-start; }
  .nav{ justify-content:flex-start; }
  .two-col{ grid-template-columns: 1fr; }
}

/* Embed */
.embed{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(18,15,26,.03);
}
.embed iframe{
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 860px){
  .grid{ grid-template-columns: 1fr; }
}

/* Icon cards */
.iconbox{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.iconbox img{
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: .22;
}

/* Forms */
label{
  display:block;
  margin: 0 0 6px;
  color: rgba(18,15,26,.86);
  font-weight: 800;
}
input, select, textarea{
  width:100%;
  background:#fff;
  color: var(--text);
  border:1px solid rgba(18,15,26,.18);
  border-radius: 12px;
  padding: 12px 12px;
  outline:none;
}
textarea{ min-height: 150px; resize: vertical; }
::placeholder{ color: rgba(18,15,26,.45); }
input:focus, select:focus, textarea:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.16);
}

/* Footer */
.footer{
  margin-top: 18px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
}
.footer .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
  color: rgba(18,15,26,.70);
  font-size: 14px;
}
.smalllinks{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.smalllinks a{
  color: rgba(18,15,26,.70);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
}
.smalllinks a:hover{
  background: rgba(124,58,237,.08);
  color: var(--text);
}
.hero-image-only {
  padding: 0;
  margin: 0;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.episodes {
  padding: 3rem 0;
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.episode-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
/* FIX NAV ALIGNMENT FOR ALL PAGES */
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

.header .nav {
  display: flex;
  align-items: center;
}

/* === JENESISSPEAKS.ORG CUSTOM FIXES (HERO + NAV) === */

/* Main hero (index + any .hero) - deep blue gradient */
.hero {
  background: linear-gradient(135deg, #3b5ba9, #1e3a78);
  color: white;
  padding: 120px 0;
  text-align: center;
}

/* Podcast hero - restore light/neutral background so it's not blue */
.hero-podcast {
  background: #f5f5f5;
  color: #222;
}

.hero-podcast .hero-card,
.hero-podcast .hero-card h1,
.hero-podcast .hero-card p,
.hero-podcast .hero-card .badge {
  color: #222;
}

/* Blog hero image – Size A (slightly smaller & centered) */
.hero-img,
.blog-hero-img {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  display: block;
}

/* HEADER & NAV LAYOUT FIXES */
/* Desktop: logo left, nav links right */
.header-row,
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo sizing */
.header .logo img,
.logo img {
  max-height: 56px;
  height: auto;
  width: auto;
}

/* Nav links in a row */
.nav a {
  display: inline-block;
  margin-left: 1.5rem;
}

/* Mobile behavior: stack and center */
@media (max-width: 768px) {
  .header-row,
  .header-flex {
    flex-direction: column;
    align-items: center;
  }

  .nav {
    text-align: center;
  }

  .nav a {
    margin: 0 0.75rem;
    display: inline-block;
  }
}
/* GLOBAL DARKER BLUE HERO BACKGROUND */
.hero,
.hero-contact,
.hero-split {
  background: linear-gradient(
    180deg,
    #0d1b4d 0%,
    #0a153d 100%
  );
  color: white;
}

.hero .hero-card,
.hero-split-copy {
  color: white;
}
/* TRUE NAVY-GRAY HERO BACKGROUND */
.hero,
.hero-contact,
.hero-split {
  background: linear-gradient(
    180deg,
    #1a2333 0%,   /* muted navy gray */
    #111827 100%  /* deeper navy charcoal */
  );
  color: white;
}

.hero .hero-card,
.hero-split-copy {
  color: white;
}
/* OPTION A — CHARCOAL NAVY HERO BACKGROUND */
.hero,
.hero-contact,
.hero-split {
  background: linear-gradient(
    180deg,
    #0f172a 0%,   /* charcoal navy */
    #0b1120 100%  /* deep midnight navy */
  );
  color: white;
}

.hero .hero-card,
.hero-split-copy {
  color: white;
}
/* UNIFY INDEX HERO WITH OPTION A NAVY */
.hero.home-hero,
.hero.index-hero,
section.hero {
  background: linear-gradient(
    180deg,
    #0f172a 0%,
    #0b1120 100%
  ) !important;
  color: white;
}
.coming-soon {
  display: inline-block;
  background: #d4b46f;   /* soft gold */
  color: #fff;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 6px;
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.episode-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin: 10px 0 14px;
}

.player-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #d4b46f; /* soft gold */
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: default; /* placeholder, not clickable yet */
}

.player-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player-title {
  font-size: 14px;
  font-weight: 600;
}

.player-progress {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.player-progress-bar {
  width: 20%;
  height: 100%;
  background: #d4b46f; /* same gold */
  opacity: 0.6;
}

.player-time {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
}