/*
Theme Name: Avada Child — Global Collective Enterprise
Description: Child theme for Avada, styled to the Global Collective Enterprise identity. Palette derived directly from the GCE logo.
Author: Global Collective Enterprise
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/

/* ==========================================================================
   GCE PALETTE
   Every value below is sampled from the GLOBAL COLLECTIVE ENTERPRISE logo.
   Change a colour here and it updates everywhere on the site.
   ========================================================================== */

:root {
  /* Core brand — straight from the logo */
  --gce-teal:        #3C8494;  /* the large teal figure — primary brand colour */
  --gce-teal-deep:   #1D4E57;  /* the small dark figure — headings */
  --gce-ink:         #10333A;  /* deepest teal — dark sections, footer */
  --gce-coral:       #EE6967;  /* the large coral figure — calls to action */
  --gce-red:         #C33E3F;  /* the small red figure — coral hover state */
  --gce-gold:        #FECA6C;  /* the large gold figure — warm highlights */
  --gce-orange:      #F6861F;  /* the small orange figure — gold hover state */

  /* Neutrals — cool-tinted so they sit correctly against the teal */
  --gce-white:       #FFFFFF;
  --gce-mist:        #F4F8F8;  /* alternating section background */
  --gce-border:      #DCE6E7;
  --gce-slate:       #5C7076;  /* secondary body text */
  --gce-body:        #2C4147;  /* primary body text */

  /* Type scale */
  --gce-display: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gce-body-font: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   GLOBAL TYPE
   ========================================================================== */

body,
.fusion-body {
  color: var(--gce-body);
}

h1, h2, h3, h4, h5, h6,
.fusion-title h1, .fusion-title h2, .fusion-title h3,
.fusion-title h4, .fusion-title h5, .fusion-title h6 {
  color: var(--gce-teal-deep);
  letter-spacing: -0.015em;
}

h1, .fusion-title h1 { font-weight: 700; line-height: 1.12; }
h2, .fusion-title h2 { font-weight: 700; line-height: 1.2; }

/* Emphasised words inside headings pick up the coral — used in the hero */
h1 em, h2 em, .fusion-title h1 em, .fusion-title h2 em {
  color: var(--gce-coral);
  font-style: normal;
}

a { color: var(--gce-teal); }
a:hover, a:focus { color: var(--gce-teal-deep); }

/* Visible keyboard focus everywhere — Avada's default is too faint */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.fusion-button:focus-visible {
  outline: 3px solid var(--gce-gold);
  outline-offset: 2px;
}

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

.fusion-button.button-default,
.fusion-button.button-flat.button-default {
  background: var(--gce-coral);
  border-color: var(--gce-coral);
  color: var(--gce-white);
  font-family: var(--gce-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.fusion-button.button-default:hover,
.fusion-button.button-flat.button-default:hover {
  background: var(--gce-red);
  border-color: var(--gce-red);
  color: var(--gce-white);
  transform: translateY(-1px);
}

/* Secondary / outline button */
.fusion-button.gce-btn-outline,
.fusion-button.button-default.gce-btn-outline {
  background: transparent;
  border: 2px solid var(--gce-teal);
  color: var(--gce-teal);
}

.fusion-button.gce-btn-outline:hover {
  background: var(--gce-teal);
  border-color: var(--gce-teal);
  color: var(--gce-white);
}

/* Outline button sitting on a dark section */
.gce-dark .fusion-button.gce-btn-outline,
.gce-dark .fusion-button.button-default.gce-btn-outline {
  border-color: rgba(255,255,255,.55);
  color: var(--gce-white);
}

.gce-dark .fusion-button.gce-btn-outline:hover {
  background: var(--gce-white);
  border-color: var(--gce-white);
  color: var(--gce-teal-deep);
}

@media (prefers-reduced-motion: reduce) {
  .fusion-button { transition: none; }
  .fusion-button:hover { transform: none; }
}

/* ==========================================================================
   DARK SECTIONS
   Add the class "gce-dark" to any Avada container to invert it.
   ========================================================================== */

.gce-dark,
.gce-dark p,
.gce-dark li {
  color: rgba(255,255,255,.86);
}

.gce-dark h1, .gce-dark h2, .gce-dark h3,
.gce-dark h4, .gce-dark h5, .gce-dark h6 {
  color: var(--gce-white);
}

.gce-dark a { color: var(--gce-gold); }
.gce-dark a:hover { color: var(--gce-white); }
.gce-dark .gce-eyebrow { color: var(--gce-gold); }
.gce-dark .gce-eyebrow::before { background: var(--gce-gold); }

/* ==========================================================================
   EYEBROW LABEL
   The small uppercase label above each section heading.
   ========================================================================== */

.gce-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--gce-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gce-teal);
  margin: 0 0 .9rem;
}

.gce-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gce-teal);
}

