/* ============================================
   AMPLIFY LIGHT — Global Styles
   ============================================ */

/* --- Color Variables & Base Setup --- */
:root {
  --purple: #6B3FA0;
  --purple-dark: #5A3488;
  --gold: #D4A843;
  --gold-text: #B8860B;
  --gold-light: #E8C96A;
  --ivory: #FAF7F2;
  --charcoal: #2D2D2D;
  --lavender: #E8DFF0;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background-color: var(--ivory);
  line-height: 1.75;
  letter-spacing: 0.3px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold-text);
}

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

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--purple);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 0 0 6px 6px;
  z-index: 2000;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* --- Focus Styles (Accessibility) --- */
*:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* --- Utility Classes --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  color: var(--purple);
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #3D3D3D;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
}

/* Placeholder content marker */
.placeholder-note {
  display: none; /* Hidden on the live site; visible in code as a comment */
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}

.btn-primary {
  background-color: var(--gold);
  color: var(--charcoal);
  padding: 16px 40px;
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.25);
}

.btn-primary:hover {
  background-color: var(--gold-light);
  color: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 168, 67, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background-color: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}


/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px var(--shadow);
  transition: background-color 0.3s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
}

.nav-logo:hover {
  color: var(--purple);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.4s ease;
}

.nav-links a:hover {
  color: var(--purple);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger menu button — hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  margin: 6px 0;
  transition: all 0.3s ease;
}


/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding-top: 140px; /* 72px for fixed header + generous breathing room */
  padding-bottom: 80px;
  min-height: auto;
  display: flex;
  align-items: center;
  /* Subtle lighthouse beam gradient from top-right */
  background:
    radial-gradient(ellipse at 85% 20%, rgba(212, 168, 67, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(107, 63, 160, 0.08) 0%, transparent 50%),
    var(--ivory);
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 16px;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-text h1 .accent {
  color: var(--gold-text);
}

.hero-text .tagline {
  font-size: 1.25rem;
  margin-bottom: 32px;
  color: #4A4A4A;
  max-width: 500px;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.hero-image {
  flex: 0 0 380px;
}

.hero-image img {
  border-radius: 12px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(212, 168, 67, 0.15);
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background-color: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.12);
}

.about-title {
  text-align: left;
}

.about-content {
  font-size: 1.1rem;
}

.about-content p {
  margin-bottom: 20px;
}

.about-content .highlight {
  color: var(--purple);
  font-weight: 700;
}

.about-links {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  opacity: 0.7;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* Angel wordmark — match the muted purple of other social links */
.angel-wordmark {
  height: 18px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(25%) sepia(50%) saturate(1500%) hue-rotate(250deg) brightness(80%);
}


/* ============================================
   FOR ORGANIZATIONS SECTION
   ============================================ */
.organizations {
  /* Mirrored version of the hero gradient — gold glow from the right */
  background:
    radial-gradient(ellipse at 15% 20%, rgba(107, 63, 160, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(212, 168, 67, 0.10) 0%, transparent 50%),
    var(--ivory);
}


/* ============================================
   SPEAKING SECTION
   ============================================ */
.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* When a speaking-grid has only one child, let it span full width */
.speaking-grid > :only-child {
  grid-column: 1 / -1;
}

.speaking-grid + .speaking-grid {
  padding-top: 48px;
  border-top: 1px solid rgba(107, 63, 160, 0.1);
}

.speaking-description h3 {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
  padding-left: 16px;
}

.speaking-description p {
  margin-bottom: 16px;
}

/* Workshop context line (subtitle under workshop headings) */
.workshop-context {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #8A6914;
  margin-bottom: 16px;
}

/* Takeaways list */
.takeaways {
  list-style: none;
  padding: 0;
}

.takeaways li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(107, 63, 160, 0.1);
}

.takeaways li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Space between takeaways list and CTA button */
.takeaways + .btn,
.takeaways ~ .btn {
  margin-top: 24px;
}


/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid rgba(107, 63, 160, 0.1);
}

.testimonial-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--shadow);
  border: 1px solid rgba(212, 168, 67, 0.15);
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 168, 67, 0.3);
  transform: translateY(-2px);
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-card p::after {
  content: '\201D';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  display: block;
  text-align: right;
  line-height: 0.5;
  margin-top: 8px;
  opacity: 0.3;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 24px;
}

.testimonial-card .attribution {
  font-weight: 700;
  font-style: normal;
  color: var(--purple);
  font-size: 0.9rem;
}


/* ============================================
   FOR LEADERS SECTION
   ============================================ */
.leaders {
  background-color: var(--lavender);
  padding: 100px 0;
  background-image:
    radial-gradient(circle at 2% 50%, rgba(212, 168, 67, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 98% 50%, rgba(107, 63, 160, 0.02) 0%, transparent 50%);
}

.leaders .speaking-grid {
  align-items: start;
}

.leaders .speaking-grid > div:last-child {
  display: flex;
  justify-content: center;
}

.leaders .speaking-grid > div:last-child img.post-image {
  max-height: 620px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  margin: 0;
  box-shadow: none;
}

/* Women's Haven Callout */
.haven-callout {
  margin-top: 80px;
  background: var(--white);
  border-radius: 16px;
  padding: 56px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--gold);
  border: 2px solid rgba(212, 168, 67, 0.2);
  border-top: 4px solid var(--gold);
}

