/*
Theme Name: Elevate Interactive
Theme URI: https://elevateinteractive.com
Author: Elevate Interactive
Author URI: https://elevateinteractive.com
Description: A custom WordPress theme for Elevate Interactive — team building, leadership development, and interactive event experiences. Built from the Elevate Interactive brand flyer: warm cream backgrounds, deep teal &amp; signature green, and bold rounded typography.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elevate-interactive
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   0. CSS RESET / BASE
   ========================================================= */
:root{
  --eo-cream:        #F7F7F2;
  --eo-cream-alt:     #EEEDE2;
  --eo-cream-deep:    #E7E5D6;
  --eo-dark:          #063B43;
  --eo-dark-soft:     #0B4B54;
  --eo-green:         #10BB82;
  --eo-green-deep:    #2F7E64;
  --eo-green-pale:    #CDECDD;
  --eo-blue:          #3A86D9;
  --eo-red:           #D23838;
  --eo-orange:        #CF7E3E;
  --eo-white:         #FFFFFF;
  --eo-ink:           #1D2B28;
  --eo-radius-lg:     28px;
  --eo-radius-md:     18px;
  --eo-radius-sm:     10px;
  --eo-shadow:        0 18px 40px -12px rgba(6,59,67,0.18);
  --eo-shadow-sm:     0 8px 20px -8px rgba(6,59,67,0.16);
  --eo-container:     1200px;
  --font-head:        'Poppins', 'Segoe UI', sans-serif;
  --font-body:        'Inter', 'Segoe UI', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--eo-ink);
  background: var(--eo-cream);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--eo-green-deep); text-decoration:none; transition: color .18s ease; }
a:hover{ color: var(--eo-green); }
h1,h2,h3,h4,h5{
  font-family: var(--font-head);
  color: var(--eo-dark);
  line-height:1.15;
  margin:0 0 .5em;
  font-weight:700;
}
h1{ font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: clamp(1.25rem, 2vw, 1.6rem); }
p{ margin:0 0 1.1em; }
ul{ margin:0 0 1.1em; padding-left:1.2em; }
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); overflow:hidden; height:1px; width:1px; word-wrap:normal; }
button, .btn, input[type="submit"]{ font-family: var(--font-body); cursor:pointer; }

