/*
Theme Name: VA Home Hero
Theme URI: https://vahomehero.com
Author: VA Home Hero
Author URI: https://vahomehero.com
Description: Custom theme for VA Home Hero — the Veteran-exclusive platform.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfour
Text Domain: vahomehero
Tags: custom-colors, custom-logo, full-site-editing
*/

/* ============================================================
   VA HOME HERO — GLOBAL CSS VARIABLES
   ============================================================ */
:root {
  --vhh-navy:       #0D2B5E;
  --vhh-navy-deep:  #061529;
  --vhh-navy-mid:   #0f3570;
  --vhh-gold:       #C9A84C;
  --vhh-gold-light: #e2c270;
  --vhh-gold-dim:   rgba(201,168,76,0.15);
  --vhh-white:      #FFFFFF;
  --vhh-warm:       #F9F7F2;
  --vhh-text:       #2C2C2C;
  --vhh-muted:      #666666;
  --vhh-border:     #E8E8E8;
  --font-display:   'Bebas Neue', sans-serif;
  --font-serif:     'Crimson Pro', Georgia, serif;
  --font-body:      'DM Sans', sans-serif;
}

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

body {
  font-family: var(--font-body);
  color: var(--vhh-text);
  background: var(--vhh-white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--vhh-navy); text-decoration: none; }
a:hover { color: var(--vhh-gold); }

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ============================================================
   NAVIGATION HEADER
   ============================================================ */
.site-header {
  background: var(--vhh-white);
  border-bottom: 1px solid var(--vhh-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-branding img {
  height: 44px;
  width: auto;
  display: block;
}
.site-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--vhh-navy);
  line-height: 1;
  white-space: nowrap;
}
.site-name span {
  color: var(--vhh-gold);
}

/* Primary Nav */
.primary-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-navigation li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--vhh-navy);
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
}
.primary-navigation li a:hover,
.primary-navigation li.current-menu-item a {
  background: var(--vhh-navy);
  color: var(--vhh-white);
}
.primary-navigation li.current-menu-item a {
  background: var(--vhh-navy);
  color: var(--vhh-white);
}

/* Nav CTA button */
.nav-cta a {
  background: var(--vhh-gold) !important;
  color: var(--vhh-navy) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
}
.nav-cta a:hover {
  background: var(--vhh-gold-light) !important;
  color: var(--vhh-navy) !important;
}

/* Mobile nav toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--vhh-navy);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--vhh-navy);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--vhh-white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--vhh-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
  }
  .primary-navigation.is-open { display: flex; }
  .primary-navigation li { width: 100%; }
  .primary-navigation li a { padding: 12px 16px; }
  .header-inner { padding: 0 20px; }
}

/* ============================================================
   COMING SOON PAGE (Home page template)
   ============================================================ */
.coming-soon-page {
  background: var(--vhh-navy-deep);
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
}

/* Background layers */
.cs-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cs-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(13,43,94,0.9) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(170deg, #061529 0%, #0a1e42 45%, #061529 100%);
}
.cs-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30 L60 30 M30 0 L30 60' stroke='rgba(201,168,76,0.04)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.cs-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  text-align: center;
}

/* Eyebrow */
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vhh-gold);
  margin-bottom: 28px;
}
.cs-eyebrow::before, .cs-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--vhh-gold);
  opacity: 0.5;
}

/* Headline */
.cs-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 112px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--vhh-white);
  text-transform: uppercase;
  margin: 0 0 8px;
}
.cs-headline .gold { color: var(--vhh-gold); display: block; }
.cs-headline .outline {
  -webkit-text-stroke: 1.5px rgba(249,247,242,0.2);
  color: transparent;
  display: block;
}

/* Subhead */
.cs-subhead {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 300;
  font-style: italic;
  color: rgba(249,247,242,0.65);
  max-width: 600px;
  margin: 24px auto 44px;
  line-height: 1.7;
}
.cs-subhead strong {
  color: var(--vhh-warm);
  font-style: normal;
  font-weight: 600;
}

