/* === BLACKHAWK DEVELOPMENT COMPANY === */
/* Design: Dark / Sophisticated / Tech   */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #0c0f14;
  color: #e2e8f0;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; font-family: 'Inter', sans-serif; }
p  { color: #94a3b8; line-height: 1.75; }
a  { text-decoration: none; color: inherit; }
strong { color: #e2e8f0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 100px 0; }
.section-alt { background: #0a0d12; }

.eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: #38bdf8; margin-bottom: 0.75rem;
}
.section-lead { font-size: 1.05rem; color: #64748b; max-width: 600px; margin-bottom: 3rem; }

/* ---- NAVBAR ---- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px; display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(12,15,20,0.92);
  border-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
}
.nav-inner {
  max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark { width: 88px; height: 32px; }
.logo-text  { display: flex; flex-direction: column; }
.logo-name  {
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem;
  font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; line-height: 1;
}
.logo-sub { font-size: 0.58rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #38bdf8; }
.nav-links { display: flex; list-style: none; align-items: center; gap: 0.15rem; }
.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.65);
  padding: 0.45rem 0.85rem; border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #38bdf8; }
.nav-cta {
  background: #38bdf8 !important; color: #0c0f14 !important;
  font-weight: 700 !important; border-radius: 6px;
}
.nav-cta:hover { background: #7dd3fc !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* ---- HERO ---- */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; overflow: hidden; background: #050810;
}
.video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.video-bg video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.video-fallback {
  position: absolute; inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Aerial_view_National_Mall_12_2014_DC_711.JPG/2400px-Aerial_view_National_Mall_12_2014_DC_711.JPG') center/cover;
  animation: kbPan 30s ease-in-out infinite alternate;
}
@keyframes kbPan {
  from { transform: scale(1.0) translate(0,0); }
  to   { transform: scale(1.1) translate(-2%,-1%); }
}
.hero-grade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(5,8,16,0.88) 0%, rgba(5,8,16,0.4) 55%, rgba(5,8,16,0.65) 100%),
    linear-gradient(to bottom, rgba(5,8,16,0.3) 0%, rgba(5,8,16,0.0) 50%, rgba(5,8,16,0.85) 100%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 2; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hud-tl,.hud-tr,.hud-br {
  position: absolute; z-index: 4;
  font-family: 'Barlow Condensed', monospace; letter-spacing: 0.15em;
  text-transform: uppercase; display: flex; flex-direction: column; gap: 3px;
}
.hud-tl { top: 88px; left: 2rem; }
.hud-tr { top: 88px; right: 2rem; align-items: flex-end; }
.hud-br { bottom: 5rem; right: 2rem; flex-direction: row; align-items: center; gap: 0.6rem; }
.hud-label { font-size: 0.58rem; color: rgba(56,189,248,0.5); }
.hud-val   { font-size: 0.82rem; color: rgba(56,189,248,0.9); font-weight: 700; }
.hud-line  { width: 40px; height: 1px; background: rgba(56,189,248,0.3); }
.hud-dot   { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: gpsPulse 2s ease-in-out infinite; }
.hud-loc   { font-size: 0.68rem; color: rgba(255,255,255,0.55); }
@keyframes gpsPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}
.hero-content {
  position: relative; z-index: 3;
  max-width: 1200px; width: 100%; padding: 0 2rem;
}
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: #38bdf8; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: #38bdf8;
}
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; text-shadow: 0 4px 40px rgba(0,0,0,0.5); }
.hero-content h1 span { color: #38bdf8; }
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  max-width: 500px; line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #38bdf8; color: #0c0f14; font-weight: 700;
  font-size: 0.88rem; padding: 0.85rem 1.75rem; border-radius: 8px;
  letter-spacing: 0.02em; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #7dd3fc; transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85);
  font-weight: 500; font-size: 0.88rem; padding: 0.85rem 1.75rem;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); transition: background 0.2s, transform 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.hero-scroll-cue {
  position: absolute; bottom: 2.5rem; left: 2rem; z-index: 4;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); animation: scrollFade 3s ease-in-out infinite;
}
@keyframes scrollFade { 0%,100%{opacity:0.35} 50%{opacity:0.7} }