.gce-eyebrow.is-centred { justify-content: center; }

/* ==========================================================================
   LEAD PARAGRAPH
   ========================================================================== */

.gce-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--gce-slate);
  max-width: 46em;
}

/* ==========================================================================
   STAT BLOCK
   The four figures in the hero band: 50/50, $0, ∞, Australia.
   ========================================================================== */

.gce-stat {
  padding: 1.4rem 0;
}

.gce-stat .gce-stat-figure {
  display: block;
  font-family: var(--gce-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gce-gold);
  margin-bottom: .5rem;
}

.gce-stat .gce-stat-label {
  display: block;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255,255,255,.78);
}

/* ==========================================================================
   PILLAR CARD
   Equality / Justice / Wellbeing / Environment.
   Each card carries its own logo colour on the top rule.
   ========================================================================== */

.gce-card {
  background: var(--gce-white);
  border: 1px solid var(--gce-border);
  border-top: 4px solid var(--gce-teal);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}

.gce-card:hover {
  box-shadow: 0 10px 30px rgba(16,51,58,.09);
  transform: translateY(-3px);
}

.gce-card h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.3rem;
}

.gce-card p {
  color: var(--gce-slate);
  margin-bottom: 0;
}

.gce-card .gce-card-icon {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

/* Per-card accents, in logo order */
.gce-card--teal   { border-top-color: var(--gce-teal); }
.gce-card--coral  { border-top-color: var(--gce-coral); }
.gce-card--gold   { border-top-color: var(--gce-gold); }
.gce-card--orange { border-top-color: var(--gce-orange); }

@media (prefers-reduced-motion: reduce) {
  .gce-card { transition: none; }
  .gce-card:hover { transform: none; }
}

/* ==========================================================================
   NUMBERED STEP
   The four-step model. Numbering is used here because the steps genuinely
   run in sequence — raise, acquire, generate, split.
   ========================================================================== */

.gce-step {
  position: relative;
  padding-left: 4.2rem;
  min-height: 3.2rem;
}

.gce-step .gce-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gce-teal);
  color: var(--gce-white);
  font-family: var(--gce-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.gce-step h3 { margin: .35rem 0 .5rem; font-size: 1.2rem; }
.gce-step p { color: var(--gce-slate); margin-bottom: 0; }

.gce-step--2 .gce-step-number { background: var(--gce-coral); }
.gce-step--3 .gce-step-number { background: var(--gce-gold); color: var(--gce-teal-deep); }
.gce-step--4 .gce-step-number { background: var(--gce-teal-deep); }

/* ==========================================================================
   THE 50/50 SPLIT PANEL — the signature element
   ========================================================================== */

.gce-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--gce-border);
}

.gce-split-half {
  flex: 1 1 320px;
  padding: 2.6rem 2rem;
}

.gce-split-half--social { background: var(--gce-teal); color: var(--gce-white); }
.gce-split-half--growth { background: var(--gce-teal-deep); color: var(--gce-white); }

.gce-split-half h3 {
  color: var(--gce-white);
  margin: .4rem 0 .8rem;
  font-size: 1.35rem;
}

