/*
Theme Name: KindAspire Co
Description: Official theme for KindAspire Co — Kindness, Inspire, Grow, Confidence
Version: 1.0
Author: KindAspire Co
*/

:root {
  --terracotta: #C4724A;
  --terracotta-light: #DF9870;
  --sage: #4A6B3A;
  --sage-light: #6E9B60;
  --sky: #5A8FA8;
  --sky-light: #9AC0CF;
  --sand: #F5EBD8;
  --sand-deep: #EDD9BB;
  --warm-white: #FDFAF5;
  --golden: #E8B840;
  --text-dark: #3A3028;
  --text-mid: #6B5B4E;
  --text-light: #9C8B7E;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253, 250, 245, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 114, 74, 0.12);
}

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

.nav-logo img { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; }

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--text-dark);
}

.nav-logo-text .ks-terracotta { color: var(--terracotta); }

.nav-tagline {
  display: flex; align-items: center; gap: 16px;
  margin-left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px; font-weight: 300; font-style: italic;
  letter-spacing: 0.14em;
  opacity: 0.8;
  user-select: none;
}
.nav-tagline span:nth-child(1) { color: var(--terracotta); }
.nav-tagline span:nth-child(2) { color: var(--sage); }
.nav-tagline span:nth-child(3) { color: var(--terracotta); }
.nav-tagline span:nth-child(4) { color: var(--sage); }

.nav-links {
  display: flex; gap: 36px; list-style: none;
}

.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.08em;
  text-decoration: none; color: var(--text-mid);
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links .current-menu-item a { color: var(--terracotta); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(196,114,74,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(90,143,168,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(74,107,58,0.08) 0%, transparent 70%),
    var(--warm-white);
}

.hero-blob {
  position: absolute;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  opacity: 0.12;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--terracotta);
  top: -100px; right: -100px;
  animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-2 {
  width: 350px; height: 350px;
  background: var(--sky);
  bottom: 0; left: -80px;
  animation: blobFloat 10s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 250px; height: 250px;
  background: var(--sage);
  top: 40%; left: 60%;
  animation: blobFloat 12s ease-in-out infinite 2s;
}

@keyframes blobFloat {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; transform: translate(0, 0); }
  33% { border-radius: 40% 60% 30% 70% / 60% 40% 50% 50%; transform: translate(15px, -20px); }
  66% { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; transform: translate(-10px, 10px); }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; text-align: center;
}

.hero-eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 300; line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}

.hero-title em { font-style: italic; color: var(--terracotta); }

.hero-title .accent-word {
  position: relative; display: inline-block;
}
.hero-title .accent-word::after {
  content: '';
  position: absolute; bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--golden), var(--terracotta-light));
  border-radius: 2px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 17px; font-weight: 300; line-height: 1.75;
  color: var(--text-mid); max-width: 520px; margin: 0 auto 44px;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-light));
  color: white; border: none;
  padding: 14px 36px; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; cursor: pointer;
  box-shadow: 0 8px 24px rgba(196,114,74,0.3);
  transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(196,114,74,0.4); }

.btn-outline {
  background: transparent; color: var(--text-dark);
  border: 1.5px solid rgba(58,48,40,0.25);
  padding: 14px 36px; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 400;
  letter-spacing: 0.06em; cursor: pointer;
  transition: all 0.3s;
  text-decoration: none; display: inline-block;
}
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 1s 1.2s forwards;
}
.scroll-hint span {
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-light);
}
.scroll-dot {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--terracotta), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION SHARED ── */
.section-header { text-align: center; margin-bottom: 64px; }

.section-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); font-weight: 500; margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 58px); font-weight: 300;
  line-height: 1.15; color: var(--text-dark);
}
.section-title em { font-style: italic; color: var(--terracotta); }

/* ── PILLARS ── */
.pillars {
  padding: 100px 48px;
  background: var(--sand);
  position: relative;
}
.pillars::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta-light), transparent);
}

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

.pillar-card {
  background: var(--warm-white);
  padding: 48px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.4s;
}
.pillar-card:hover { transform: translateY(-6px); z-index: 2; }
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.pillar-card:nth-child(1)::before { background: var(--terracotta); }
.pillar-card:nth-child(2)::before { background: var(--sky); }
.pillar-card:nth-child(3)::before { background: var(--sage); }
.pillar-card:nth-child(4)::before { background: var(--golden); }

.pillar-icon { font-size: 36px; margin-bottom: 20px; display: block; }
.pillar-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 600;
  color: var(--text-dark); margin-bottom: 12px;
}
.pillar-desc { font-size: 14px; line-height: 1.7; color: var(--text-mid); font-weight: 300; }

/* ── QUOTE STRIPS ── */
.quote-strip {
  padding: 80px 48px;
  background: linear-gradient(135deg, #4A6B3A 0%, #8B4A2A 40%, #C4724A 100%);
  position: relative; overflow: hidden; text-align: center;
}
.quote-strip::before {
  content: '"';
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 400px; color: rgba(255,255,255,0.05);
  line-height: 1; pointer-events: none;
}
.quote-strip2 {
  padding: 80px 48px;
  background: linear-gradient(135deg, #C4724A 0%, #8B4A2A 60%, #4A6B3A 100%);
  position: relative; overflow: hidden; text-align: center;
}
.strip-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 52px); font-weight: 300;
  font-style: italic; color: white; line-height: 1.3;
  max-width: 800px; margin: 0 auto 20px; position: relative; z-index: 1;
}
.strip-attr {
  font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); position: relative; z-index: 1;
}