/* ---- ABOUT ---- */
.about-layout { display: block; max-width: 780px; }
.about-left h2 { color: #f1f5f9; margin-bottom: 1.5rem; }
.about-left p  { margin-bottom: 1.1rem; }
.stat-stack {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden; margin-bottom: 1.5rem;
}
.stat-item {
  background: #111520; padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: background 0.2s;
}
.stat-item:hover { background: #161b28; }
.stat-n {
  font-family: 'Barlow Condensed', sans-serif; font-size: 2.8rem;
  font-weight: 800; color: #38bdf8; line-height: 1;
}
.stat-n sup { font-size: 1.2rem; }
.stat-l { font-size: 0.7rem; font-weight: 500; color: #475569; text-transform: uppercase; letter-spacing: 0.08em; }
.seabee-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  border: 1px solid rgba(56,189,248,0.2);
  border-radius: 16px; padding: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.seabee-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.seabee-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.seabee-card strong { color: #38bdf8; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; overflow: hidden;
}
.svc-card {
  background: #111520; padding: 2rem;
  transition: background 0.2s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, #38bdf8, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover { background: #161b28; }
.svc-card:hover::before { opacity: 1; }
.svc-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.15em; color: #38bdf8; margin-bottom: 0.85rem;
}
.svc-card h3 { color: #e2e8f0; margin-bottom: 0.6rem; font-size: 0.98rem; }
.svc-card p  { font-size: 0.86rem; }

/* ---- CAPABILITIES ---- */
.cap-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.cap-card {
  background: #111520; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 2rem;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: rgba(56,189,248,0.25); }
.cap-card h3 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #38bdf8; margin-bottom: 1.25rem;
  padding-bottom: 0.75rem; border-bottom: 1px solid rgba(56,189,248,0.15);
}
.cap-card ul { list-style: none; }
.cap-card li {
  font-size: 0.87rem; color: #94a3b8; padding: 0.4rem 0 0.4rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04); position: relative;
}
.cap-card li::before { content: '›'; position: absolute; left: 0; color: #38bdf8; }
.naics-panel {
  background: #111520; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 2rem;
}
.naics-panel h4 {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: #475569; margin-bottom: 1.25rem;
}
.naics-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.65rem; }
.naics-list div { font-size: 0.84rem; color: #64748b; }
.naics-list strong { color: #38bdf8; margin-right: 0.5rem; font-weight: 600; }

/* ---- EXPERIENCE ---- */
.exp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.exp-card {
  background: #111520; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.exp-card:hover { border-color: rgba(56,189,248,0.2); transform: translateY(-4px); }
.exp-tag {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 4px; margin-bottom: 0.85rem;
}
.exp-tag.fed { background: rgba(56,189,248,0.1); color: #38bdf8; border: 1px solid rgba(56,189,248,0.2); }
.exp-tag.mil { background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.exp-tag.com { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }
.exp-tag.res { background: rgba(167,139,250,0.1); color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }
.exp-tag.pub { background: rgba(52,211,153,0.1); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.exp-card h3 { color: #e2e8f0; font-size: 1rem; margin-bottom: 0.3rem; }
.exp-role { font-size: 0.76rem; color: #475569; margin-bottom: 0.75rem; font-style: italic; }
.exp-card p { font-size: 0.86rem; }

/* ---- CERTIFICATIONS ---- */
.cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.cert-card {
  background: #111520; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 1.5rem; text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}
.cert-card:hover { border-color: rgba(56,189,248,0.25); transform: translateY(-3px); }
.cert-card.featured {
  border-color: rgba(56,189,248,0.3);
  background: linear-gradient(135deg, #111520 0%, #0f1e35 100%);
}
.cert-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.cert-card h3 { color: #e2e8f0; font-size: 0.92rem; margin-bottom: 0.5rem; }
.cert-card p  { font-size: 0.8rem; }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.contact-left h2 { color: #f1f5f9; margin-bottom: 1rem; }
.contact-left > p { margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; }
.ci-label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #334155; }
.contact-item span:last-child { font-size: 0.92rem; color: #94a3b8; }
.cert-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cert-pills span {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #38bdf8; background: rgba(56,189,248,0.08);
  border: 1px solid rgba(56,189,248,0.2); padding: 0.25rem 0.65rem; border-radius: 4px;
}
.contact-form {
  background: #111520; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px; padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: #475569; margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: #0c0f14; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: #e2e8f0; font-family: 'Inter', sans-serif;
  font-size: 0.9rem; padding: 0.75rem 1rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
}
.form-group select option { background: #111520; }
.btn-submit {
  width: 100%; background: #38bdf8; color: #0c0f14;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700;
  padding: 0.9rem; border: none; border-radius: 8px; cursor: pointer;
  transition: background 0.2s, transform 0.15s; letter-spacing: 0.02em;
}
.btn-submit:hover { background: #7dd3fc; transform: translateY(-1px); }
.form-success { margin-top: 1rem; text-align: center; font-size: 0.88rem; color: #4ade80; font-weight: 500; }

/* ---- FOOTER ---- */
.footer { background: #070a0f; border-top: 1px solid rgba(255,255,255,0.05); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.footer-tagline { font-size: 0.68rem; color: #334155; letter-spacing: 0.08em; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; color: #334155; transition: color 0.2s; }
.footer-nav a:hover { color: #94a3b8; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.76rem; color: #1e293b;
}
.footer-certs { color: #38bdf8; font-weight: 500; }

/* ---- REVEAL ANIMATIONS ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .cert-grid     { grid-template-columns: repeat(2,1fr); }
  .exp-grid      { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  /* Section spacing */
  .section { padding: 64px 0; }
  .container { padding: 0 1.25rem; }

  /* Nav */
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(12,15,20,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06); gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; font-size: 0.9rem; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 5rem; }
  .hero-content { padding: 0 1.25rem; }
  .hero-content h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
  .hero-desc { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; padding: 1rem; }
  .hero-scroll-cue { display: none; }
  .hud-tl,.hud-tr,.hud-br { display: none; }

  /* About */
  .about-layout { max-width: 100%; }
  .about-left h2 { font-size: clamp(1.8rem, 6vw, 2.4rem); }

  /* Grids → single column */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cap-grid       { grid-template-columns: 1fr; }
  .naics-list     { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .exp-grid       { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .cert-grid      { grid-template-columns: 1fr 1fr; }

  /* Contact form */
  .contact-form { padding: 1.5rem; }

  /* Footer */
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-nav { gap: 1rem; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .container { padding: 0 1rem; }

  /* Hero tighter on small phones */
  .hero-content h1 { font-size: clamp(2.2rem, 12vw, 3rem); }
  .hero-eyebrow { font-size: 0.65rem; }

  /* Certs single col */
  .cert-grid { grid-template-columns: 1fr; }

  /* Services full width */
  .svc-card { padding: 1.5rem; }
  .cap-card { padding: 1.5rem; }
  .exp-card { padding: 1.5rem; }

  /* Logo smaller on tiny screens */
  .logo-mark { width: 64px; height: 23px; }
  .logo-name { font-size: 0.95rem; }
  .logo-sub  { display: none; }

  /* Section headings */
  h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Contact form full padding reduction */
  .contact-form { padding: 1.25rem; border-radius: 12px; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; } /* prevents iOS zoom on focus */

  /* Footer */
  .footer-nav { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}
