/*
Theme Name:        Caroline Culverhouse — You Are The Facilitator
Theme URI:         https://www.carolineculverhouse.com
Description:       A child theme for Hello Elementor, designed for the You Are The Facilitator landing page by Caroline Culverhouse. Fully customizable via Elementor Pro.
Author:            Caroline Culverhouse
Author URI:        https://www.carolineculverhouse.com
Template:          hello-elementor
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       cc-yatf
Tags:              one-page, landing-page, elementor, wellness, retreat, facilitation

This child theme requires: Hello Elementor (parent theme) + Elementor Pro
*/

/* ============================================================
   DESIGN TOKENS — Edit these to retheme the entire site
   ============================================================ */

:root {
  --cream:       #F7F3EE;
  --sand:        #E8DDD0;
  --warm-brown:  #8B6F5E;
  --deep:        #2C2420;
  --ocean:       #4A7B8C;
  --ocean-light: #7FADBF;
  --gold:        #C4A882;
  --white:       #FDFCFB;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', 'Helvetica Neue', sans-serif;
}

/* ============================================================
   BASE RESET & BODY
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   GLOBAL TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
}

p {
  line-height: 1.8;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

em {
  font-style: italic;
}

/* ============================================================
   ELEMENTOR GLOBAL WIDGET OVERRIDES
   ============================================================ */

/* Make Elementor containers respect our cream background */
.elementor-section,
.e-con {
  background-color: var(--cream);
}

/* Heading widget defaults */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--deep);
}

/* Text editor defaults */
.elementor-widget-text-editor {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--deep);
}

/* Button widget defaults */
.elementor-widget-button .elementor-button {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
}

/* Divider widget */
.elementor-widget-divider .elementor-divider-separator {
  border-color: var(--gold);
}

/* Image widget */
.elementor-widget-image img {
  display: block;
  max-width: 100%;
}

/* ============================================================
   CUSTOM ELEMENTOR CLASSES
   Use these in Elementor's "CSS Classes" field per-element
   ============================================================ */

/* --- Eyebrow / Section Label --- */
.cc-eyebrow,
.cc-section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 20px;
}

/* --- Section Titles --- */
.cc-section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: 24px;
}

.cc-section-title em {
  font-style: italic;
  color: var(--warm-brown);
}

.cc-section-title-light {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 24px;
}

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

/* --- Hero Title --- */
.cc-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--deep);
  margin-bottom: 12px;
}

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

/* --- Hero Subtitle --- */
.cc-hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  font-style: italic;
  color: var(--warm-brown);
  margin-bottom: 36px;
  line-height: 1.4;
}

/* --- Body text variants --- */
.cc-body {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: #4a3a32;
}

.cc-body-sm {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: #6a5a52;
}

.cc-body-light {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(247, 243, 238, 0.7);
}

/* --- Italic quote / pull-quote --- */
.cc-pull-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--gold);
}

.cc-pull-quote-attr {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ocean-light);
}

/* --- Buttons --- */
.cc-btn-primary {
  display: inline-block;
  text-align: center;
  background: var(--ocean);
  color: #fff !important;
  padding: 18px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.3s ease;
  border: none;
}
.cc-btn-primary:hover {
  background: var(--deep);
  color: #fff !important;
}

.cc-btn-secondary {
  display: inline-block;
  text-align: center;
  border: 1px solid var(--warm-brown);
  color: var(--warm-brown) !important;
  padding: 17px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
}
.cc-btn-secondary:hover {
  background: var(--warm-brown);
  color: #fff !important;
}

.cc-btn-gold {
  display: inline-block;
  text-align: center;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
}
.cc-btn-gold:hover {
  background: var(--gold);
  color: var(--deep) !important;
}

.cc-btn-white {
  display: inline-block;
  text-align: center;
  background: #fff;
  color: var(--ocean) !important;
  padding: 18px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.cc-btn-white:hover {
  background: var(--deep);
  color: #fff !important;
}

.cc-btn-outline-white {
  display: inline-block;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  padding: 17px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.3s ease;
}
.cc-btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* --- Price Badge --- */
.cc-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  padding: 10px 20px;
  margin-bottom: 32px;
}

.cc-price-amount {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--deep);
}

.cc-price-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-brown);
  line-height: 1.3;
}

/* --- Section backgrounds --- */
.cc-bg-cream   { background: var(--cream)  !important; }
.cc-bg-sand    { background: var(--sand)   !important; }
.cc-bg-white   { background: var(--white)  !important; }
.cc-bg-deep    { background: var(--deep)   !important; }
.cc-bg-ocean   { background: var(--ocean)  !important; }

/* --- Credential / tag pills --- */
.cc-cred-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--warm-brown);
  padding: 6px 14px;
  border: 1px solid var(--gold);
}

/* --- Who-list (dash list) --- */
.cc-who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc-who-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #4a3a32;
}

