/*
Theme Name: English by Neca
Template: astra
Version: 1.0
Description: Child theme for englishbyneca.com
*/

/* =============================================
   DESIGN TOKENS — change these to restyle everything
   ============================================= */
:root {
  --green-dark:   #1B3A2D;
  --green-mid:    #2D4A3A;
  --green-light:  #B8C9BE;
  --gold:         #C9A84C;
  --gold-dark:    #A88A35;
  --cream:        #F5F0E8;
  --cream-mid:    #EDE8DE;
  --cream-dark:   #D4C9B5;
  --text-body:    #2D4A3A;
  --text-muted:   #6B8A75;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --section-padding: 72px 0;
  --container-width: 1100px;
}

/* =============================================
   BASE RESET
   ============================================= */
body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--green-dark);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* =============================================
   HERO
   ============================================= */
.neca-hero {
  background: var(--green-dark);
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}

.neca-hero__inner {
  position: relative;
  z-index: 2;
}

.neca-hero__title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 28px;
  max-width: 600px;
}

.neca-hero__title em {
  font-style: italic;
  color: var(--gold);
}

.neca-hero__sub {
  font-size: 16px;
  color: var(--green-light);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
  font-weight: 300;
}

.neca-hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.neca-hero__bg-text {
  position: absolute;
  right: -30px;
  top: -20px;
  font-family: var(--font-serif);
  font-size: 340px;
  color: rgba(201, 168, 76, 0.04);
  line-height: 1;
  font-style: italic;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.neca-hero__pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.neca-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 12px;
  color: var(--green-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.neca-pill::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   STATS BAR
   ============================================= */
.neca-stats {
  background: var(--gold);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.neca-stat {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(27, 58, 45, 0.15);
}

.neca-stat:last-child {
  border-right: none;
}

.neca-stat__number {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1;
}

.neca-stat__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #3D5A47;
  margin-top: 8px;
}

/* =============================================
   BIO
   ============================================= */
.neca-bio__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.neca-bio__image-wrap {
  position: relative;
}

.neca-bio__image {
  background: var(--green-dark);
  border-radius: 2px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.neca-bio__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neca-bio__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
  font-family: var(--font-serif);
}

.neca-bio__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: #131F18;
  font-size: 10px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.neca-bio__content h2 {
  font-size: 48px;
  margin-bottom: 24px;
}

.neca-bio__content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* =============================================
   TIMELINE
   ============================================= */
.neca-timeline {
  margin-top: 8px;
}

.neca-timeline__item {
  display: flex;
  gap: 18px;
}

.neca-timeline__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.neca-timeline__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
}

.neca-timeline__line {
  width: 1px;
  flex: 1;
  background: rgba(201, 168, 76, 0.25);
  min-height: 32px;
}

.neca-timeline__body {
  padding-bottom: 24px;
}

.neca-timeline__year {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.neca-timeline__title {
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 500;
}

.neca-timeline__sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* =============================================
   ASTRA LAYOUT OVERRIDE — Homepage
   ============================================= */

/* Remove Astra's content width restrictions */
.home .site-content,
.home #content,
.home #primary,
.home .content-area {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Remove Astra's default article padding */
.home .ast-article-single,
.home .entry-content,
.home .post-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide sidebar on homepage */
.home #secondary,
.home .widget-area {
  display: none !important;
}

/* Remove Astra's container max-width on homepage */
.home .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Fix Astra's row layout */
.home #content .ast-row {
  display: block !important;
}