/*
Theme Name: Golden Eagle CFO
Theme URI: https://www.goldeneaglecfo.com/
Author: Brad Eagle, CPA
Author URI: https://www.goldeneaglecfo.com/
Description: Custom WordPress theme for Golden Eagle CFO — Fractional CFO services in Little Rock, Arkansas. Features gold (#C5A55A) and white luxury branding with Eagle-Eye Precision tagline. SEO-optimized with JSON-LD schema, Open Graph, and local SEO meta tags.
Version: 1.0.0
License: All Rights Reserved
Text Domain: golden-eagle-cfo
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready

Golden Eagle CFO — Eagle-Eye Precision.
Fractional CFO Services | Brad Eagle, CPA | Little Rock, Arkansas
*/

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

:root {
  --gold: #C5A55A;
  --gold-light: #D4BA7A;
  --gold-dark: #A8893E;
  --white: #FFFFFF;
  --off-white: #FAF8F4;
  --charcoal: #1C1C1C;
  --dark-bg: #0F0F0F;
  --gray-text: #6B6B6B;
  --light-border: #E8E2D4;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

/* ===== PRINT OPTIMIZATION ===== */
@media print {
  body { font-size: 11pt; }
  .page-break { page-break-before: always; }
  section { page-break-inside: avoid; }
  .no-print { display: none !important; }
  @page { margin: 0.5in; size: letter; }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===== LAYOUT HELPERS ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 2rem; }
.flex-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.flex-col { flex: 1; min-width: 250px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.bg-offwhite { background-color: var(--off-white); }

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
header.site-header {
  background: var(--dark-bg);
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--gold);
}
header.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* ============================================================
   LOGO ICON — NO WHITE BACKGROUND ANYWHERE
   ============================================================ */
.logo-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.logo-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
}

.logo-text {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.logo-text span { color: var(--gold); }

/* WordPress Navigation Menu */
nav.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
nav.main-navigation ul li a {
  color: #CCCCCC;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
nav.main-navigation ul li a:hover { color: var(--gold); }
nav.main-navigation ul li.menu-cta a {
  background: var(--gold);
  color: var(--dark-bg) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-weight: 700 !important;
}

/* Sub-menus */
nav.main-navigation ul ul {
  display: none;
  position: absolute;
  background: var(--dark-bg);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 200px;
  flex-direction: column;
  gap: 0;
  z-index: 999;
}
nav.main-navigation ul li:hover > ul { display: flex; }
nav.main-navigation ul ul li a {
  padding: 0.5rem 1.5rem;
  display: block;
}
nav.main-navigation ul li { position: relative; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a1a 50%, #2a2318 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197,165,90,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 0.25rem;
  position: relative;
}
.hero h1 span { color: var(--gold); }
.hero-tagline {
  font-size: 1.35rem;
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: #AAAAAA;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark-bg);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark-bg);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(197,165,90,0.2);
  flex-wrap: wrap;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 800;
}
.stat-item p {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services {
  padding: 4.5rem 0;
  background: var(--off-white);
}
.services-header {
  text-align: center;
  margin-bottom: 3rem;
}
.services-header h2 span { color: var(--gold); }
.services-header p {
  color: var(--gray-text);
  max-width: 600px;
  margin: 0.75rem auto 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 8px 8px;
  transition: width 0.3s;
}
.service-card:hover::after { width: 100%; }
.service-card:hover { border-color: var(--gold); }
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(197,165,90,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--gray-text); margin: 0; line-height: 1.5; }

/* ================================================================
   MID-PAGE CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  color: var(--dark-bg);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.btn-dark {
  background: var(--dark-bg);
  color: var(--gold);
  border-color: var(--dark-bg);
}
.btn-dark:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

/* ================================================================
   ABOUT / WHY GOLDEN EAGLE
   ================================================================ */
.about {
  padding: 4.5rem 0;
  background: var(--white);
}
.about-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}
.about-content { flex: 1.2; min-width: 300px; }
.about-visual {
  flex: 0.8;
  min-width: 250px;
  background: var(--dark-bg);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  color: var(--white);
  border: 2px solid var(--gold);
}

/* ============================================================
   ABOUT VISUAL LOGO — NO WHITE BACKGROUND
   ============================================================ */
.about-visual .big-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
}
.about-visual .big-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
}

