/*
Theme Name:   Lucy Thom Child
Description:  GeneratePress child theme for LucyThom.com — Ocean & Sky palette
Template:     generatepress
Version:      1.0.0
Author:       Built for Lucy Thom
*/

/* ============================================================
   PALETTE — Lucy Thom Ocean & Sky
   ============================================================
   Chart Navy    #0B2E45  — primary headings, nav, footer bg
   Deep Swell    #1A5C80  — CTA block bg, strong accents
   Open Water    #2E8CB5  — links, italic accent, hover states
   Horizon Light #7EC8DE  — dividers, icon strokes, highlights
   Sea Mist      #E2F3F8  — card tints, badge backgrounds
   Sail White    #F7F5F1  — body bg, hero bg (warm white)
   Sunrise Coral #D4654A  — primary CTA button ONLY
   Body Text     #2C3E4A  — readable dark blue-grey for body copy
   Muted Text    #5C7A8A  — captions, secondary copy
   ============================================================ */

:root {
  --lt-navy:        #0B2E45;
  --lt-swell:       #1A5C80;
  --lt-water:       #2E8CB5;
  --lt-horizon:     #7EC8DE;
  --lt-mist:        #E2F3F8;
  --lt-sail:        #F7F5F1;
  --lt-coral:       #D4654A;
  --lt-body:        #2C3E4A;
  --lt-muted:       #5C7A8A;
  --lt-border:      #C8E4EF;

  /* Typography scale */
  --lt-font-heading: 'Georgia', 'Times New Roman', serif;
  --lt-font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --lt-radius-sm:   4px;
  --lt-radius-md:   8px;
  --lt-radius-lg:   16px;
  --lt-radius-pill: 100px;
}

/* ============================================================
   GLOBAL BASE
   ============================================================ */

body {
  background-color: var(--lt-sail);
  color: var(--lt-body);
  font-family: var(--lt-font-body);
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lt-font-heading);
  color: var(--lt-navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--lt-body); margin-bottom: 1rem; }

a {
  color: var(--lt-water);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--lt-swell); }

/* Italic accent — used in hero headline */
em {
  color: var(--lt-water);
  font-style: italic;
}

strong { color: var(--lt-navy); }

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header,
.main-navigation {
  background-color: var(--lt-sail) !important;
  border-bottom: 1px solid var(--lt-border);
}

.main-navigation a {
  color: var(--lt-navy) !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  color: var(--lt-water) !important;
}

/* Active nav item underline */
.main-navigation .current-menu-item > a {
  border-bottom: 2px solid var(--lt-water);
  padding-bottom: 2px;
}

/* Site logo / name */
.site-title a,
.site-title {
  color: var(--lt-navy) !important;
  font-family: var(--lt-font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Mobile hamburger */
.menu-toggle {
  color: var(--lt-navy) !important;
  border-color: var(--lt-navy) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */

/* Primary CTA — Sunrise Coral — use sparingly */
.wp-block-button__link,
.button,
button[type="submit"],
.gp-button,
.elementor-button {
  background-color: var(--lt-coral) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--lt-radius-pill);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.wp-block-button__link:hover,
.button:hover,
button[type="submit"]:hover,
.gp-button:hover {
  background-color: #be5540 !important;
  transform: translateY(-1px);
}

/* Secondary / ghost button */
.button-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: var(--lt-navy) !important;
  border: 1.5px solid var(--lt-navy) !important;
  border-radius: var(--lt-radius-pill);
  padding: 13px 30px;
}

.button-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--lt-navy) !important;
  color: var(--lt-sail) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.lt-hero,
.hero-section,
section.elementor-section:first-of-type {
  background-color: var(--lt-sail);
  padding: clamp(60px, 8vw, 120px) 0;
}

.lt-hero h1 {
  color: var(--lt-navy);
}

.lt-hero h1 em {
  color: var(--lt-water);
  font-style: italic;
}

.lt-hero p.lead {
  color: var(--lt-muted);
  font-size: 1.0625rem;
  max-width: 480px;
}

/* ============================================================
   SECTION: TWO PATHS
   ============================================================ */

.lt-two-paths,
.section-two-paths {
  background-color: #fff;
  padding: clamp(60px, 6vw, 100px) 0;
}

.lt-two-paths h2 {
  text-align: center;
  color: var(--lt-navy);
  margin-bottom: 0.5rem;
}

/* Decorative underline beneath section heading */
.lt-section-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--lt-horizon);
  margin: 0.75rem auto 1.5rem;
  border: none;
}

.lt-two-paths .section-intro {
  text-align: center;
  color: var(--lt-muted);
  max-width: 500px;
  margin: 0 auto 3rem;
}