/* Pillars */
.cs-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 52px;
}
.cs-pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-size: 13px;
  color: rgba(249,247,242,0.55);
  white-space: nowrap;
}
.cs-pillar-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--vhh-gold);
  flex-shrink: 0;
}
.cs-pillar-div {
  width: 1px; height: 18px;
  background: rgba(201,168,76,0.25);
}
@media (max-width: 560px) {
  .cs-pillar-div { display: none; }
  .cs-pillar { padding: 4px 12px; }
  .cs-pillars { flex-direction: column; gap: 4px; }
}

/* Form box */
.cs-form-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 20px;
  padding: 40px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.05), 0 32px 80px rgba(0,0,0,0.5);
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.cs-form-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vhh-gold);
  margin-bottom: 6px;
  display: block;
}
.cs-form-title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--vhh-white);
  margin-bottom: 6px;
  line-height: 1.1;
}
.cs-form-sub {
  font-size: 14px;
  color: rgba(249,247,242,0.6);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cs-form-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(249,247,242,0.3);
  text-align: center;
  line-height: 1.6;
}
.cs-form-note a {
  color: rgba(201,168,76,0.6);
}
.cs-form-note a:hover { color: var(--vhh-gold); }

/* WPForms overrides inside the form box */
.cs-form-box .wpforms-form .wpforms-field-label {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(249,247,242,0.5) !important;
  margin-bottom: 8px !important;
}
.cs-form-box .wpforms-form input[type="text"],
.cs-form-box .wpforms-form input[type="email"] {
  width: 100% !important;
  height: 50px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  padding: 0 16px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--vhh-white) !important;
  outline: none !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s !important;
  box-shadow: none !important;
}
.cs-form-box .wpforms-form input[type="text"]::placeholder,
.cs-form-box .wpforms-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.22) !important;
}
.cs-form-box .wpforms-form input[type="text"]:focus,
.cs-form-box .wpforms-form input[type="email"]:focus {
  border-color: var(--vhh-gold) !important;
  background: rgba(201,168,76,0.06) !important;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12) !important;
}
.cs-form-box .wpforms-form .wpforms-submit-container { margin-top: 8px !important; }
.cs-form-box .wpforms-form button[type="submit"],
.cs-form-box .wpforms-form input[type="submit"] {
  width: 100% !important;
  height: 54px !important;
  background: var(--vhh-gold) !important;
  border: none !important;
  border-radius: 10px !important;
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  letter-spacing: 0.1em !important;
  color: var(--vhh-navy-deep) !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 8px 32px rgba(201,168,76,0.25) !important;
}
.cs-form-box .wpforms-form button[type="submit"]:hover {
  background: var(--vhh-gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 40px rgba(201,168,76,0.35) !important;
}
.cs-form-box .wpforms-form .wpforms-confirmation-container-full {
  background: rgba(201,168,76,0.08) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  color: var(--vhh-warm) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  text-align: center !important;
}
.cs-form-box .wpforms-field { margin-bottom: 16px !important; }
.cs-form-box .wpforms-error-container,
.cs-form-box .wpforms-form .wpforms-field-error {
  color: #f87171 !important;
  font-size: 12px !important;
}

/* Countdown */
.cs-countdown-wrap {
  margin-top: 52px;
  text-align: center;
}
.cs-countdown-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.3);
  margin-bottom: 16px;
}
.cs-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cs-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(13,43,94,0.6);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 14px 18px;
  min-width: 72px;
}
.cs-cd-num {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--vhh-gold);
  letter-spacing: 0.02em;
}
.cs-cd-unit {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.3);
  margin-top: 4px;
}
.cs-cd-sep {
  font-family: var(--font-display);
  font-size: 32px;
  color: rgba(201,168,76,0.3);
  padding-bottom: 18px;
  line-height: 1;
}
@media (max-width: 400px) {
  .cs-cd-block { min-width: 56px; padding: 10px 8px; }
  .cs-cd-num { font-size: 28px; }
}

/* Gold rule */
.cs-gold-rule {
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3) 30%, rgba(201,168,76,0.3) 70%, transparent);
  margin: 64px auto 0;
}