.about-visual h3 { color: var(--gold); margin-bottom: 0.5rem; }
.about-visual p { font-size: 0.9rem; color: #aaa; margin: 0; }
.about-content h2 span { color: var(--gold); }
.about-content ul {
  list-style: none;
  margin: 1.5rem 0;
}
.about-content ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.about-content ul li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}
.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197,165,90,0.12);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ================================================================
   INDUSTRIES SECTION
   ================================================================ */
.industries {
  padding: 3.5rem 0;
  background: var(--off-white);
  text-align: center;
}
.industries h2 span { color: var(--gold); }
.industries-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.industry-tag {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.industry-tag:hover { border-color: var(--gold); }

/* ================================================================
   TESTIMONIAL STRIP
   ================================================================ */
.testimonial {
  background: var(--dark-bg);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.testimonial blockquote {
  font-size: 1.3rem;
  font-style: italic;
  max-width: 650px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
  color: #DDD;
}
.testimonial blockquote span { color: var(--gold); font-weight: 700; }
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 1px;
}

/* ================================================================
   ARTICLES / BLOG SECTION
   ================================================================ */
.blog-section {
  padding: 4.5rem 0;
  background: var(--off-white);
}
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}
.blog-header h2 span { color: var(--gold); }
.blog-header p { color: var(--gray-text); max-width: 500px; margin: 0.75rem auto 0; }
.blog-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.blog-card {
  flex: 1;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--gold); }
.blog-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2318 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-card-image span {
  color: var(--gold);
  font-size: 2.5rem;
  opacity: 0.3;
}
.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--dark-bg);
  font-size: 0.65rem;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-date {
  font-size: 0.75rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card-body h3 a {
  color: var(--charcoal);
  text-decoration: none;
}
.blog-card-body h3 a:hover { color: var(--gold); }
.blog-card-body p {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.read-more {
  font-size: 0.8rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.read-more:hover { color: var(--gold-light); }

/* ================================================================
   SINGLE POST / PAGE CONTENT
   ================================================================ */
.page-content,
.single-content {
  padding: 4rem 0;
  background: var(--white);
}
.page-content .container,
.single-content .container {
  max-width: 720px;
}
.single-content .post-meta {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.single-content .post-meta a { color: var(--gold); text-decoration: none; }
.single-content .entry-content h2 { margin-top: 2rem; }
.single-content .entry-content p { line-height: 1.8; }
.single-content .entry-content a { color: var(--gold); }
.single-content .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.post-navigation {
  border-top: 1px solid var(--light-border);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
}
.post-navigation a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404 {
  padding: 6rem 0;
  text-align: center;
  background: var(--off-white);
}
.error-404 h1 {
  font-size: 6rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.error-404 h2 { color: var(--charcoal); margin-bottom: 1rem; }
.error-404 p { color: var(--gray-text); max-width: 500px; margin: 0 auto 2rem; }

/* ================================================================
   FOOTER
   ================================================================ */
footer.site-footer {
  background: var(--charcoal);
  color: #999;
  padding: 3.5rem 0 1.5rem;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col .footer-logo {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-col .footer-logo span { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }
.footer-bottom .social-links { display: flex; gap: 1rem; }
.footer-bottom .social-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-bottom .social-links a:hover { color: var(--gold); }

/* ===== DIVIDER ===== */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 2px;
}

/* ===== WORDPRESS CORE ===== */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--gray-text); text-align: center; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gallery-item { flex: 1; min-width: 150px; }
.gallery-item img { width: 100%; height: auto; border-radius: 4px; }

/* ============================================================
   GLOBAL: ENSURE ALL LOGO IMAGES NEVER HAVE WHITE BACKGROUNDS
   ============================================================ */
img[alt*="Golden Eagle"],
img[alt*="eagle"],
img[alt*="Eagle"],
img[alt*="logo"],
img[alt*="Logo"] {
  background: transparent !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.4rem; }
  header.site-header .container { flex-direction: column; gap: 1rem; }
  nav.main-navigation ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .about-inner { flex-direction: column; }
  .footer-grid { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .blog-grid { flex-direction: column; }
}
