/*
Theme Name: DragonHelio Child
Template: astra
Description: DragonHelio B2B solar microgrid EPC website - dark industrial tech style
Version: 1.0
Author: DragonHelio
*/

:root {
  --dh-navy: #0D2140;
  --dh-navy-2: #132D52;
  --dh-navy-3: #1A3A6B;
  --dh-amber: #FF8C00;
  --dh-crimson: #B8263E;
  --dh-white: #FFFFFF;
  --dh-gray: #6B7B8D;
  --dh-light: #F5F7FA;
  --dh-border: #E2E8F0;
}

/* ===== GLOBAL ===== */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.site-header,
.ast-mobile-header-wrap {
  background: var(--dh-navy) !important;
}

.main-header-menu a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-header-menu a:hover {
  color: var(--dh-amber) !important;
}

.site-branding .site-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
}

.site-branding .site-title a {
  color: var(--dh-white) !important;
}

/* ===== BUTTONS ===== */
.wp-block-button__link,
.elementor-button,
.ast-button {
  background: var(--dh-amber) !important;
  color: #000 !important;
  font-weight: 700;
  border-radius: 4px;
  padding: 14px 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.wp-block-button__link:hover {
  background: #E67E00 !important;
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.dh-hero {
  min-height: 90vh;
  background: linear-gradient(135deg, #050D18 0%, #0D2140 50%, #14305A 100%);
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.dh-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 40%, rgba(255,140,0,0.08) 0%, transparent 60%);
}

.dh-hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.dh-hero-line {
  width: 56px;
  height: 4px;
  background: var(--dh-amber);
  margin-bottom: 36px;
}

.dh-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  color: var(--dh-white);
  line-height: 1.08;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.dh-hero .accent {
  color: var(--dh-amber);
}

.dh-hero .tagline {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--dh-amber);
  font-weight: 700;
  margin-bottom: 20px;
}

.dh-hero .desc {
  font-size: 17px;
  color: rgba(180,200,230,0.85);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ===== STATS BAR ===== */
.dh-stats {
  background: var(--dh-navy);
  padding: 50px 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.dh-stat {
  text-align: center;
}

.dh-stat-num {
  font-size: 44px;
  font-weight: 900;
  color: var(--dh-amber);
}

.dh-stat-label {
  font-size: 13px;
  color: rgba(180,200,230,0.65);
  margin-top: 4px;
  letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.dh-section {
  padding: 90px 5%;
}

.dh-section-light {
  background: var(--dh-light);
}

.dh-section-dark {
  background: var(--dh-navy);
}

.dh-section-tag {
  font-size: 12px;
  color: var(--dh-amber);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.dh-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--dh-navy);
  line-height: 1.15;
}

.dh-section-dark .dh-section-title {
  color: var(--dh-white);
}

.dh-section-desc {
  font-size: 15px;
  color: var(--dh-gray);
  max-width: 640px;
  margin-top: 14px;
  line-height: 1.7;
}

.dh-section-dark .dh-section-desc {
  color: rgba(180,200,230,0.75);
}

/* ===== CARDS ===== */
.dh-card {
  background: var(--dh-white);
  border-radius: 8px;
  padding: 36px 26px;
  border-top: 3px solid var(--dh-amber);
  transition: transform 0.2s, box-shadow 0.2s;
}

.dh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13,33,64,0.08);
}

.dh-card-dark {
  background: var(--dh-navy-2);
  border-radius: 8px;
  padding: 36px 26px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.dh-card-dark.featured {
  border-color: var(--dh-amber);
  background: var(--dh-navy-3);
}

/* ===== CTA ===== */
.dh-cta {
  background: linear-gradient(135deg, #050D18 0%, #0D2140 100%);
  padding: 90px 5%;
  text-align: center;
}

.dh-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dh-white);
  margin-bottom: 14px;
}

.dh-cta p {
  color: rgba(180,200,230,0.75);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 36px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #040B13 !important;
  padding: 28px 5%;
  text-align: center;
}

.site-footer p,
.site-footer a {
  color: rgba(140,165,200,0.45) !important;
  font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .dh-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .dh-stats { grid-template-columns: 1fr; }
}
