/*
 * home.css
 * Dr. Aprilia West — Homepage Sections
 *
 * Covers sections below the hero that are
 * unique to the homepage:
 *   - Intro marquee strip
 *   - About / Meet Dr. West
 *   - Trust / Why Work With Me
 *   - Services
 *   - Books (featured preview)
 *   - Testimonials
 *   - Speaking / Media preview
 *
 * @package daw
 */

/* ─────────────────────────────────────────────
   ABOUT  (#about)
   ───────────────────────────────────────────── */
#about {
  background: var(--off-white);
  padding: 60px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  background: var(--black);
  overflow: hidden;
}

.about-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-decorative-border {
  position: absolute;
  top: -16px; left: -16px; right: 16px; bottom: 16px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.about-gold-tag {
  position: absolute;
  bottom: -20px; right: -20px;
  z-index: 2;
  background: var(--gold);
  padding: 20px 24px;
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.4;
}

.about-content {
  padding: 20px 0;
}

.about-content .section-headline {
  margin-bottom: 32px;
}

.about-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-credentials {
  margin: 40px 0;
  padding: 28px 32px;
  border-left: 2px solid var(--gold);
  background: rgba(184,150,90,0.04);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.6;
}

.credential-item:last-child {
  margin-bottom: 0;
}

.credential-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   TRUST / WHY  (#trust)
   ───────────────────────────────────────────── */
#trust {
  background: var(--black);
  padding: 60px var(--pad-x);
}

.trust-header {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
}

.trust-intro {
  font-size: 15px;
  font-weight: 300;
  color: rgba(245,242,236,0.5);
  line-height: 1.8;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(184,150,90,0.12);
}

.trust-card {
  background: var(--black);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.trust-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,150,90,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}

.trust-card:hover {
  background: #110f0a;
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(184,150,90,0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.trust-icon {
  display: none;
}

.trust-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.trust-title em {
  font-style: italic;
  color: var(--gold-light);
}

.trust-desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,242,236,0.5);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   SERVICES  (#services)
   ───────────────────────────────────────────── */
#services {
  background: var(--off-white);
  padding: 60px var(--pad-x);
}

.services-header {
  margin-bottom: 72px;
  max-width: 560px;
}

.services-header .section-headline {
  margin-bottom: 20px;
}

.services-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--warm-white);
  padding: 52px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
  text-decoration: none;
  display: block;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

.service-card:hover {
  background: var(--black);
}

.service-card:hover .service-title  { color: var(--off-white); }
.service-card:hover .service-desc   { color: rgba(245,242,236,0.55); }
.service-card:hover .service-icon-wrap { background: rgba(184,150,90,0.12); }
.service-card:hover::after          { transform: scaleX(1); }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,150,90,0.08);
  margin-bottom: 28px;
  transition: background 0.35s;
}

.service-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 14px;
  transition: color 0.35s;
}

.service-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.75;
  transition: color 0.35s;
}

/* ─────────────────────────────────────────────
   BOOKS PREVIEW  (#books)
   ───────────────────────────────────────────── */
#books {
  background: var(--off-white);
  padding: 60px var(--pad-x);
  position: relative;
  overflow: hidden;
}

.books-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(184,150,90,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.books-content {
  position: relative;
  z-index: 1;
}

.books-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  flex-wrap: wrap;
  gap: 24px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.book-card {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--border);
  transition: border-color 0.35s, transform 0.35s;
  text-decoration: none;
  display: block;
}

.book-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}

.book-card-cover {
  position: relative;
  overflow: hidden;
}

.book-card-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.book-info {
  padding: 28px 24px;
}

.book-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.book-card-role {
  font-family: var(--condensed);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.book-card-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS  (#testimonials)
   ───────────────────────────────────────────── */
#testimonials {
  background: var(--black);
  padding: 60px var(--pad-x);
}

#testimonials .section-label { color: rgba(184,150,90,0.7); }

#testimonials .section-headline {
  color: var(--off-white);
}

#testimonials .section-headline em {
  color: var(--gold-light);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 72px;
}

.testimonials-header .section-label {
  justify-content: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.testimonial-card {
  background: #100d09;
  padding: 40px 36px;
  position: relative;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 20px;
  display: block;
  opacity: 0.4;
}

.testimonial-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  color: rgba(245,242,236,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-author {
  font-family: var(--condensed);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.testimonial-role {
  font-family: var(--condensed);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.4);
  margin-top: 4px;
}

/* ─────────────────────────────────────────────
   SPEAKING PREVIEW  (#speaking)
   ───────────────────────────────────────────── */
#speaking {
  background: var(--black);
  padding: 60px var(--pad-x);
}

.speaking-header {
  margin-bottom: 72px;
}

.speaking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.media-card {
  background: #0f0d0a;
  border: 1px solid rgba(184,150,90,0.08);
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}

.media-card:hover {
  border-color: rgba(184,150,90,0.3);
  background: #141008;
}

.media-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(184,150,90,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-type {
  font-family: var(--condensed);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.media-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--off-white);
  line-height: 1.4;
  margin-bottom: 8px;
}

.media-source {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,242,236,0.4);
}

/* ─────────────────────────────────────────────
   CONNECT SECTION  (#connect — homepage)
   ───────────────────────────────────────────── */
#connect {
  background: var(--warm-white);
  padding: 60px var(--pad-x);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.connect-left .section-headline {
  margin-bottom: 24px;
}

.connect-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 48px;
}

.connect-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.connect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.connect-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(184,150,90,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.connect-item-label {
  font-family: var(--condensed);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.connect-item-value {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-mid);
}

/* ─────────────────────────────────────────────
   RESPONSIVE — HOME SECTIONS
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  #about,
  .connect-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 40px var(--pad-x-md);
  }

  #trust,
  #services,
  #books,
  #testimonials,
  #speaking,
  #connect {
    padding-left:  var(--pad-x-md);
    padding-right: var(--pad-x-md);
  }

  .trust-header      { grid-template-columns: 1fr; }
  .trust-grid        { grid-template-columns: repeat(2, 1fr); }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .books-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .speaking-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #about { padding: 32px var(--pad-x-sm); }

  .trust-grid,
  .services-grid,
  .books-grid { grid-template-columns: 1fr; }

  #trust,
  #services,
  #books,
  #testimonials,
  #speaking,
  #connect { padding: 32px var(--pad-x-sm); }

  .connect-grid { padding: 32px var(--pad-x-sm); }
}
