/* ============================================================
   TARGETS PAGE · MISSION BRIEFING · CINEMATIC STYLE
   Alternating dramatic sections with color shifts and textures
   ============================================================ */

/* ---- TARGETS HERO ---- */
.tgt-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 0 2rem;
  overflow: hidden;
  background: var(--navy);
}
.tgt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/targets_hero_bg.webp') center/cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}
.tgt-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,40,0.6) 0%, rgba(10,20,40,0.85) 60%, var(--navy) 100%);
  pointer-events: none;
}
.tgt-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,107,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 70%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 70%, black 20%, transparent 70%);
}
.tgt-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 90%, rgba(255,107,26,0.12), transparent 50%);
}
.tgt-hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}
.tgt-hero-inner {
  position: relative;
  z-index: 3;
}
.tgt-hero-h1 {
  font-family: "Geometos Neue Bold", "Geometos Neue", var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
  color: var(--bone);
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
}
.tgt-hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244,241,234,0.65);
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ---- QUICK NAV ---- */
.tgt-quicknav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(244,241,234,0.08);
  margin-top: 2rem;
}
.tgt-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(244,241,234,0.03);
  border: 1px solid rgba(244,241,234,0.1);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(244,241,234,0.6);
  transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}
.tgt-nav-chip:hover {
  color: var(--bone);
  border-color: var(--orange);
  background: rgba(255,107,26,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,107,26,0.15);
}
.tgt-nav-num {
  color: var(--orange);
  font-weight: 700;
}

/* ---- TARGET SECTIONS — BASE ---- */
.tgt-section {
  scroll-margin-top: 120px;
  padding: 6rem 0;
  position: relative;
  border-bottom: 1px solid rgba(244,241,234,0.04);
  overflow: hidden;
  /* Scroll reveal */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1), transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tgt-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ALTERNATING DRAMATIC BACKGROUNDS ---- */

/* Odd sections: dark navy with subtle grid pattern */
.tgt-odd {
  background: 
    linear-gradient(135deg, rgba(10,20,40,0.97) 0%, rgba(15,27,54,0.95) 100%);
}
.tgt-odd::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,26,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Even sections: deep warm dark with orange radial glow */
.tgt-even {
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(255,107,26,0.06), transparent 50%),
    linear-gradient(135deg, rgba(22,37,70,0.95) 0%, rgba(10,20,40,0.98) 100%);
}
.tgt-even::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/img/constitution_texture.webp') center/cover no-repeat;
  opacity: 0.025;
  pointer-events: none;
}

/* Special accent sections — every 3rd gets a stronger treatment */
.tgt-section:nth-child(3n+2)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, rgba(255,107,26,0.03), transparent);
  pointer-events: none;
}

/* Diagonal accent stripe on select sections */
.tgt-section:nth-child(4)::after,
.tgt-section:nth-child(7)::after,
.tgt-section:nth-child(10)::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 1px;
  height: 200%;
  background: rgba(255,107,26,0.1);
  transform: rotate(25deg);
  pointer-events: none;
}

/* ---- TARGET CONTENT GRID ---- */
.tgt-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
@media (max-width: 640px) {
  .tgt-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tgt-number-col {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 1rem;
  }
  .tgt-vert-line {
    display: none;
  }
}

/* ---- NUMBER COLUMN — DRAMATIC ---- */
.tgt-number-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}
.tgt-big-num {
  font-family: "Geometos Neue Bold", "Geometos Neue", var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: transparent;
  font-weight: 900;
  -webkit-text-stroke: 1.5px rgba(255,107,26,0.5);
  text-shadow: 0 0 40px rgba(255,107,26,0.1);
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tgt-section:hover .tgt-big-num {
  -webkit-text-stroke: 2px rgba(255,107,26,0.8);
  text-shadow: 0 0 60px rgba(255,107,26,0.2);
}
.tgt-vert-line {
  width: 1px;
  flex: 1;
  min-height: 100px;
  background: linear-gradient(to bottom, rgba(255,107,26,0.5), rgba(255,107,26,0.05));
}

/* ---- TARGET BODY ---- */
.tgt-body {
  max-width: 720px;
}
.tgt-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.tgt-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(244,241,234,0.4);
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,107,26,0.2);
  border-radius: 2px;
}
.tgt-h2 {
  font-family: "Geometos Neue Bold", "Geometos Neue", var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.05;
  color: var(--bone);
  margin-bottom: 1rem;
}
.tgt-h2 .orange { color: var(--orange); }
.text-center { text-align: center; }

.tgt-tagline {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(244,241,234,0.75);
  margin-bottom: 1.75rem;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--orange);
  background: linear-gradient(to right, rgba(255,107,26,0.04), transparent);
}
.tgt-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(244,241,234,0.75);
  margin-bottom: 1.25rem;
}

/* ---- SECTION HOVER EFFECT ---- */
.tgt-section {
  transition: opacity 700ms cubic-bezier(0.23, 1, 0.32, 1), 
              transform 700ms cubic-bezier(0.23, 1, 0.32, 1),
              background 400ms ease;
}
.tgt-section:hover {
  background-color: rgba(255,107,26,0.015);
}

/* ---- SECTION DIVIDER ACCENTS ---- */
.tgt-section + .tgt-section::before {
  /* Already handled by the alternating bg pseudo-elements */
}

/* ---- PATRIOT MISSION CTA ---- */
.tgt-mission-cta {
  position: relative;
  padding: 7rem 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.95), rgba(30,10,10,0.85));
  overflow: hidden;
}
.tgt-mission-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/img/flag_macro.webp') center/cover no-repeat;
  opacity: 0.06;
}
.tgt-mission-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.tgt-mission-text {
  margin: 2.5rem 0;
}
.tgt-mission-text p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(244,241,234,0.8);
  margin-bottom: 1.25rem;
}
.tgt-mission-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ---- NAV ACTIVE STATE ---- */
.nav-link.active {
  color: var(--orange);
}

/* ---- ANIMATED ACCENT BARS ---- */
.tgt-section .tgt-body::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--orange), transparent);
  margin-top: 2rem;
  transition: width 400ms cubic-bezier(0.23, 1, 0.32, 1);
}
.tgt-section:hover .tgt-body::after {
  width: 120px;
}

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 768px) {
  .tgt-section {
    padding: 4rem 0;
  }
  .tgt-big-num {
    font-size: 3.5rem;
  }
}
