/* ===========================================
   GREYSOLVE CONSULTING BRAND GUIDE CSS
   ===========================================
   Single source of truth for all brand elements.
   Namespaced with .greysolve- for safe use across sites.
   Includes Astra/WordPress global overrides.
   =========================================== */

/* ===========================================
   1. CSS VARIABLES (Brand Foundation)
   =========================================== */
   :root {
    /* Primary Brand Colors */
    --brand-navy: #1B365D;
    --brand-blue: #4A90E2;
    --brand-gold: #F5A623;
  
    /* Secondary Colors */
    --brand-teal: #50C9C3;
    --brand-grey: #8E8E93;
    --brand-charcoal: #2C3E50;
  
    /* Backgrounds */
    --brand-white: #ffffff;
    --brand-light-bg: #F8F9FA;
    --brand-black: #111111;
  
    /* Typography */
    --brand-font-family: 'Montserrat', Arial, sans-serif;
    --brand-font-size-base: 16px;
    --brand-line-height: 1.6;
  
    /* Spacing */
    --brand-space-xs: 0.5rem;
    --brand-space-sm: 1rem;
    --brand-space-md: 2rem;
    --brand-space-lg: 4rem;
    --brand-space-xl: 6rem;
  
    /* Radius */
    --brand-radius-sm: 4px;
    --brand-radius-md: 8px;
    --brand-radius-lg: 12px;
    --brand-radius-xl: 25px;
  
    /* Shadows */
    --brand-shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --brand-shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --brand-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  
    /* Transition */
    --brand-transition: all 0.3s ease;
  }
  
  /* ===========================================
     2. TYPOGRAPHY (Greysolve Utility Classes)
     =========================================== */
  .greysolve-body {
    font-family: var(--brand-font-family);
    font-size: var(--brand-font-size-base);
    line-height: var(--brand-line-height);
    color: var(--brand-charcoal);
  }
  .greysolve-h1 { font-size: 3.5rem; font-weight: 700; color: var(--brand-navy); }
  .greysolve-h2 { font-size: 2.5rem; font-weight: 700; color: var(--brand-navy); }
  .greysolve-h3 { font-size: 1.8rem; font-weight: 600; color: var(--brand-navy); }
  .greysolve-h4 { font-size: 1.4rem; font-weight: 600; color: var(--brand-navy); }
  .greysolve-h5 { font-size: 1.2rem; font-weight: 600; color: var(--brand-charcoal); }
  .greysolve-h6 { font-size: 1rem; font-weight: 600; color: var(--brand-charcoal); }
  
  /* Text Variants */
  .greysolve-text-large { font-size: 1.25rem; }
  .greysolve-text-small { font-size: 0.9rem; color: var(--brand-grey); }
  .greysolve-text-caption { font-size: 0.8rem; font-style: italic; color: var(--brand-grey); }
  
  /* Links */
  .greysolve-link { color: var(--brand-blue); font-weight: 500; text-decoration: none; }
  .greysolve-link:hover { color: var(--brand-gold); text-decoration: underline; }
  
  /* ===========================================
     3. BUTTON SYSTEM
     =========================================== */
  .greysolve-btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--brand-blue);
    color: var(--brand-white);
    border-radius: var(--brand-radius-xl);
    font-weight: 600;
    text-align: center;
    transition: var(--brand-transition);
  }
  .greysolve-btn-primary:hover {
    background-color: var(--brand-navy);
    transform: translateY(-2px);
  }
  
  /* Secondary */
  .greysolve-btn-secondary {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
    border-radius: var(--brand-radius-xl);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: var(--brand-transition);
  }
  .greysolve-btn-secondary:hover {
    background-color: #e6951a;
    color: var(--brand-navy);
  }
  
  /* Outline */
  .greysolve-btn-outline {
    background: transparent;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    border-radius: var(--brand-radius-xl);
    padding: 0.8rem 2rem;
    transition: var(--brand-transition);
  }
  .greysolve-btn-outline:hover {
    background: var(--brand-blue);
    color: var(--brand-white);
  }
  
  /* ===========================================
     4. WORDPRESS / ASTRA OVERRIDES
     =========================================== */
  body {
    font-family: var(--brand-font-family);
    font-size: var(--brand-font-size-base);
    line-height: var(--brand-line-height);
    color: var(--brand-charcoal);
    background-color: var(--brand-light-bg);
  }
  h1, .entry-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-navy);
  }
  h2 { font-size: 2.5rem; font-weight: 600; color: var(--brand-navy); }
  h3 { font-size: 2rem; font-weight: 500; color: var(--brand-blue); }
  p, .entry-content {
    font-size: var(--brand-font-size-base);
    color: var(--brand-charcoal);
    margin-bottom: 1.25rem;
  }
  a, .entry-content a { color: var(--brand-blue); transition: var(--brand-transition); }
  a:hover, .entry-content a:hover { color: var(--brand-gold); }
  
  /* Buttons */
  .wp-block-button__link,
  button,
  input[type="submit"] {
    background-color: var(--brand-blue);
    color: var(--brand-white);
    font-family: var(--brand-font-family);
    font-weight: 600;
    border-radius: var(--brand-radius-md);
    padding: 0.75rem 1.5rem;
    transition: var(--brand-transition);
  }
  .wp-block-button__link:hover,
  button:hover,
  input[type="submit"]:hover {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
  }
  
  /* Lists */
  ul, ol { margin-left: 1.5rem; color: var(--brand-charcoal); }
  ul li::marker { color: var(--brand-gold); }
  
  /* Blockquotes */
  blockquote {
    border-left: 4px solid var(--brand-gold);
    padding-left: 1rem;
    font-style: italic;
    color: var(--brand-navy);
  }
  
  /* ===========================================
     5. RESPONSIVE BREAKPOINTS
     =========================================== */
  @media (max-width: 768px) {
    .greysolve-h1, h1, .entry-title { font-size: 2.5rem; }
    .greysolve-h2, h2 { font-size: 2rem; }
    .greysolve-btn-primary,
    .greysolve-btn-secondary,
    .greysolve-btn-outline {
      width: 100%;
    }
  }
  @media (max-width: 480px) {
    .greysolve-h1, h1, .entry-title { font-size: 2rem; }
    .greysolve-h2, h2 { font-size: 1.8rem; }
  }
  .nav-container {
    max-width: 1400px ;
    margin: 0 auto ;
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
    padding: 1rem 2rem ;
}

