/*
Theme Name: VDCT Construction
Theme URI: https://vdctechnology.com
Author: MS Group IT, LLC
Description: Custom WordPress theme for VDCT.US — Virtual Design & Construction Technology
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: vdct
*/

/* ─────────────────────────────────────────────
   TOKENS & RESET
───────────────────────────────────────────── */
:root {
  --navy:       #122147;
  --navy-dark:  #161D2B;
  --gold:       #E6A817;
  --gold-hover: #C8920E;
  --white:      #FFFFFF;
  --gray-bg:    #EFF3F7;
  --gray-text:  #657085;
  --gray-muted: #9AAABF;
  --gray-border:#DDE3EB;
  --radius-sm:  8px;
  --radius-md:  10px;
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
  --container:  1200px;
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #161D2B;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 768px) {
  .container { padding-inline: 16px; }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 560px;
  margin-inline: auto;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img {
  display: block;
  width: auto !important;
  height: 64px !important;
  max-width: 674px !important;
  max-height: 64px !important;
}
.site-logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}

/* Nav */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  padding: 6px 14px;
  border-radius: 20px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.2px;
}
.site-nav a:hover {
  color: var(--gold);
}
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  background: #F4F6F9;
  color: var(--gold);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  .site-nav a { display: block; padding: 10px 16px; border-radius: 8px; font-size: 15px; }
}

/* ─────────────────────────────────────────────
   HERO — video background
───────────────────────────────────────────── */

/*
 * .hero uses display:flex so its height is driven by .hero-content,
 * not by the absolutely-positioned video. The video and overlay are
 * pulled out of document flow with position:absolute so they never
 * push content around.
 */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 140px 32px;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}

/* Video — absolutely positioned, fills .hero, never in document flow */
.hero-video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Dark overlay — sits directly above video */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 42, 74, 0.72);
  z-index: 1;
}

/* Content — flex child, always renders above video and overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.hero p {
  font-size: clamp(16px, 2vw, 18px);
  color: #DCE6F5;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 620px;
  margin-inline: auto;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero { padding: 100px 24px; }
}
@media (max-width: 480px) {
  .hero { padding: 80px 20px; min-height: 480px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
/* ── HERO SUBHEADLINE ─────────────────────────── */
.hero-subheadline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 0 1rem;
  font-weight: 400;
}

/* ── HERO VALUE STATEMENT ─────────────────────── */
.hero-value-statement {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 640px;
  margin: 0 0 2rem;
  font-weight: 400;
}

/* ── HERO DIFFERENTIATORS ─────────────────────── */
.hero-differentiators {
  list-style: square;
  color: #FFFFFF;
  margin: 0 0 2.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-differentiators li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

.hero-differentiators li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  margin-top: 6px;
}

.hero-differentiators li strong {
  color: #FFFFFF;
  font-weight: 500;
}


/* ─────────────────────────────────────────────
   CORE COMPETENCIES
───────────────────────────────────────────── */
.competencies {
  background: var(--white);
  padding: 88px 0;
}
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comp-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.comp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.comp-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(245,166,35,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 20px;
}
.comp-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.comp-card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .competencies-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .competencies-grid { grid-template-columns: 1fr; }
  .competencies { padding: 60px 0; }
}

/* ─────────────────────────────────────────────
   OUR SERVICES
───────────────────────────────────────────── */
.services {
  background: var(--gray-bg);
  padding: 88px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.service-card .svc-icon {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 18px;
}
.service-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .services { padding: 60px 0; }
}

/* ─────────────────────────────────────────────
   TECHNOLOGY & INNOVATION
───────────────────────────────────────────── */
.technology {
  background: var(--white);
  padding: 88px 0;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tech-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.tech-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.tech-card .tech-icon {
  width: 56px;
  height: 56px;
  background: rgba(245,166,35,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  font-size: 26px;
}
.tech-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.tech-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr; }
  .technology { padding: 60px 0; }
}

/* ─────────────────────────────────────────────
   STATS
───────────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-number span {
  color: var(--gold);
}
.stat-item .stat-label {
  font-size: 14px;
  color: var(--gray-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stats { padding: 56px 0; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta-section {
  background: var(--gray-bg);
  padding: 96px 0;
  text-align: center;
}
.cta-section .container { max-width: 680px; }
.cta-section h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.cta-section p {
  font-size: 17px;
  color: var(--gray-text);
  margin-bottom: 36px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .cta-section { padding: 64px 0; }
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
}
.footer-main {
  padding: 64px 0 52px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--gray-muted);
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--gray-muted);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--gold); }
.footer-col address {
  font-style: normal;
  font-size: 14px;
  color: var(--gray-muted);
  line-height: 2.2;
}
.footer-col address a {
  color: var(--gold);
  transition: opacity var(--transition);
}
.footer-col address a:hover { opacity: 0.8; }

.footer-bar {
  background: var(--navy-dark);
  padding: 18px 0;
}
.footer-bar p {
  text-align: center;
  font-size: 13px;
  color: #6B7E99;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-main { padding: 48px 0 40px; }
}

/* ─────────────────────────────────────────────
   WORDPRESS CORE
───────────────────────────────────────────── */
.wp-block-image { margin: 0; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}

.et_pb_section.full-width,
.et_pb_section.full-width > .et_pb_inner {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