.gce-split-half p {
  color: rgba(255,255,255,.85);
  margin-bottom: 0;
}

.gce-split-figure {
  display: block;
  font-family: var(--gce-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gce-gold);
}

.gce-split-note {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gce-gold);
  background: var(--gce-mist);
  font-size: .98rem;
  color: var(--gce-slate);
}

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */

.gce-quote {
  border: 0;
  border-left: 4px solid var(--gce-coral);
  margin: 2rem 0;
  padding: .4rem 0 .4rem 1.8rem;
  background: none;
}

.gce-quote p {
  font-family: var(--gce-display);
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: var(--gce-teal-deep);
  margin-bottom: .7rem;
}

.gce-quote cite {
  display: block;
  font-style: normal;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gce-slate);
}

.gce-dark .gce-quote { border-left-color: var(--gce-gold); }
.gce-dark .gce-quote p { color: var(--gce-white); }
.gce-dark .gce-quote cite { color: rgba(255,255,255,.7); }

/* ==========================================================================
   PHASE LIST — how the GCE grows
   ========================================================================== */

.gce-phase {
  position: relative;
  padding: 0 0 1.8rem 2rem;
  border-left: 2px solid var(--gce-border);
}

.gce-phase:last-child { border-left-color: transparent; padding-bottom: 0; }

.gce-phase::before {
  content: "";
  position: absolute;
  left: -8px;
  top: .35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gce-gold);
  border: 3px solid var(--gce-white);
  box-shadow: 0 0 0 2px var(--gce-gold);
}

.gce-phase h4 {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
  color: var(--gce-teal-deep);
}

.gce-phase p { color: var(--gce-slate); margin-bottom: 0; }

/* ==========================================================================
   AUDIENCE LIST — who we're looking for
   ========================================================================== */

.gce-audience {
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--gce-border);
}

.gce-audience:last-child { border-bottom: 0; }

.gce-audience h4 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  color: var(--gce-teal-deep);
}

.gce-audience p { color: var(--gce-slate); margin-bottom: 0; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.fusion-form-form-wrapper input[type="text"],
.fusion-form-form-wrapper input[type="email"],
.fusion-form-form-wrapper select,
.fusion-form-form-wrapper textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  border: 1px solid var(--gce-border);
  border-radius: 3px;
  padding: .8rem 1rem;
  color: var(--gce-body);
}

.fusion-form-form-wrapper input:focus,
.fusion-form-form-wrapper select:focus,
.fusion-form-form-wrapper textarea:focus {
  border-color: var(--gce-teal);
  box-shadow: 0 0 0 3px rgba(60,132,148,.15);
}

/* ==========================================================================
   HEADER & FOOTER
   ========================================================================== */

.fusion-header-wrapper .fusion-main-menu > ul > li > a {
  color: var(--gce-teal-deep);
  font-family: var(--gce-display);
  font-weight: 500;
}

.fusion-header-wrapper .fusion-main-menu > ul > li > a:hover,
.fusion-main-menu .current-menu-item > a {
  color: var(--gce-coral);
}

.fusion-footer-widget-area {
  background: var(--gce-ink);
  color: rgba(255,255,255,.78);
}

.fusion-footer-widget-area h3,
.fusion-footer-widget-area h4,
.fusion-footer-widget-area .widget-title {
  color: var(--gce-white);
}

.fusion-footer-widget-area a { color: rgba(255,255,255,.78); }
.fusion-footer-widget-area a:hover { color: var(--gce-gold); }

.fusion-footer-copyright-area {
  background: #0A2429;
  color: rgba(255,255,255,.6);
}

/* ==========================================================================
   SMALL SCREENS
   ========================================================================== */

@media (max-width: 640px) {
  .gce-step { padding-left: 0; }
  .gce-step .gce-step-number { position: static; margin-bottom: .9rem; }
  .gce-split-half { padding: 2rem 1.4rem; }
  .gce-lead { font-size: 1.08rem; }
}