.logo {
    display: flex ;
    align-items: center ;
    text-decoration: none ;
    color: var(--navy) ;
}

.logo-symbol {
    width: 45px ;
    height: 45px ;
    margin-right: 15px ;
    position: relative ;
    background: linear-gradient(45deg, var(--navy), var(--blue)) ;
    border-radius: 12px ;
    display: flex ;
    align-items: center ;
    justify-content: center ;
    overflow: hidden ;
}

.logo-symbol::before {
    content: '' ;
    position: absolute ;
    width: 60% ;
    height: 60% ;
    background: var(--white) ;
    border-radius: 4px ;
    transform: rotate(45deg) ;
}

.logo-symbol::after {
    content: '' ;
    position: absolute ;
    width: 12px ;
    height: 12px ;
    background: var(--gold) ;
    border-radius: 50% ;
    top: 8px ;
    right: 8px ;
    z-index: 1 ;
}

.logo-text {
    font-size: 1.4rem ;
    font-weight: 700 ;
    color: var(--navy) ;
}

.nav-links {
    display: flex ;
    list-style: none ;
    gap: 2.5rem ;
    align-items: center ;
    flex-direction: row ;
}

.nav-links a {
    text-decoration: none ;
    color: var(--navy) ;
    font-weight: 500 ;
    position: relative ;
    transition: color 0.3s ease ;
    display: inline-block ;
    white-space: nowrap ;
}

.nav-links a:hover {
    color: var(--blue) ;
}

.nav-cta {
    background: #4A90E2 ;
    color: white ;
    padding: 0.8rem 2rem ;
    border-radius: 25px ;
    font-weight: 600 ;
    transition: all 0.3s ease ;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) ;
    text-decoration: none ;
    white-space: nowrap ;
    display: inline-block ;
}

.nav-cta:hover {
    transform: translateY(-2px) ;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4) ;
    color: white ;
}