/* ============================================================
   CARDS — Physical Integrity / Relational Strategy
   ============================================================ */

.lt-card,
.gp-block-grid .wp-block,
.entry-card {
  background: #fff;
  border: 1px solid var(--lt-border);
  border-radius: var(--lt-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lt-card:hover {
  box-shadow: 0 8px 32px rgba(11, 46, 69, 0.08);
  transform: translateY(-3px);
}

.lt-card .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.lt-card .card-body {
  padding: 1.5rem;
}

/* Badge — e.g. "Biological Wellness" */
.lt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lt-mist);
  color: var(--lt-swell);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--lt-radius-pill);
  margin-bottom: 0.75rem;
}

.lt-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lt-water);
}

.lt-card h3 {
  color: var(--lt-navy);
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.lt-card p {
  color: var(--lt-muted);
  font-size: 0.9375rem;
}

/* Checklist items */
.lt-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.lt-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--lt-body);
  margin-bottom: 0.375rem;
}

.lt-checklist li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--lt-water);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232E8CB5' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
  margin-top: 2px;
}

/* Card explore link */
.lt-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--lt-water);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.2s ease;
}

.lt-card .card-link:hover {
  gap: 8px;
  color: var(--lt-swell);
}

/* ============================================================
   TESTIMONIAL SECTION
   ============================================================ */

.lt-testimonial {
  background-color: var(--lt-sail);
  padding: clamp(60px, 6vw, 100px) 0;
  position: relative;
}

.lt-testimonial blockquote {
  border-left: none;
  padding: 0;
  margin: 0;
  font-family: var(--lt-font-heading);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--lt-navy);
  line-height: 1.5;
  max-width: 640px;
}

.lt-testimonial cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--lt-muted);
  font-family: var(--lt-font-body);
}

/* Large decorative quote mark */
.lt-testimonial::after {
  content: '\201C';
  position: absolute;
  right: 5%;
  bottom: 10%;
  font-size: 14rem;
  line-height: 1;
  color: var(--lt-mist);
  font-family: Georgia, serif;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   CTA BANNER — "Commit to Resolution"
   ============================================================ */

.lt-cta-banner {
  background-color: var(--lt-swell);
  padding: clamp(60px, 6vw, 100px) 0;
  text-align: center;
  border-radius: var(--lt-radius-lg);
  margin: 0 auto;
  max-width: 840px;
}

.lt-cta-banner h2 {
  color: var(--lt-mist);
  margin-bottom: 0.75rem;
}

.lt-cta-banner p {
  color: var(--lt-horizon);
  margin-bottom: 2rem;
}

/* Primary CTA on dark bg */
.lt-cta-banner .button-primary {
  background-color: var(--lt-sail) !important;
  color: var(--lt-navy) !important;
  border: none;
  border-radius: var(--lt-radius-pill);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.lt-cta-banner .button-primary:hover {
  background-color: #fff !important;
}

/* Ghost button on dark bg */
.lt-cta-banner .button-secondary {
  background: transparent !important;
  color: var(--lt-mist) !important;
  border: 1.5px solid var(--lt-horizon) !important;
  border-radius: var(--lt-radius-pill);
  padding: 13px 30px;
}

.lt-cta-banner .button-secondary:hover {
  background: rgba(126, 200, 222, 0.15) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--lt-navy) !important;
  color: var(--lt-horizon) !important;
  padding: 60px 0 32px;
}

.site-footer a {
  color: var(--lt-horizon) !important;
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--lt-mist) !important;
}

.site-footer .footer-logo,
.site-footer .site-title {
  color: var(--lt-mist) !important;
  font-family: var(--lt-font-heading);
}

.site-footer .footer-tagline {
  color: var(--lt-water);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bar,
.site-footer .footer-bar {
  background-color: rgba(0,0,0,0.2) !important;
  color: var(--lt-muted) !important;
  font-size: 12px;
}

/* ============================================================
   UTILITIES
   ============================================================ */

/* Section wrappers */
.lt-section { padding: clamp(60px, 6vw, 100px) 0; }
.lt-section--light { background-color: var(--lt-sail); }
.lt-section--white { background-color: #fff; }
.lt-section--navy  { background-color: var(--lt-navy); }
.lt-section--mist  { background-color: var(--lt-mist); }

/* Container */
.lt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* Two column grid */
.lt-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Horizontal rule / wave divider */
.lt-wave-rule {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lt-horizon), transparent);
  margin: 3rem 0;
}

/* Focus accessibility */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lt-water);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .lt-grid-2 { grid-template-columns: 1fr; }
  .lt-cta-banner { border-radius: 0; }

  .lt-testimonial::after {
    font-size: 8rem;
    right: 2%;
    bottom: 2%;
  }
}
