/*
Theme Name: Astra Child - The Growth HQ
Template: astra
Version: 1.0.0
Description: Custom child theme for The Growth HQ
Author: Samuel Fafiolu
*/

@import url('../astra/style.css');


/* Brand Colors - More Subtle */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --accent-color: #f59e0b;
  --text-dark: #111827;
  --text-medium: #374151;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --bg-subtle: #f9fafb;
}

/* Global Typography - Clean & Readable */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Container Widths */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-narrow {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-section {
  padding: 120px 24px 100px;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--border-color);
}

.hero-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--text-medium);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid var(--border-color);
}

.hero-heading {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.hero-subheading {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-medium);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Clean, Simple Buttons */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--text-dark);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

/* Override Elementor Buttons */
.elementor-button,
.ast-button,
button,
.button {
  background-color: var(--primary-color) !important;
  color: white !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.elementor-button:hover,
.ast-button:hover,
button:hover {
  background-color: var(--primary-dark) !important;
  transform: translateY(-1px) !important;
}

/* Stats Section - Minimal Cards */
.stats-section {
  padding: 80px 24px;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 500;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 20px;
  color: var(--text-medium);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature Cards - Clean Boxes */
.features-section {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-description {
  font-size: 16px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Story Section */
.story-section {
  padding: 100px 24px;
  background: white;
}

.story-content {
  max-width: 740px;
  margin: 0 auto;
}

.story-content p {
  font-size: 19px;
  line-height: 1.8;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.story-content p:first-of-type {
  font-size: 22px;
  color: var(--text-dark);
}

/* Testimonials - Simple Quotes */
.testimonials-section {
  padding: 100px 24px;
  background: var(--bg-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

/* CTA Section - Clean and Bold */
.cta-section {
  padding: 100px 24px;
  background: white;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 20px;
  color: var(--text-medium);
  margin-bottom: 32px;
}

.email-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Spacing Utilities */
.section-padding {
  padding: 100px 24px;
}

.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* Text Utilities */
.text-center { text-align: center; }
.text-large { font-size: 20px; }
.text-small { font-size: 15px; }
.text-muted { color: var(--text-light); }

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Smooth Everything */
html {
  scroll-behavior: smooth;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 20px 60px;
  }
  
  .section-padding,
  .features-section,
  .story-section,
  .testimonials-section,
  .cta-section {
    padding: 60px 20px;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .stats-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CUSTOM HEADER STYLES ===== */

/* Main Header Container */
.site-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Header on Scroll - Add subtle shadow */
.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Header Inner Container */
.main-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo/Site Title */
.site-branding {
  display: flex;
  align-items: center;
}

.site-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.site-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-title a:hover {
  color: #2563eb;
}

/* If you have a logo */
.custom-logo-link img {
  max-height: 40px;
  width: auto;
  display: block;
}

/* Tagline - Hide or style */
.site-description {
  display: none;
}

/* Navigation Menu */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}

.main-navigation li {
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: #374151;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: block;
}

.main-navigation a:hover {
  color: #2563eb;
  background: #f3f4f6;
}

/* Current/Active Page */
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  color: #2563eb;
  background: #eff6ff;
}

/* CTA Button in Menu */
.menu-item-cta a {
  background: #2563eb !important;
  color: white !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}

.menu-item-cta a:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  color: #374151;
  font-size: 18px;
}

.menu-toggle:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .main-header-container {
    padding: 16px 20px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .main-navigation.toggled {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 8px;
  }
  
  .main-navigation a {
    padding: 12px 16px;
    font-size: 16px;
  }
  
  .menu-item-cta a {
    margin: 8px;
  }
}

/* Astra Theme Overrides */
.ast-header-break-point .main-header-bar {
  border: none;
}

.site-header .main-header-bar-wrap {
  padding: 0;
}

/* Remove Astra default padding */
.ast-primary-header-bar {
  padding: 0;
}

/* Clean up Astra menu styling */
.ast-desktop .main-header-menu > .menu-item > a {
  padding: 8px 16px;
}

/* ===== FORCE HIDE MOBILE MENU BUTTON ON DESKTOP ===== */

/* Hide ALL Astra mobile menu buttons */
.ast-mobile-menu-buttons,
.ast-button-wrap,
.ast-mobile-header-wrap,
.ast-mobile-header-content,
.menu-toggle,
.ast-header-break-point .ast-button-wrap {
  display: none !important;
}

/* Remove orange background from everything */
.site-branding,
.site-header .site-branding,
.ast-site-identity,
.site-logo-img,
.ast-mobile-menu-buttons button {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Force show desktop menu */
.main-header-bar-navigation,
.ast-desktop-header .main-header-bar-navigation {
  display: block !important;
}

.main-header-menu,
.ast-desktop .main-header-menu {
  display: flex !important;
}

/* Only show mobile button on actual mobile devices */
@media (max-width: 921px) {
  .ast-mobile-menu-buttons {
    display: flex !important;
  }
  
  .main-header-bar-navigation {
    display: none !important;
  }
  
  .toggled .main-header-bar-navigation {
    display: block !important;
  }
}

/* Astra specific header cleanup */
.ast-header-break-point .main-header-bar {
  border: none !important;
}

.ast-primary-header-bar {
  padding: 0 !important;
}

.main-header-bar-wrap {
  padding: 0 !important;
}