/* TASKFORCE031 - STYLESHEET */

:root {
  --bg-dark: #0a0e0d;
  --bg-darker: #050807;
  --card-bg: rgba(18, 26, 23, 0.85);
  --tactical-green: #4f772d;
  --tactical-lime: #90a955;
  --tactical-accent: #00ff66;
  --border-color: rgba(144, 169, 85, 0.3);
  --font-orbitron: 'Orbitron', sans-serif;
  --font-rajdhani: 'Rajdhani', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: #ecf39e;
  font-family: var(--font-rajdhani);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.bg-darker {
  background-color: var(--bg-darker);
}

.font-orbitron {
  font-family: var(--font-orbitron);
}

.grid-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(144, 169, 85, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(144, 169, 85, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
  pointer-events: none;
}

.custom-navbar {
  background: rgba(10, 14, 13, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.logo-box {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform:scale(1.3);
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.brand-title {
  display: block;
  font-family: var(--font-orbitron);
  font-weight: 900;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.brand-subtitle {
  display: block;
  font-size: 0.65rem;
  color: var(--tactical-lime);
  letter-spacing: 1px;
}

.nav-link {
  font-family: var(--font-orbitron);
  font-size: 0.85rem;
  color: #ccc !important;
  letter-spacing: 1px;
  padding: 8px 16px !important;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--tactical-accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.6);
}

.btn-tactical-nav {
  background: rgba(79, 119, 45, 0.3);
  border: 1px solid var(--tactical-lime);
  color: #fff;
  font-family: var(--font-orbitron);
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 8px 18px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.btn-tactical-nav:hover {
  background: var(--tactical-accent);
  color: #000;
  border-color: var(--tactical-accent);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6) contrast(1.2) hue-rotate(330deg);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at center, rgba(10, 14, 13, 0.4) 0%, rgba(10, 14, 13, 0.95) 90%),
    linear-gradient(0deg, rgba(10,14,13,1) 0%, transparent 20%);
  z-index: 1;
}

.scanline {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 102, 0.04) 3px, rgba(0, 255, 102, 0.04) 3px);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  z-index: 3;
}

.hero-title {
  font-family: var(--font-orbitron);
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  letter-spacing: 3px;
}

.hero-subtitle {
  color: var(--tactical-accent);
  font-family: var(--font-orbitron);
  letter-spacing: 2px;
  min-height: 32px;
}

.status-badge {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--tactical-accent);
  color: var(--tactical-accent);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-family: var(--font-orbitron);
  letter-spacing: 2px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background-color: var(--tactical-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--tactical-accent);
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.btn-tactical {
  background: var(--tactical-green);
  color: #fff;
  border: 1px solid var(--tactical-lime);
  border-radius: 0;
  font-family: var(--font-orbitron);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn-tactical:hover {
  background: var(--tactical-accent);
  color: #000;
  border-color: var(--tactical-accent);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.6);
}

.btn-tactical-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-family: var(--font-orbitron);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 28px;
  transition: all 0.3s ease;
}

.btn-tactical-outline:hover {
  border-color: var(--tactical-accent);
  color: var(--tactical-accent);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
}

.hero-telemetry {
  border-top: 1px dashed var(--border-color);
  font-family: var(--font-orbitron);
  font-size: 0.75rem;
}

.telemetry-item .label {
  color: #666;
  margin-right: 8px;
}

.telemetry-item .val {
  color: var(--tactical-lime);
}

.section-tag {
  font-family: var(--font-orbitron);
  color: var(--tactical-accent);
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.hud-heading {
  font-family: var(--font-orbitron);
  color: #fff;
  letter-spacing: 2px;
}

.hud-frame {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  position: relative;
  backdrop-filter: blur(10px);
}

.stat-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

.stat-num {
  font-family: var(--font-orbitron);
  font-size: 1.5rem;
  color: var(--tactical-accent);
  font-weight: 800;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--tactical-lime);
  letter-spacing: 1px;
}

.tactical-img-wrapper {
  position: relative;
  border: 1px solid var(--border-color);
}

.tactical-img {
  filter: grayscale(30%) contrast(1.1);
  width: 100%;
}

.img-tech-overlay .corner-tl,
.img-tech-overlay .corner-tr,
.img-tech-overlay .corner-bl,
.img-tech-overlay .corner-br {
  position: absolute;
  width: 15px; height: 15px;
  border: 2px solid var(--tactical-accent);
}

.img-tech-overlay .corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.img-tech-overlay .corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.img-tech-overlay .corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.img-tech-overlay .corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 250px;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-info h5 {
  font-family: var(--font-orbitron);
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.cta-frame {
  background: linear-gradient(135deg, rgba(18, 26, 23, 0.95), rgba(79, 119, 45, 0.2));
  border: 1px solid var(--tactical-accent);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.15);
}

.hud-form {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

.tactical-input {
  background: rgba(0, 0, 0, 0.7) !important;
  border: 1px solid var(--border-color) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 10px 14px;
}

.tactical-input:focus {
  border-color: var(--tactical-accent) !important;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.3) !important;
}

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--tactical-accent);
  color: var(--tactical-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
}