.cc-who-list li::before {
  content: '—';
  color: var(--ocean);
  font-weight: 400;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Curriculum number items --- */
.cc-learn-item {
  background: var(--cream);
  padding: 40px 32px;
  transition: background 0.3s ease;
}

.cc-learn-item:hover {
  background: var(--white);
}

.cc-learn-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 16px;
}

.cc-learn-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 12px;
}

/* --- Format cards (pricing cards) --- */
.cc-format-card {
  border: 1px solid rgba(196, 168, 130, 0.3);
  padding: 48px 36px;
  transition: border-color 0.3s ease;
  color: var(--cream);
}

.cc-format-card:hover {
  border-color: var(--gold);
}

.cc-format-card-featured {
  border: 1px solid var(--gold);
  background: rgba(196, 168, 130, 0.07);
  padding: 48px 36px;
  color: var(--cream);
}

.cc-format-tag {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cc-format-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cc-format-price {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 28px;
}

.cc-format-price span {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(247, 243, 238, 0.5);
  letter-spacing: 2px;
}

.cc-format-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.cc-format-features li {
  font-size: 12px;
  font-weight: 300;
  color: rgba(247, 243, 238, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.cc-format-features li::before {
  content: '✦';
  color: var(--gold);
  font-size: 8px;
  flex-shrink: 0;
  margin-top: 4px;
}

/* --- Testimonial cards --- */
.cc-testimonial-card {
  background: var(--white);
  padding: 48px 44px;
}

.cc-testimonial-card-featured {
  background: var(--cream);
  padding: 64px;
}

.cc-quote-mark {
  font-family: var(--font-serif);
  font-size: 80px;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 24px;
  display: block;
  opacity: 0.6;
}

.cc-testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--deep);
  margin-bottom: 24px;
}

.cc-testimonial-text-lg {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--deep);
  margin-bottom: 24px;
}

.cc-testimonial-attr {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--warm-brown);
}

/* --- Stats row --- */
.cc-stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1;
}

.cc-stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-brown);
  margin-top: 6px;
}

/* --- Event row --- */
.cc-event-row {
  background: var(--white);
  padding: 36px 44px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 40px;
}

.cc-event-row:hover {
  background: var(--sand);
}

.cc-event-month {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ocean);
  display: block;
}

.cc-event-day {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--deep);
  line-height: 1;
}

.cc-event-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 6px;
}

.cc-event-details {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--warm-brown);
  letter-spacing: 1px;
}

.cc-event-cta {
  display: inline-block;
  border: 1px solid var(--ocean);
  color: var(--ocean) !important;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cc-event-cta:hover {
  background: var(--ocean);
  color: #fff !important;
}

/* --- Image frame (gold border offset) --- */
.cc-image-framed {
  position: relative;
  display: block;
}

.cc-image-framed::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--gold);
  z-index: 0;
  pointer-events: none;
}

.cc-image-framed img,
.cc-image-framed .elementor-image {
  position: relative;
  z-index: 1;
}

/* --- Divider / pull-quote band --- */
.cc-divider-band {
  background: var(--deep);
  text-align: center;
  padding: 60px 40px;
}

/* --- Final CTA band --- */
.cc-final-cta-band {
  background: var(--ocean);
  text-align: center;
  padding: 100px 40px;
}

/* --- Footer --- */
.cc-footer {
  background: var(--deep);
  color: rgba(247, 243, 238, 0.5);
  text-align: center;
  padding: 48px 40px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cc-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* --- Animation classes --- */
.cc-fade-up {
  animation: cc-fadeUp 1.2s ease forwards;
}

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

.cc-slow-zoom img {
  animation: cc-slowZoom 12s ease-out forwards;
}

@keyframes cc-slowZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

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

@media (max-width: 900px) {
  .cc-hero-title {
    font-size: clamp(40px, 10vw, 60px);
  }

  .cc-section-title,
  .cc-section-title-light {
    font-size: clamp(30px, 7vw, 44px);
  }

  .cc-event-row {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 28px 24px;
  }

  .cc-testimonial-card-featured {
    padding: 40px 28px;
  }

  .cc-image-framed::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .cc-format-card,
  .cc-format-card-featured {
    padding: 32px 24px;
  }

  .cc-btn-primary,
  .cc-btn-secondary,
  .cc-btn-white,
  .cc-btn-outline-white {
    padding: 15px 24px;
    font-size: 11px;
  }
}

/* ============================================================
   HELLO ELEMENTOR PARENT RESET OVERRIDES
   ============================================================ */

/* Remove Hello Elementor's default header/footer if using Elementor header */
.site-header,
.site-footer {
  display: none;
}

/* Full-width page canvas */
.page-template-elementor_canvas #page,
.elementor-page-type-canvas #page {
  max-width: 100%;
  padding: 0;
  margin: 0;
}
