/*
Theme Name: Michelle Smith Divorce Coach
Theme URI: https://example.com/
Author: Paul
Version: 1.0.0
License: GPL-2.0+
Text Domain: michelle-smith-divorce-coach
*/

html,
body {
  background: #000;
  color: #fff; /* keep text visible on black */
}

/* Global body font */
body {
  background-color: #000;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ========== HEADER & NAV ========== */

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: #000;
  backdrop-filter: saturate(140%) blur(6px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
}

/* Logo / brand */
.site-header__brand {
  display: inline-flex;
  align-items: center;
}

.site-header__logo-img {
  height: 34px;
  width: auto;
  display: block;
}

@media (min-width: 1200px) {
  .site-header__logo-img {
    height: 40px;
  }
}

/* Nav wrapper */
.site-nav {
  position: relative;
}

/* Base UL (no layout yet – layout is handled in media queries) */
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Base link styles */
.site-nav__list > li > a {
  text-decoration: none;
  color: #FF9BBF;            /* pink */
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.site-nav__list > li > a:hover,
.site-nav__list > li > a:focus {
  color: #FFFFFF;            /* white on hover/focus */
}

/* Active item */
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current_page_item > a,
.site-nav__list > li.current_page_ancestor > a {
  color: #FFFFFF;            /* white when active */
}

/* Mobile toggle button (hamburger) */
.site-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.site-nav__toggle-line {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

/* MOBILE NAV (default) */
@media (max-width: 899px) {
  .site-header__inner {
    justify-content: space-between;
  }

  /* hide menu by default on mobile */
  .site-nav__list {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  /* when nav has .is-open (toggled via JS), show it */
  .site-nav.is-open .site-nav__list {
    display: flex;
  }
}

/* DESKTOP NAV */
@media (min-width: 900px) {
  /* hide hamburger on desktop */
  .site-nav__toggle {
    display: none;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-nav__list {
    display: flex;
    gap: clamp(18px, 3vw, 42px);
    align-items: center;
    justify-content: center;
  }
}

/* ========== DIVORCE TALK LAYOUT & STYLES (UNCHANGED) ========== */

.divorce-talk-section {
  color: #fff;
  padding: 4rem 1.5rem;
}

.dt-container {
  max-width: 1100px;
  margin: 0 auto;
}

.dt-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: stretch;
}

/* Typography */
.dt-header {
  margin-bottom: 2.5rem;
}

.dt-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #ff9bbf;
  margin-bottom: 0.75rem;
}

.dt-header h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.dt-intro {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 42rem;
}

.dt-main {
  max-width: 700px;
}

.dt-block {
  margin-bottom: 2rem;
}

.dt-block h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.dt-block p {
  margin-bottom: 0.9rem;
  line-height: 1.7;
}

.dt-block ul {
  margin: 0 0 1.3rem 1.3rem;
  padding: 0;
}

.dt-block li {
  margin-bottom: 0.35rem;
}

/* Pills for the lessons list */
.dt-pill-list {
  list-style: none;
  margin-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dt-pill-list li {
  background: #151515;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  border: 1px solid #333;
}

/* Sidebar */
.dt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card styling */
.dt-card {
  background: #111;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #262626;
}

.dt-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.dt-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Global reusable card */
.dt-card {
  background: #111;
  border: 1px solid #262626;
  border-radius: 1.25rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.dt-card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.dt-card h2,
.dt-card h3 {
  margin-top: 0;
}

/* Buttons & links */
.dt-button {
  display: inline-block;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ff9bbf;
  color: #000;
}

.dt-button:hover {
  filter: brightness(1.05);
}

.dt-link {
  color: #ff9bbf;
  text-decoration: underline;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .dt-layout {
    grid-template-columns: 1fr;
  }

  .dt-sidebar {
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  .divorce-talk-section {
    padding: 3rem 1.25rem;
  }
}

/* Fade-in setup */
.dt-fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Fired when visible */
.dt-fade-in.is-visible {
  opacity: 1;
  transform: 0;
}

/* Accessibility: avoid motion for sensitive users */
@media (prefers-reduced-motion: reduce) {
  .dt-fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- MOBILE: center the hamburger below the logo --- */
@media (max-width: 899px) {

  /* Center the entire header contents vertically */
  .site-header__inner {
    flex-direction: column;     /* stack logo and hamburger */
    justify-content: center;    /* center them */
    align-items: center;        /* horizontal centering */
    gap: 0.75rem;               /* nice spacing */
  }

  /* Center the hamburger itself */
  .site-nav__toggle {
    margin: 0 auto;
  }

  /* Keep the menu list taking full width when open */
  .site-nav {
    width: 100%;
  }
}