.container{
  max-width: var(--eo-container);
  margin:0 auto;
  padding:0 24px;
}
.section{ padding: 88px 0; position:relative; }
.section--tight{ padding: 56px 0; }
.section--dark{ background: var(--eo-dark); color: rgba(255,255,255,.92); }
.section--dark h2, .section--dark h3{ color:#fff; }
.section--dark p{ color: rgba(255,255,255,.78); }
.section--alt{ background: var(--eo-cream-alt); }
.section--green{ background: linear-gradient(135deg, var(--eo-green-deep), var(--eo-dark)); color:#fff; }
.section--green h2{ color:#fff; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; font-size:.8rem; color: var(--eo-green-deep);
  background: var(--eo-green-pale); padding:6px 16px; border-radius:999px;
  margin-bottom:18px;
}
.section--dark .eyebrow, .section--green .eyebrow{ background: rgba(255,255,255,.14); color:#fff; }

.section-head{ max-width:720px; margin:0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-weight:700; font-family: var(--font-head); font-size:.98rem;
  padding:15px 30px; border-radius:999px; border:2px solid transparent;
  transition: all .2s ease; white-space:nowrap;
}
.btn-primary{ background: var(--eo-green); color:#fff; box-shadow: var(--eo-shadow-sm); }
.btn-primary:hover{ background: var(--eo-green-deep); color:#fff; transform: translateY(-2px); }
.btn-outline{ background:transparent; border-color: currentColor; color:inherit; }
.btn-outline:hover{ background: rgba(255,255,255,.12); color:inherit; }
.btn-dark{ background: var(--eo-dark); color:#fff; }
.btn-dark:hover{ background: var(--eo-green-deep); color:#fff; }
.btn-lg{ padding:18px 38px; font-size:1.05rem; }

/* =========================================================
   1. HEADER
   ========================================================= */
.site-header{
  position: sticky; top:0; z-index:200;
  background: rgba(247,247,242,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(6,59,67,.08);
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; gap: 20px; }
.site-logo{ display:flex; align-items:center; }
.site-logo img{ height:52px; width:auto; }
.site-logo a{ display:flex; align-items:center; }

.primary-nav{ display:flex; align-items:center; gap:34px; }
.primary-nav ul{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.primary-nav a{
  font-family: var(--font-head); font-weight:600; font-size:.98rem; color: var(--eo-dark);
  position:relative; padding:6px 0;
}
.primary-nav a:hover{ color: var(--eo-green-deep); }
.primary-nav .current-menu-item > a{ color: var(--eo-green-deep); }
.primary-nav .current-menu-item > a::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:3px; border-radius:3px; background: var(--eo-green);
}

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-phone{ display:flex; align-items:center; gap:8px; font-family:var(--font-head); font-weight:700; color:var(--eo-dark); }
.header-phone svg{ flex-shrink:0; }

.menu-toggle{
  display:none; background:none; border:none; padding:8px; flex-direction:column; gap:5px;
}
.menu-toggle span{ width:26px; height:3px; background: var(--eo-dark); border-radius:3px; }

/* =========================================================
   2. HERO
   ========================================================= */
.hero{
  position:relative; overflow:hidden;
  min-height: 640px; display:flex; align-items:center;
  color:#fff;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image: var(--hero-image, none);
  background-size:cover; background-position:center;
}
.hero::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(115deg, rgba(6,59,67,.94) 0%, rgba(6,59,67,.82) 42%, rgba(6,59,67,.45) 78%, rgba(6,59,67,.35) 100%);
}
.hero .container{ position:relative; z-index:2; padding-top:70px; padding-bottom:70px; }
.hero-inner{ max-width:640px; }
.hero .eyebrow{ background: rgba(255,255,255,.16); color:#fff; }
.hero h1{ color:#fff; margin-bottom:.4em; }
.hero h1 .accent{ color: var(--eo-green); }
.hero p.lede{ font-size:1.2rem; color: rgba(255,255,255,.86); max-width:520px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:32px; }

.hero-arrows{
  position:absolute; right:-40px; bottom:-30px; display:flex; align-items:flex-end; gap:14px; opacity:.9; z-index:1;
  pointer-events:none;
}
.hero-arrows .arrow{ width:20px; border-radius:10px 10px 0 0; position:relative; }
.hero-arrows .arrow::before{
  content:''; position:absolute; top:-16px; left:50%; transform:translateX(-50%);
  border-left:14px solid transparent; border-right:14px solid transparent; border-bottom:20px solid currentColor;
}
.hero-arrows .arrow.blue{ height:120px; background:var(--eo-blue); color:var(--eo-blue); }
.hero-arrows .arrow.green{ height:170px; background:var(--eo-green); color:var(--eo-green); }
.hero-arrows .arrow.red{ height:140px; background:var(--eo-red); color:var(--eo-red); }
.hero-arrows .arrow.orange{ height:200px; background:var(--eo-orange); color:var(--eo-orange); }

/* stat strip below hero */
.stat-strip{ background: var(--eo-white); border-bottom:1px solid rgba(6,59,67,.08); }
.stat-strip .container{ display:flex; flex-wrap:wrap; gap:32px; justify-content:space-between; padding:34px 24px; }
.stat{ display:flex; align-items:center; gap:14px; }
.stat-icon{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-family: var(--font-head); font-size:1.05rem; flex-shrink:0;
}
.stat-num{ font-family: var(--font-head); font-weight:700; font-size:1.4rem; color: var(--eo-dark); display:block; }
.stat-label{ font-size:.9rem; color:#5b6a67; }

/* =========================================================
   3. GENERIC PAGE HERO (inner pages)
   ========================================================= */
.page-hero{
  background: linear-gradient(135deg, var(--eo-dark) 0%, var(--eo-green-deep) 130%);
  color:#fff; padding: 90px 0 60px; text-align:center;
}
.page-hero h1{ color:#fff; margin-bottom:.3em; }
.page-hero p{ color: rgba(255,255,255,.82); max-width:640px; margin:0 auto; font-size:1.1rem; }
.page-hero .eyebrow{ background: rgba(255,255,255,.16); color:#fff; }

/* =========================================================
   4. CARDS / GRIDS
   ========================================================= */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-5{ grid-template-columns: repeat(5,1fr); }

.card{
  background:#fff; border-radius: var(--eo-radius-md); padding:34px 30px;
  box-shadow: var(--eo-shadow-sm); border:1px solid rgba(6,59,67,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--eo-shadow); }
.card .icon-check{
  width:44px; height:44px; border-radius:50%; background: var(--eo-green-pale); color: var(--eo-green-deep);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.card h3{ margin-bottom:.4em; font-size:1.2rem; }
.card p{ color:#54635f; margin-bottom:0; font-size:.98rem; }
.card .service-link{ display:inline-flex; align-items:center; gap:6px; margin-top:14px; font-weight:700; font-family:var(--font-head); font-size:.92rem; }

/* About / story split */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center; }
.split-media{ position:relative; }
.split-media img{ border-radius: var(--eo-radius-lg); box-shadow: var(--eo-shadow); }
.split-media .badge{
  position:absolute; bottom:-24px; left:-24px; background:#fff; border-radius: var(--eo-radius-md);
  padding:18px 24px; box-shadow: var(--eo-shadow); display:flex; align-items:center; gap:14px; max-width:260px;
}
.split-media .badge .num{ font-family:var(--font-head); font-weight:700; font-size:1.6rem; color: var(--eo-green-deep); }
.split-media .badge .lbl{ font-size:.82rem; color:#5b6a67; line-height:1.3; }
.split blockquote{
  border-left:4px solid var(--eo-green); margin:26px 0; padding:4px 0 4px 22px;
  font-family: var(--font-head); font-size:1.15rem; color: var(--eo-dark); font-weight:600;
}

/* Testimonials */
.testimonial-card{
  background:#fff; border-radius: var(--eo-radius-md); padding:32px 30px; box-shadow: var(--eo-shadow-sm);
  border:1px solid rgba(6,59,67,.06); display:flex; flex-direction:column; height:100%;
}
.stars{ color:#F0A93C; letter-spacing:2px; font-size:1.05rem; margin-bottom:14px; }
.testimonial-card p.quote{ color:#3c4a47; font-size:1.02rem; flex-grow:1; }
.testimonial-author{ display:flex; align-items:center; gap:12px; margin-top:16px; }
.testimonial-author .avatar{
  width:46px; height:46px; border-radius:50%; background: var(--eo-green-deep); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-weight:700;
}
.testimonial-author .name{ font-family:var(--font-head); font-weight:700; color: var(--eo-dark); font-size:.95rem; }
.testimonial-author .role{ font-size:.82rem; color:#5b6a67; }

.gallery-photo-block{ position:relative; }
.gallery-photo-block img{ border-radius: var(--eo-radius-lg); box-shadow: var(--eo-shadow); }

/* CTA banner */
.cta-banner{
  border-radius: var(--eo-radius-lg); background: linear-gradient(120deg, var(--eo-dark), var(--eo-green-deep));
  color:#fff; padding:60px 56px; display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta-banner h2{ color:#fff; margin-bottom:.25em; }
.cta-banner p{ color: rgba(255,255,255,.82); margin-bottom:0; }

/* Contact page */
.contact-grid{ display:grid; grid-template-columns: 1.1fr 1.4fr; gap:48px; align-items:flex-start; }
.contact-info-card{
  background: var(--eo-dark); color:#fff; border-radius: var(--eo-radius-lg); padding:42px 36px;
}
.contact-info-card h3{ color:#fff; }
.contact-item{ display:flex; align-items:flex-start; gap:16px; margin-bottom:26px; }
.contact-item .ci-icon{
  width:46px; height:46px; border-radius:50%; background: rgba(255,255,255,.14); display:flex; align-items:center;
  justify-content:center; flex-shrink:0;
}
.contact-item .ci-label{ font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; color: rgba(255,255,255,.6); margin-bottom:2px; }
.contact-item .ci-value{ font-family: var(--font-head); font-weight:700; color:#fff; }
.contact-item a{ color:#fff; }
.contact-item a:hover{ color: var(--eo-green); }

.contact-form-card{ background:#fff; border-radius: var(--eo-radius-lg); padding:42px 40px; box-shadow: var(--eo-shadow-sm); border:1px solid rgba(6,59,67,.06); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-group{ margin-bottom:20px; }
.form-group label{ display:block; font-family:var(--font-head); font-weight:600; font-size:.9rem; color: var(--eo-dark); margin-bottom:8px; }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:13px 16px; border-radius: var(--eo-radius-sm); border:1.5px solid #dfe3df;
  font-family: var(--font-body); font-size:1rem; background: var(--eo-cream); color: var(--eo-ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline:none; border-color: var(--eo-green); background:#fff; }
.form-note{ font-size:.85rem; color:#5b6a67; margin-top:6px; }
.form-message{ padding:16px 20px; border-radius: var(--eo-radius-sm); margin-bottom:24px; font-weight:600; }
.form-message.success{ background: var(--eo-green-pale); color: var(--eo-green-deep); }
.form-message.error{ background:#FBE3E3; color: var(--eo-red); }

/* =========================================================
   5. FOOTER
   ========================================================= */
.site-footer{ background: var(--eo-dark); color: rgba(255,255,255,.78); padding: 70px 0 0; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-brand img{ height:48px; margin-bottom:16px; }
.footer-brand p{ color: rgba(255,255,255,.62); font-size:.95rem; max-width:280px; }
.footer-col h4{ color:#fff; font-size:1rem; margin-bottom:18px; }
.footer-col ul{ list-style:none; padding:0; margin:0; }
.footer-col li{ margin-bottom:12px; }
.footer-col a{ color: rgba(255,255,255,.72); font-size:.95rem; }
.footer-col a:hover{ color: var(--eo-green); }
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.1); display:flex; align-items:center;
  justify-content:center; color:#fff;
}
.footer-social a:hover{ background: var(--eo-green); }
.footer-bottom{ padding:26px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.85rem; color: rgba(255,255,255,.55); }

/* =========================================================
   6. BLOG / GENERIC PAGE FALLBACKS
   ========================================================= */
.entry-content{ max-width: 780px; margin:0 auto; padding: 70px 24px; }
.entry-content h1{ margin-bottom:.6em; }
.post-list{ max-width:780px; margin:0 auto; padding:70px 24px; display:flex; flex-direction:column; gap:40px; }
.post-list article{ border-bottom:1px solid rgba(6,59,67,.1); padding-bottom:40px; }
.post-list h2 a{ color: var(--eo-dark); }
.post-meta{ font-size:.85rem; color:#5b6a67; margin-bottom:10px; }
.pagination{ display:flex; gap:10px; justify-content:center; padding:20px 0 60px; }
.pagination a, .pagination span{ padding:8px 14px; border-radius:8px; background:#fff; border:1px solid rgba(6,59,67,.1); }

/* =========================================================
   7. RESPONSIVE
   ========================================================= */
@media (max-width: 960px){
  .primary-nav{ position:fixed; inset:76px 0 0 0; background: var(--eo-cream); flex-direction:column; align-items:flex-start;
    padding:30px 24px; transform: translateX(100%); transition: transform .25s ease; overflow-y:auto; z-index:150; }
  .primary-nav.is-open{ transform: translateX(0); }
  .primary-nav ul{ flex-direction:column; align-items:flex-start; gap:6px; width:100%; }
  .primary-nav ul li{ width:100%; border-bottom:1px solid rgba(6,59,67,.08); }
  .primary-nav ul a{ display:block; padding:14px 0; }
  .header-phone{ display:none; }
  .menu-toggle{ display:flex; }
  .split{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .grid-5{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px){
  .section{ padding:56px 0; }
  .grid-2, .grid-3, .grid-5{ grid-template-columns:1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .cta-banner{ flex-direction:column; text-align:center; padding:42px 28px; }
  .form-row{ grid-template-columns:1fr; }
  .hero{ min-height:auto; }
  .hero-arrows{ display:none; }
  .split-media .badge{ position:static; margin-top:-40px; margin-left:16px; }
}
