/*
Theme Name: Growth Minds Hub v2
Theme URI: https://growthmindshub.com
Author: Growth Minds Hub
Author URI: https://growthmindshub.com
Description: Strategic digital marketing WordPress theme - REBUILT for maximum compatibility. Works with or without Elementor. Fully responsive.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gmh
Tags: business, corporate, marketing, dark, one-column, responsive-layout, custom-menu

REBUILT VERSION - Maximum Compatibility
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================
   CSS VARIABLES - DESIGN SYSTEM
   ============================================ */
:root {
  /* Colors */
  --bg: #07090800;
  --bg-solid: #070908;
  --surface: #0E1311;
  --surface-2: #141A17;
  --surface-3: #1A211D;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #ECEFEC;
  --text-soft: #B6BCB7;
  --text-muted: #6F766F;
  --text-dim: #4A4F4B;
  --accent: #00C637;
  --accent-bright: #1AE054;
  --accent-soft: rgba(0,198,55,0.12);
  --accent-line: rgba(0,198,55,0.32);
  
  /* Fonts */
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  
  /* Layout */
  --max: 1240px;
}

/* ============================================
   BASE RESET
   ============================================ */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html { 
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  background: var(--bg-solid);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a { 
  color: inherit; 
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--accent); }

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

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.page {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(900px 480px at 85% -5%, rgba(0,198,55,0.10), transparent 60%),
              radial-gradient(1200px 600px at -10% 30%, rgba(0,198,55,0.04), transparent 60%),
              var(--bg-solid);
}

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

.section { 
  padding: 96px 0; 
  position: relative; 
}

/* ============================================
   HEADER / TOPBAR
   ============================================ */
.topbar {
  position: sticky; 
  top: 0; 
  z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(7,9,8,0.85);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  height: 68px; 
  gap: 32px;
}

.site-logo {
  display: flex; 
  align-items: center; 
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.site-logo img { 
  height: 28px; 
  width: auto; 
}

/* Navigation */
.main-nav { 
  display: flex; 
  align-items: center; 
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 13.5px; 
  font-weight: 450; 
  color: var(--text-soft);
  padding: 8px 14px; 
  border-radius: 8px; 
  letter-spacing: -0.005em;
  transition: color .15s, background .15s;
  display: block;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a { 
  color: var(--text); 
  background: rgba(255,255,255,0.05); 
}

/* CTA Button */
.header-cta {
  display: inline-flex; 
  align-items: center; 
  gap: 8px;
  background: var(--accent); 
  color: #001405;
  font-weight: 600; 
  font-size: 13px; 
  letter-spacing: -0.005em;
  padding: 9px 14px; 
  border-radius: 8px;
  transition: background .15s;
  white-space: nowrap;
}

.header-cta:hover { 
  background: var(--accent-bright);
  color: #001405;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.entry-content,
.page-content,
.post-content {
  max-width: 780px;
  margin: 0 auto;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 2px;
}

.entry-content a:hover {
  border-bottom-color: var(--accent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn,
.wp-block-button__link,
button[type="submit"] {
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  padding: 14px 22px; 
  border-radius: 10px;
  font-weight: 600; 
  font-size: 14px; 
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all .15s ease;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--sans);
}

.btn-primary,
.wp-block-button__link {
  background: var(--accent); 
  color: #001405;
  border-color: var(--accent);
}

.btn-primary:hover,
.wp-block-button__link:hover { 
  background: var(--accent-bright);
  color: #001405;
}

.btn-secondary {
  background: transparent; 
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover { 
  background: rgba(255,255,255,0.04); 
  border-color: rgba(255,255,255,0.22); 
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(0,198,55,0.025));
  margin-top: 96px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  padding-bottom: 48px;
}

.footer-widget h3 {
  font-family: var(--mono); 
  font-size: 11px; 
  font-weight: 500;
  text-transform: uppercase; 
  letter-spacing: 0.14em;
  color: var(--text-muted); 
  margin: 0 0 18px;
}

.footer-widget ul { 
  list-style: none; 
  padding: 0; 
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 11px;
}

.footer-widget a { 
  color: var(--text-soft); 
  font-size: 13.5px;
  transition: color 0.2s;
}

.footer-widget a:hover { 
  color: var(--text); 
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */
.alignleft { 
  float: left; 
  margin-right: 1.5em; 
}

.alignright { 
  float: right; 
  margin-left: 1.5em; 
}

.aligncenter { 
  display: block; 
  margin-left: auto; 
  margin-right: auto; 
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .shell { padding: 0 24px; }
  .section { padding: 64px 0; }
  .topbar-inner { height: 60px; gap: 20px; }
  
  h1 { font-size: clamp(28px, 6vw, 44px); }
  h2 { font-size: clamp(24px, 5vw, 36px); }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767px) {
  .shell { padding: 0 20px; }
  .section { padding: 48px 0; }
  
  .topbar-inner {
    height: 56px;
    gap: 16px;
  }
  
  .site-logo {
    font-size: 16px;
  }
  
  .site-logo img {
    height: 24px;
  }
  
  /* Hide nav on mobile, show menu toggle */
  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 8px;
  }
  
  .main-nav.is-open {
    display: flex;
  }
  
  .main-nav a {
    width: 100%;
    padding: 12px 16px;
  }
  
  .header-cta {
    font-size: 12px;
    padding: 7px 12px;
  }
  
  .mobile-menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
  }
  
  h1 { font-size: clamp(26px, 8vw, 36px); }
  h2 { font-size: clamp(22px, 6vw, 30px); }
  h3 { font-size: clamp(18px, 5vw, 24px); }
  
  .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 12px 18px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .site-footer {
    padding: 48px 0 24px;
    margin-top: 64px;
  }
}

@media (max-width: 480px) {
  .shell { padding: 0 16px; }
  .section { padding: 40px 0; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; }
}

/* ============================================
   ELEMENTOR COMPATIBILITY (Optional)
   ============================================ */
.elementor-widget-container { 
  color: var(--text); 
}

.elementor-heading-title { 
  font-family: var(--sans); 
  color: var(--text); 
}

.elementor-button { 
  font-family: var(--sans); 
  background: var(--accent); 
  color: #001405; 
  border-radius: 10px;
}

.elementor-button:hover { 
  background: var(--accent-bright); 
}

/* Fix Elementor sections */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--max);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .topbar, 
  .site-footer, 
  .btn,
  .header-cta,
  .mobile-menu-toggle { 
    display: none; 
  }
  
  .page { 
    background: white; 
  }
  
  body { 
    color: #000; 
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}