/* ── THEMES SECTION ── */
.themes-section {
  padding: 100px 48px;
  background: var(--warm-white);
}

/* ── MISSION ── */
.mission-section {
  background: var(--sand);
  padding: 100px 48px;
}
.mission {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.mission-visual { position: relative; }
.mission-img-wrap {
  border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  overflow: hidden; aspect-ratio: 1;
  background: linear-gradient(160deg, var(--sand-deep), var(--sand));
  display: flex; align-items: center; justify-content: center;
}
.mission-deco-ring {
  position: absolute; inset: -20px;
  border: 2px dashed rgba(196,114,74,0.2);
  border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.mission-text .section-label { text-align: left; display: block; }
.mission-text .section-title { text-align: left; margin-bottom: 24px; }
.mission-body {
  font-size: 16px; line-height: 1.85; color: var(--text-mid);
  font-weight: 300; margin-bottom: 20px;
}
.mission-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.tag {
  padding: 7px 18px; border-radius: 50px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  border: 1.5px solid;
}
.tag-terracotta { color: var(--terracotta); border-color: var(--terracotta); }
.tag-sage { color: var(--sage); border-color: var(--sage); }
.tag-sky { color: var(--sky); border-color: var(--sky); }

/* ── DAILY AFFIRMATION ── */
.affirmation {
  padding: 100px 48px;
  background: var(--sand);
  text-align: center;
}

.affirmation-card {
  max-width: 680px; margin: 0 auto;
  background: var(--warm-white);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 24px 80px rgba(58,48,40,0.08);
  position: relative; overflow: hidden;
}

.affirmation-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,114,74,0.05) 0%, rgba(90,143,168,0.05) 100%);
  pointer-events: none;
}

/* Inner wrapper that gets the background image */
.affirmation-inner {
  padding: 60px 60px;
  position: relative;
  border-radius: 24px;
  transition: background-image 0.4s;
  overflow: hidden;
}

/* Overlay for when background image is active */
.affirmation-inner.has-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(30, 20, 15, 0.50);
  border-radius: 24px;
  z-index: 0;
}

.affirmation-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 500; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; z-index: 1;
  transition: color 0.4s;
}
.affirmation-label::before, .affirmation-label::after {
  content: ''; flex: 1; max-width: 60px; height: 1px;
  background: var(--terracotta-light); opacity: 0.5;
  transition: background 0.4s;
}

.affirmation-inner.has-bg .affirmation-label { color: rgba(255,255,255,0.9); }
.affirmation-inner.has-bg .affirmation-label::before,
.affirmation-inner.has-bg .affirmation-label::after { background: rgba(255,255,255,0.4); }

.affirmation-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.5vw, 40px); font-weight: 300;
  font-style: italic; line-height: 1.4; color: var(--text-dark);
  margin-bottom: 32px; position: relative; z-index: 1;
  transition: color 0.4s;
}
.affirmation-inner.has-bg .affirmation-quote { color: white; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

#daily-quote-text { transition: opacity 0.4s; }

.affirmation-action {
  display: flex; justify-content: center; gap: 12px;
  position: relative; z-index: 1;
}

.btn-sm {
  padding: 10px 24px; border-radius: 50px;
  font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; cursor: pointer; border: none;
  transition: all 0.3s;
}
.btn-sm-primary { background: var(--terracotta); color: white; }
.btn-sm-primary:hover { background: var(--terracotta-light); }
.btn-sm-ghost {
  background: transparent; color: var(--text-mid);
  border: 1.5px solid rgba(58,48,40,0.2);
}
.btn-sm-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.affirmation-inner.has-bg .btn-sm-ghost {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
}
.affirmation-inner.has-bg .btn-sm-ghost:hover {
  border-color: white;
  color: white;
}

/* ── INSTAGRAM / NEWSLETTER ── */
.newsletter {
  padding: 80px 48px;
  background: var(--sage);
  text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.newsletter::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 300;
  color: white; margin-bottom: 14px; position: relative; z-index: 1;
}
.newsletter-sub {
  font-size: 15px; color: rgba(255,255,255,0.75);
  font-weight: 300; margin-bottom: 36px; position: relative; z-index: 1;
}

/* ── FOOTER ── */
footer {
  padding: 60px 48px 40px;
  background: var(--text-dark);
  color: rgba(255,255,255,0.5);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 48px; flex-wrap: wrap; gap: 40px;
}
.footer-brand .nav-logo-text { color: white; }
.footer-tagline {
  font-size: 13px; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,0.4); margin-top: 8px;
}
.footer-links-group h4 {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 16px; font-weight: 500;
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 10px; }
.footer-links-group a {
  font-size: 13px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s; font-weight: 300;
}
.footer-links-group a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-social { display: flex; gap: 16px; }
.social-dot {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.social-dot:hover { border-color: var(--terracotta-light); color: var(--terracotta-light); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  .hero { padding: 100px 24px 80px; }
  .pillars { padding: 70px 24px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: 1fr; gap: 40px; }
  .mission-visual { max-width: 300px; margin: 0 auto; }
  .themes-section { padding: 70px 24px; }
  .affirmation { padding: 70px 24px; }
  .affirmation-inner { padding: 40px 32px; }
  .newsletter { padding: 60px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 600px) {
  .pillars-grid { grid-template-columns: 1fr; }
}