.haven-callout h3 {
  font-size: 1.6rem;
  color: var(--purple);
  margin-bottom: 24px;
}

.haven-callout p {
  max-width: 650px;
  margin: 0 auto 24px auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.haven-callout .btn {
  margin-top: 12px;
}


/* ============================================
   SPARKS / BLOG PREVIEW SECTION
   ============================================ */
.reflections {
  background-color: var(--lavender);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid rgba(212, 168, 67, 0.1);
  transition: all 0.4s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 168, 67, 0.25);
}

.post-card-body {
  padding: 24px;
}

.post-card-body .post-date {
  font-size: 0.85rem;
  color: #6B4F8A;
  margin-bottom: 8px;
}

.post-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.post-card-body p {
  font-size: 0.95rem;
  color: #4A4A4A;
  margin-bottom: 16px;
}

.post-card-body .read-more {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.4s ease, color 0.4s ease;
}

.post-card-body .read-more:hover {
  color: var(--gold-text);
  gap: 10px;
}

.text-center {
  text-align: center;
}


/* ============================================
   CONTACT / BOOK SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form h3,
.contact-calendly h3 {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 24px;
}

/* Form styles */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--lavender);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.08);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Thank-you message after form submission */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thank-you-message {
  text-align: center;
  padding: 40px 24px;
  animation: fadeInUp 0.6s ease-out;
}

.thank-you-message h3 {
  font-size: 1.5rem;
  color: var(--purple);
  margin-bottom: 16px;
}

.thank-you-message p {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 12px auto;
}

.thank-you-message .thank-you-sign-off {
  margin-top: 24px;
}



/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: var(--purple-dark);
  color: var(--white);
  padding: 16px 0;
}

.footer-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 700;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.6);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-line a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-line a:hover {
  opacity: 1;
  color: var(--gold);
}


/* ============================================
   BLOG LISTING PAGE (blog.html)
   ============================================ */
.blog-header {
  padding-top: 120px;
  padding-bottom: 40px;
  text-align: center;
}

.blog-list {
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.blog-list-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--lavender);
}

.blog-list-item .post-date {
  font-size: 0.85rem;
  color: #6B4F8A;
}

.blog-list-item h2 {
  font-size: 1.4rem;
  margin: 8px 0 12px 0;
}

.blog-list-item h2 a {
  color: var(--charcoal);
}

.blog-list-item h2 a:hover {
  color: var(--purple);
}

.blog-list-item p {
  color: #4A4A4A;
  margin-bottom: 12px;
}


/* ============================================
   INDIVIDUAL BLOG POST PAGE
   ============================================ */
.post-header {
  padding-top: 120px;
  padding-bottom: 32px;
  text-align: center;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 12px;
}

.post-header .post-date {
  color: #6B4F8A;
}

.post-body {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 80px;
  font-size: 1.1rem;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body .post-image,
.post-image {
  border-radius: 12px;
  margin: 32px 0;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.12);
}

.post-body h2 {
  font-size: 1.6rem;
  color: var(--purple);
  margin: 40px 0 16px 0;
}

.post-body blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 32px 0;
  font-style: italic;
  color: var(--purple);
}

.back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 0.9rem;
}


/* ============================================
   RESPONSIVE — Tablet & Mobile
   ============================================ */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    flex: 0 0 auto;
    max-width: 350px;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-content {
    text-align: left;
  }

  .speaking-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-line {
    gap: 8px;
  }

  .leaders {
    padding: 80px 0;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  /* Mobile navigation */
  .nav-toggle {
    display: block;
    padding: 12px;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--ivory);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 4px 12px var(--shadow);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    display: block;
  }

  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  /* Touch-friendly font sizes */
  .section-subtitle {
    font-size: 1rem;
  }

  .post-date {
    font-size: 1rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .testimonial-card .attribution {
    font-size: 1rem;
  }

  .workshop-context {
    font-size: 1rem;
  }

  /* Touch-friendly social links */
  .social-link {
    font-size: 1rem;
    padding: 8px;
  }

  /* Touch-friendly read more links */
  .post-card-body .read-more {
    font-size: 1rem;
    padding: 8px 0;
    display: inline-block;
  }

  /* Full-width CTA buttons on mobile */
  .speaking-description .btn,
  .haven-callout .btn,
  .hero-text .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Footer readability */
  .footer-line {
    font-size: 1rem;
  }

  .footer-brand {
    font-size: 1rem;
  }

  .footer-tagline {
    font-size: 1rem;
  }

  .site-footer {
    padding: 24px 0;
  }

  /* Calendly widget sizing */
  .calendly-inline-widget {
    min-width: 100% !important;
    height: 600px !important;
  }

  .post-body {
    max-width: 600px;
  }

  .post-header {
    padding-top: 100px;
  }
}

/* Small phones */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .haven-callout {
    padding: 32px 24px;
  }

  .testimonial-card {
    padding: 24px;
  }
}
