/*
Theme Name:   Avant-Elle Child
Theme URI:    https://avant-elle.eu
Description:  Avant-Elle Child Theme for Astra — Empowering Women. Elevating Europe.
Author:       Avant-Elle
Author URI:   https://avant-elle.eu
Template:     astra
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  avant-elle-child
*/

/* ============================================================
   AVANT-ELLE BRAND TOKENS
   ============================================================ */
:root {
  /* Core Palette */
  --ae-purple:        #2E0062;
  --ae-purple-dark:   #1E0040;
  --ae-purple-mid:    #4A0080;
  --ae-lavender:      #E8E0F0;
  --ae-lavender-mid:  #C8B8E0;
  --ae-gold:          #C9A84C;
  --ae-gold-light:    #E2C97A;
  --ae-white:         #FFFFFF;
  --ae-off-white:     #F9F7FC;
  --ae-text-dark:     #1A0035;
  --ae-text-mid:      #4A3860;

  /* Typography */
  --ae-font-display:  'Cormorant Garamond', 'Georgia', serif;
  --ae-font-body:     'Jost', 'Helvetica Neue', sans-serif;
  --ae-font-caps:     'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing Scale */
  --ae-space-xs:      0.5rem;
  --ae-space-sm:      1rem;
  --ae-space-md:      2rem;
  --ae-space-lg:      4rem;
  --ae-space-xl:      7rem;

  /* Transitions */
  --ae-transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ae-font-body);
  color: var(--ae-text-dark);
  background-color: var(--ae-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ae-font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ae-purple);
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

p {
  font-family: var(--ae-font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ae-text-mid);
}

/* Eyebrow labels — spaced caps style */
.ae-eyebrow {
  font-family: var(--ae-font-caps);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ae-gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* Gold divider line under eyebrow */
.ae-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--ae-gold);
  margin-top: 0.5rem;
}

a {
  color: var(--ae-purple);
  text-decoration: none;
  transition: color var(--ae-transition);
}

a:hover {
  color: var(--ae-gold);
}

/* ============================================================
   ASTRA OVERRIDES — HEADER
   ============================================================ */
.site-header,
#masthead {
  background-color: var(--ae-purple) !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

/* Logo area */
.site-branding,
.ast-site-identity {
  padding: 1rem 0;
}

.site-title a,
.ast-site-name {
  font-family: var(--ae-font-display) !important;
  font-size: 1.8rem !important;
  color: var(--ae-white) !important;
  letter-spacing: 0.08em;
}

/* Navigation */
.main-navigation,
#site-navigation,
.ast-main-navigation {
  background: transparent !important;
}

.main-navigation a,
.ast-main-navigation .menu-item a {
  font-family: var(--ae-font-caps) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 1.2rem !important;
  transition: color var(--ae-transition) !important;
}

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

/* ============================================================
   ASTRA OVERRIDES — FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background-color: var(--ae-purple-dark) !important;
  color: rgba(255,255,255,0.7) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.site-footer a,
#colophon a {
  color: var(--ae-gold-light) !important;
}

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

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

/* Primary CTA */
.ae-btn-primary,
.wp-block-button__link,
.wpcf7-submit {
  display: inline-block;
  font-family: var(--ae-font-caps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ae-white) !important;
  background-color: var(--ae-gold);
  border: 1px solid var(--ae-gold);
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all var(--ae-transition);
  text-decoration: none;
}

.ae-btn-primary:hover,
.wp-block-button__link:hover,
.wpcf7-submit:hover {
  background-color: transparent;
  color: var(--ae-gold) !important;
  border-color: var(--ae-gold);
}

/* Outline button */
.ae-btn-outline {
  display: inline-block;
  font-family: var(--ae-font-caps);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ae-white);
  background-color: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: all var(--ae-transition);
}

.ae-btn-outline:hover {
  background-color: var(--ae-white);
  color: var(--ae-purple) !important;
  border-color: var(--ae-white);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.ae-hero {
  min-height: 92vh;
  background-color: var(--ae-purple);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--ae-xl) var(--ae-space-md);
}

.ae-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg, var(--ae-purple-mid) 0%, transparent 60%);
  opacity: 0.4;
  pointer-events: none;
}

/* Large A watermark */
.ae-hero::after {
  content: 'A';
  position: absolute;
  right: 3%;
  bottom: -5%;
  font-family: var(--ae-font-display);
  font-size: clamp(18rem, 30vw, 32rem);
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ae-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.ae-hero__tagline {
  font-family: var(--ae-font-caps);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ae-gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ae-hero__tagline::before {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--ae-gold);
  flex-shrink: 0;
}

.ae-hero h1 {
  color: var(--ae-white);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}

.ae-hero h1 em {
  font-style: italic;
  color: var(--ae-gold-light);
}

.ae-hero__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.ae-hero__ctas {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.ae-mission {
  background-color: var(--ae-white);
  padding: var(--ae-space-xl) var(--ae-space-md);
  text-align: center;
}

.ae-mission__inner {
  max-width: 800px;
  margin: 0 auto;
}

.ae-mission h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--ae-purple);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.ae-mission h2 strong {
  font-weight: 600;
}

.ae-mission p {
  font-size: 1.1rem;
  color: var(--ae-text-mid);
  max-width: 55ch;
  margin: 0 auto 2.5rem;
}

/* ============================================================
   PILLARS SECTION
   ============================================================ */
.ae-pillars {
  background-color: var(--ae-off-white);
  padding: var(--ae-space-xl) var(--ae-space-md);
}

.ae-pillars__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ae-pillars__header {
  margin-bottom: 4rem;
}

.ae-pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
}

