/*
Theme Name: Midlife Pause Clarity
Theme URI: https://midlifepauseclarity.com
Author: Midlife Pause Clarity
Description: Custom theme for Midlife Pause Clarity - Women's health channel for perimenopause and menopause
Version: 1.0
*/

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

:root {
  --teal: #1B6B7B;
  --teal-dark: #145A68;
  --teal-light: #E8F4F6;
  --blush: #C97B84;
  --blush-light: #F9EEF0;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --text-dark: #2C2C2C;
  --text-mid: #555555;
  --text-light: #888888;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1100px;
  --radius: 10px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAV ===== */
.site-header {
  background: var(--teal);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.site-logo-text {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.2;
}

.site-nav a {
  color: var(--white);
  margin-left: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-nav a:hover { opacity: 0.8; text-decoration: none; }

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blush) 100%);
  padding: 70px 24px 60px;
  text-align: center;
  color: var(--white);
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.6);
  object-fit: cover;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  max-width: 600px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--teal);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--teal-dark);
}

.btn-secondary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 64px 24px;
}

.section-alt {
  background: var(--off-white);
}

.section-teal-light {
  background: var(--teal-light);
}

.section-blush-light {
  background: var(--blush-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-mid);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ===== ABOUT SECTION ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-content .highlight {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

/* ===== TOPICS SECTION ===== */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.topic-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--teal);
  transition: transform 0.2s;
}

.topic-card:hover { transform: translateY(-4px); }

.topic-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.topic-card h3 {
  font-family: var(--font-heading);
  color: var(--teal);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.topic-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ===== OPT-IN / NEWSLETTER SECTION ===== */
.optin-section {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
}

.optin-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}

.optin-section p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.optin-embed {
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
}

.optin-embed input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 50px;
  border: none;
  font-size: 1rem;
  margin-bottom: 14px;
  outline: none;
}

.optin-embed button {
  width: 100%;
  padding: 14px;
  background: var(--blush);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.optin-embed button:hover { background: #b56870; }

.optin-note {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 12px;
}

/* ===== RESOURCES / AFFILIATE SECTION ===== */
.resources-section {
  padding: 64px 24px;
  background: var(--off-white);
}

.resources-section .resources-page-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blush) 100%);
  margin: -64px -24px 48px;
  padding: 56px 24px 48px;
  text-align: center;
  color: var(--white);
}

.resources-section .resources-page-header h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 14px;
}

.resources-section .resources-page-header p {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.resource-category {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.resource-category h3 {
  font-family: var(--font-heading);
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal-light);
}

.resource-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.resource-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.resource-item-text h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.resource-item-text p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.resource-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.resource-link:hover { text-decoration: underline; }

.disclosure-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 32px auto 0;
  font-style: italic;
}

/* ===== YOUTUBE SECTION ===== */
.youtube-section {
  padding: 64px 24px;
  text-align: center;
}

.youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FF0000;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  margin-top: 24px;
  transition: background 0.2s, transform 0.2s;
}

.youtube-btn:hover {
  background: #cc0000;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 24px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255,255,255,0.75);
  margin: 0 14px;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 12px;
}

/* ===== DISCLOSURE PAGE ===== */
.disclosure-page {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 24px;
}

.disclosure-page h1 {
  font-family: var(--font-heading);
  color: var(--teal);
  margin-bottom: 24px;
}

.disclosure-page p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.9rem; }
  .about-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