/* Features grid */
.cs-features {
  margin-top: 56px;
  text-align: center;
}
.cs-features-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.3);
  margin-bottom: 28px;
}
.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .cs-features-grid { grid-template-columns: repeat(4, 1fr); }
}
.cs-feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.cs-feature-card:hover {
  border-color: rgba(201,168,76,0.25);
  background: rgba(201,168,76,0.04);
}
.cs-feature-icon { font-size: 26px; margin-bottom: 12px; display: block; }
.cs-feature-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--vhh-white);
  margin-bottom: 6px;
}
.cs-feature-desc {
  font-size: 12px;
  color: rgba(249,247,242,0.38);
  line-height: 1.55;
}

/* ============================================================
   INNER PAGES (About, Contact)
   ============================================================ */
.page-hero-banner {
  background: var(--vhh-navy);
  padding: 72px 24px;
  text-align: center;
}
.page-hero-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  color: var(--vhh-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.page-hero-banner p {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-style: italic;
  color: rgba(249,247,242,0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero-banner .gold-accent {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--vhh-gold);
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px;
}

/* About page */
.about-section { margin-bottom: 56px; }
.about-section h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--vhh-navy);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.about-section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--vhh-text);
  max-width: 700px;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.about-pillar-card {
  background: var(--vhh-warm);
  border: 1px solid var(--vhh-border);
  border-radius: 16px;
  padding: 28px 24px;
  border-top: 3px solid var(--vhh-gold);
}
.about-pillar-card .icon { font-size: 28px; margin-bottom: 14px; display: block; }
.about-pillar-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--vhh-navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.about-pillar-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--vhh-muted);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.05em;
  color: var(--vhh-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.contact-info p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vhh-muted);
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--vhh-border);
  font-size: 15px;
  color: var(--vhh-text);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 36px; height: 36px;
  background: var(--vhh-gold-dim);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-trust-items { margin-top: 28px; }
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--vhh-muted);
  margin-bottom: 10px;
}
.contact-trust-item::before {
  content: '✓';
  color: var(--vhh-gold);
  font-weight: 700;
  flex-shrink: 0;
}
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--vhh-navy);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* WPForms contact page overrides */
.contact-form-wrap .wpforms-form .wpforms-field-label {
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: var(--vhh-muted) !important;
  margin-bottom: 8px !important;
}
.contact-form-wrap .wpforms-form input[type="text"],
.contact-form-wrap .wpforms-form input[type="email"],
.contact-form-wrap .wpforms-form select,
.contact-form-wrap .wpforms-form textarea {
  width: 100% !important;
  background: var(--vhh-white) !important;
  border: 1px solid var(--vhh-border) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: var(--vhh-text) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  box-shadow: none !important;
}
.contact-form-wrap .wpforms-form input:focus,
.contact-form-wrap .wpforms-form select:focus,
.contact-form-wrap .wpforms-form textarea:focus {
  border-color: var(--vhh-navy) !important;
  box-shadow: 0 0 0 3px rgba(13,43,94,0.1) !important;
  outline: none !important;
}
.contact-form-wrap .wpforms-form textarea {
  min-height: 130px !important;
  resize: vertical !important;
}
.contact-form-wrap .wpforms-form button[type="submit"] {
  background: var(--vhh-navy) !important;
  color: var(--vhh-white) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  letter-spacing: 0.08em !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.15s !important;
}
.contact-form-wrap .wpforms-form button[type="submit"]:hover {
  background: var(--vhh-navy-mid) !important;
  transform: translateY(-1px) !important;
}
.contact-form-wrap .wpforms-field { margin-bottom: 18px !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--vhh-navy-deep);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img { height: 32px; width: auto; opacity: 0.8; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.footer-brand-name span { color: rgba(201,168,76,0.5); }
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  padding: 0 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--vhh-gold); }
.footer-links span { color: rgba(255,255,255,0.1); font-size: 10px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.15); margin-bottom: 6px; }
.footer-veteran {
  font-size: 11px;
  color: rgba(201,168,76,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