.ae-pillar {
  background: var(--ae-white);
  padding: 3rem 2.5rem;
  position: relative;
  transition: transform var(--ae-transition), box-shadow var(--ae-transition);
}

.ae-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 0, 98, 0.1);
}

.ae-pillar__number {
  font-family: var(--ae-font-display);
  font-size: 4rem;
  color: var(--ae-lavender-mid);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  transition: color var(--ae-transition);
}

.ae-pillar:hover .ae-pillar__number {
  color: var(--ae-gold);
}

.ae-pillar h3 {
  font-family: var(--ae-font-caps);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ae-purple);
  margin-bottom: 1rem;
}

.ae-pillar p {
  font-size: 0.95rem;
  color: var(--ae-text-mid);
}

.ae-pillar__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ae-gold);
  transition: width 0.5s ease;
}

.ae-pillar:hover .ae-pillar__line {
  width: 100%;
}

/* ============================================================
   SYMPOSIUM TEASER
   ============================================================ */
.ae-symposium {
  background-color: var(--ae-purple);
  padding: var(--ae-space-xl) var(--ae-space-md);
  position: relative;
  overflow: hidden;
}

.ae-symposium::after {
  content: 'A';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--ae-font-display);
  font-size: clamp(20rem, 35vw, 40rem);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.ae-symposium__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ae-symposium__content h2 {
  color: var(--ae-white);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.ae-symposium__content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}

.ae-symposium__meta {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-left: 1px solid rgba(201, 168, 76, 0.4);
  padding-left: 3rem;
}

.ae-symposium__meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ae-symposium__meta-label {
  font-family: var(--ae-font-caps);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ae-gold);
}

.ae-symposium__meta-value {
  font-family: var(--ae-font-display);
  font-size: 1.8rem;
  color: var(--ae-white);
  font-weight: 300;
}

/* ============================================================
   FOOTER BAR (4 pillars icons)
   ============================================================ */
.ae-footer-bar {
  background-color: var(--ae-purple-dark);
  padding: 2.5rem var(--ae-space-md);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.ae-footer-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.ae-footer-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.ae-footer-bar__item:last-child {
  border-right: none;
}

.ae-footer-bar__icon {
  width: 2rem;
  height: 2rem;
  color: var(--ae-gold);
}

.ae-footer-bar__label {
  font-family: var(--ae-font-caps);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ============================================================
   CONTACT / JOIN SECTION
   ============================================================ */
.ae-join {
  background-color: var(--ae-lavender);
  padding: var(--ae-space-xl) var(--ae-space-md);
  text-align: center;
}

.ae-join__inner {
  max-width: 700px;
  margin: 0 auto;
}

.ae-join h2 {
  color: var(--ae-purple);
  margin-bottom: 1rem;
}

.ae-join p {
  margin-bottom: 2.5rem;
}

/* ============================================================
   CONTACT FORM (WP Contact Form 7)
   ============================================================ */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--ae-lavender-mid);
  background: var(--ae-white);
  font-family: var(--ae-font-body);
  font-size: 0.95rem;
  color: var(--ae-text-dark);
  transition: border-color var(--ae-transition);
  outline: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: var(--ae-purple);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.ae-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ae-space-md);
}

.ae-section {
  padding: var(--ae-space-xl) var(--ae-space-md);
}

.ae-bg-purple    { background-color: var(--ae-purple); }
.ae-bg-lavender  { background-color: var(--ae-lavender); }
.ae-bg-white     { background-color: var(--ae-white); }
.ae-bg-dark      { background-color: var(--ae-purple-dark); }

.ae-text-white   { color: var(--ae-white); }
.ae-text-purple  { color: var(--ae-purple); }
.ae-text-gold    { color: var(--ae-gold); }

.ae-text-center  { text-align: center; }
.ae-text-left    { text-align: left; }

/* Gold separator line */
.ae-divider {
  width: 3rem;
  height: 1px;
  background: var(--ae-gold);
  margin: 1.5rem 0;
}

.ae-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .ae-symposium__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ae-symposium__meta {
    border-left: none;
    border-top: 1px solid rgba(201, 168, 76, 0.4);
    padding-left: 0;
    padding-top: 2rem;
  }

  .ae-footer-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .ae-pillars__grid {
    grid-template-columns: 1fr;
  }

  .ae-hero__ctas {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .ae-footer-bar__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