.social-btn {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--tactical-lime);
  color: #fff;
  padding: 10px 20px;
  font-family: var(--font-orbitron);
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-btn:hover {
  background: var(--tactical-accent);
  color: #000;
  border-color: var(--tactical-accent);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

/* Radar Ping Effect (Doffer & 2 Ringen) */
.radar-ping {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(25, 135, 84, 0.4); /* Doffer tactisch groen */
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* De basis voor beide ringen */
.radar-ping::before,
.radar-ping::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(25, 135, 84, 0.35); /* Doffere rand */
  border-radius: 50%;
  animation: radarPulse 3s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Eerste ring */
.radar-ping::before {
  animation-delay: 0s;
}

/* Tweede ring */
.radar-ping::after {
  animation-delay: 1.2s;
}

@keyframes radarPulse {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.8;
  }
  100% {
    width: 110px;
    height: 110px;
    opacity: 0;
  }
}

/* Globale variabelen op de body */
body {
  position: relative;
  --mouse-x: -500px;
  --mouse-y: -500px;
}

/* 1. Zachte achtergrond glow over de gehele pagina */
body::before {
  content: '';
  position: fixed; /* Blijft vast op het scherm tijdens scrollen */
  inset: 0;
  background: radial-gradient(
    320px circle at var(--mouse-x) var(--mouse-y), 
    rgba(25, 135, 84, 0.18), /* Dof tactisch groen */
    transparent 80%
  );
  pointer-events: none;
  z-index: 0; /* Valt netjes achter alle content/kaarten */
}

/* 2. Het opgelichte ruitjesraster over de gehele pagina */
body::after {
  content: '';
  position: fixed; /* Blijft vast op het scherm tijdens scrollen */
  inset: 0;
  
  /* Ruitjesraster (30px bij 30px) */
  background-image: 
    linear-gradient(to right, rgba(25, 135, 84, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(25, 135, 84, 0.45) 1px, transparent 1px);
  background-size: 30px 30px;
  
  /* Masker dat het raster toont rondom de cursor */
  -webkit-mask-image: radial-gradient(
    280px circle at var(--mouse-x) var(--mouse-y), 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 0) 80%
  );
  mask-image: radial-gradient(
    280px circle at var(--mouse-x) var(--mouse-y), 
    rgba(0, 0, 0, 1) 0%, 
    rgba(0, 0, 0, 0) 80%
  );
  
  pointer-events: none;
  z-index: 0;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 8px;  
  height: 8px; 
}
::-webkit-scrollbar-track {
  background: #0b0f0d; 
  border-left: 1px solid rgba(25, 135, 84, 0.2); 
}
::-webkit-scrollbar-thumb {
  background: rgba(25, 135, 84, 0.4); 
  border-radius: 0px; 
  border: 1px solid rgba(25, 135, 84, 0.6); 
  box-shadow: 0 0 5px rgba(25, 135, 84, 0.3); 
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(25, 135, 84, 0.8);
  box-shadow: 0 0 10px rgba(25, 135, 84, 0.8); 
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(25, 135, 84, 0.6) #0b0f0d;
}

/* loading screen anim */
.tactical-loader-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: rgba(11, 15, 13, 0.95);
  border: 1px solid rgba(25, 135, 84, 0.6);
  box-shadow: 0 0 15px rgba(25, 135, 84, 0.25);
  padding: 12px;
  font-family: monospace;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.loader-title {
  font-size: 11px;
  color: #a0a0a0;
  letter-spacing: 1px;
}

.loader-status {
  font-size: 10px;
  font-weight: bold;
}

.loader-text {
  font-size: 11px;
  color: #fff;
}

.loader-progress {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
}

.loader-progress .progress-bar {
  transition: width 0.2s ease-in-out;
  box-shadow: 0 0 8px rgba(25, 135, 84, 0.8);
}

.tactical-loader-box.hide-loader {
  opacity: 0;
  transform: translateY(15px);
}

/* cookie banner */
.hud-cookie-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: rgba(11, 15, 13, 0.95);
  border: 1px solid rgba(25, 135, 84, 0.6);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(25, 135, 84, 0.2);
  padding: 16px;
  font-family: monospace;
  z-index: 9998;
  backdrop-filter: blur(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hud-cookie-tag {
  font-size: 11px;
  color: #198754;
  font-weight: bold;
  letter-spacing: 1px;
}

.style-code {
  font-size: 9px;
  letter-spacing: 0.5px;
}

.hud-cookie-text {
  font-size: 11px;
  color: #c0c0c0;
  line-height: 1.4;
}

.btn-hud-success {
  background-color: rgba(25, 135, 84, 0.2);
  border: 1px solid #198754;
  color: #fff;
  font-family: monospace;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-radius: 0;
  transition: all 0.2s ease;
}

.btn-hud-success:hover {
  background-color: #198754;
  color: #000;
  box-shadow: 0 0 10px rgba(25, 135, 84, 0.8);
}

.btn-hud-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #a0a0a0;
  font-family: monospace;
  font-size: 10px;
  border-radius: 0;
  transition: all 0.2s ease;
}

.btn-hud-outline:hover {
  border-color: #198754;
  color: #198754;
  background-color: rgba(25, 135, 84, 0.1);
}

.hud-cookie-box.hide-banner {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* team page */

.roster-card {
  position: relative;
  background: rgba(11, 15, 13, 0.9);
  border: 1px solid rgba(25, 135, 84, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.roster-card:hover {
  border-color: #198754;
  box-shadow: 0 0 20px rgba(25, 135, 84, 0.25);
  transform: translateY(-3px);
}

.roster-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #050806;
}

.roster-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.roster-card:hover .roster-img-wrapper img {
  transform: scale(1.04);
}

.roster-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(10, 15, 12, 0.85);
  border: 1px solid #198754;
  color: #198754;
  font-family: monospace;
  font-size: 10px;
  padding: 3px 8px;
  letter-spacing: 1px;
}

/* Feature & Visual Cards */
.hud-feature-card {
  background: rgba(11, 15, 13, 0.85);
  border: 1px solid rgba(25, 135, 84, 0.25);
  transition: all 0.3s ease;
}
.hud-feature-card:hover {
  border-color: #198754;
  box-shadow: 0 0 15px rgba(25, 135, 84, 0.2);
  transform: translateY(-2px);
}

.img-hud-frame {
  position: relative;
  border: 1px solid rgba(25, 135, 84, 0.4);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.img-hud-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-hud-frame::after {
  content: '// VISUAL_INTEL';
  position: absolute;
  bottom: 8px;
  right: 12px;
  background: rgba(10, 15, 12, 0.85);
  border: 1px solid #198754;
  color: #198754;
  font-family: monospace;
  font-size: 9px;
  padding: 2px 6px;
  letter-spacing: 1px;
}