/*
Theme Name: Joe Oppenheimer
Theme URI: https://joeoppenheimer.com
Description: Joe Oppenheimer — Men's Dating & Relationship Coach
Version: 4.0
Author: Joe Oppenheimer
*/

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

:root {
  --bg-deep:   #080C14;
  --bg-navy:   #0D1625;
  --bg-card:   #111E33;
  --maroon:    #8B1A2E;
  --maroon-lt: #A6203A;
  --blue-mid:  #1A3358;
  --text-1:    #EEE9E3;
  --text-2:    #8D9AB3;
  --text-3:    #4A5568;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg-deep);
  color: var(--text-1);
  line-height: 1.6;
}

/* ─── Typography ───────────────────────────────────────────────────────────── */
.font-serif { font-family: var(--serif); }
.font-sans  { font-family: var(--sans); }

/* ─── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.fade-up-1 { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.fade-up-2 { animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both; }

/* ─── Layout Helpers ───────────────────────────────────────────────────────── */
.container {
  max-width: 960px;
  margin: 0 auto;
}
.container-md {
  max-width: 760px;
  margin: 0 auto;
}
.container-wide {
  max-width: 1152px;
  margin: 0 auto;
}

/* ─── Nav ──────────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139,26,46,0.18);
}
.nav-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-1);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--maroon-lt); }

/* ─── Section Labels ───────────────────────────────────────────────────────── */
.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}

/* ─── Divider ──────────────────────────────────────────────────────────────── */
.maroon-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0;
}
.maroon-divider::before,
.maroon-divider::after {
  content: '';
  flex: 1;
  height: 1px;
}
.maroon-divider::before { background: linear-gradient(to right, transparent, var(--maroon)); }
.maroon-divider::after  { background: linear-gradient(to left, transparent, var(--maroon)); }
.maroon-divider span {
  color: var(--maroon);
  font-size: 8px;
  letter-spacing: 0.3em;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--maroon);
  color: var(--text-1);
  padding: 1rem 2.5rem;
  border: none;
}
.btn-primary:hover {
  background: var(--maroon-lt);
  transform: translateY(-1px);
  color: var(--text-1);
}
.btn-outline {
  border: 1px solid var(--maroon);
  color: var(--maroon);
  padding: 1rem 2.2rem;
  background: transparent;
}
.btn-outline:hover {
  background: var(--maroon);
  color: var(--text-1);
}
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── Hero ─────────────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2.5rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -65%);
  width: 900px; height: 900px;
  background: radial-gradient(ellipse, rgba(139,26,46,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 5rem;
  align-items: center;
  position: relative;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-1);
  margin-bottom: 1.75rem;
}
.hero-title .accent { color: var(--maroon); }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.85;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.as-seen-in {
  margin-bottom: 2rem;
}
.as-seen-in-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.75rem;
}
.as-seen-in a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.as-seen-in a:hover { color: var(--maroon); }
.hero-cta { margin-bottom: 3.5rem; }
.hero-photo { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(139,26,46,0.2);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 60px rgba(139,26,46,0.06);
}
.hero-photo-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(8,12,20,0.6), transparent);
}
.hero-accent-line {
  position: absolute;
  top: 2rem; left: -1.5rem;
  width: 3px; height: 60px;
  background: var(--maroon);
  border-radius: 2px;
}
.scroll-cue {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--maroon), transparent);
}

/* ─── Sections ─────────────────────────────────────────────────────────────── */
.section {
  padding: 7rem 2.5rem;
  border-top: 1px solid rgba(139,26,46,0.15);
}
.section-navy  { background: var(--bg-navy); }
.section-deep  { background: var(--bg-deep); }
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-1);
  margin-bottom: 1.5rem;
}
.section-title .accent { color: var(--maroon); }
.section-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-2);
  margin-bottom: 1.5rem;
}

/* ─── Coaching Grid ────────────────────────────────────────────────────────── */
.coaching-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}
.coaching-photo {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(139,26,46,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.coaching-photo img {
  width: 100%; height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ─── Pillars Grid ─────────────────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(26,51,88,0.6);
  border-radius: 6px;
  padding: 1.5rem;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.6rem;
}
.pillar-body {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-2);
}

/* ─── Testimonials ─────────────────────────────────────────────────────────── */
.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(139,26,46,0.2);
  border-left: 3px solid var(--maroon);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.testimonial-quote {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-2);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(139,26,46,0.35);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─── Included Box ─────────────────────────────────────────────────────────── */
.included-box {
  background: var(--bg-card);
  border: 1px solid rgba(139,26,46,0.2);
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2.5rem;
}
.included-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 1.25rem;
}
.included-list {
  list-style: none;
  padding: 0; margin: 0;
}
.included-list li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-2);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.included-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--maroon);
}

/* ─── Podcast ──────────────────────────────────────────────────────────────── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(139,26,46,0.2);
  margin-bottom: 2rem;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.episode-card {
  background: var(--bg-card);
  border: 1px solid rgba(139,26,46,0.2);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.episode-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--maroon);
}
.episode-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.35;
}
.episode-body {
  font-size: 0.93rem;
  line-height: 1.8;
  color: var(--text-2);
}
.episode-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
}
.episode-link:hover { color: var(--maroon-lt); }

/* ─── Music Links ──────────────────────────────────────────────────────────── */
.music-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.music-link {
  display: inline-block;
  border: 1px solid rgba(139,26,46,0.4);
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.music-link:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--bg-navy);
  border-top: 1px solid rgba(139,26,46,0.15);
  padding: 3.5rem 2.5rem;
  text-align: center;
}
.footer-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-1);
  margin-bottom: 0.4rem;
}
.footer-role {
  font-size: 0.7rem;
  color: var(--maroon);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--maroon); }
.footer-copy {
  font-size: 0.68rem;
  color: #374151;
  letter-spacing: 0.06em;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-photo { order: -1; }
  .hero-photo-frame img { height: 380px; }
  .hero-accent-line { display: none; }
  .coaching-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .nav-links { gap: 1.5rem; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  #hero { padding: 6rem 1.5rem 4rem; }
  .section { padding: 5rem 1.5rem; }
}
