/* ===================================================
   Integrated Tactical Solutions, LLC — Stylesheet
   Theme: Dark tactical / military — mirrors logo palette
   Primary:  #CC1F1F (logo red)
   Surface:  #0d0d0d / #141414 / #1c1c1c
   Text:     #ffffff / #c8c8c8
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&family=Roboto:wght@300;400;500&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #CC1F1F;
  --red-dark:   #A01818;
  --red-glow:   rgba(204, 31, 31, 0.25);
  --black:      #0d0d0d;
  --surface-1:  #141414;
  --surface-2:  #1c1c1c;
  --surface-3:  #242424;
  --border:     #2a2a2a;
  --text:       #f0f0f0;
  --text-muted: #9a9a9a;
  --font-mono:  'Share Tech Mono', monospace;
  --font-head:  'Rajdhani', sans-serif;
  --font-body:  'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: #e03333; }

img { max-width: 100%; display: block; }

/* ---------- Navigation ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  border-color: var(--red);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ---------- Hero Section ---------- */
.hero {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Red triangle watermark echoing the logo */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 220px solid transparent;
  border-right: 220px solid transparent;
  border-top: 380px solid rgba(204, 31, 31, 0.06);
  pointer-events: none;
}

.hero-logo {
  margin: 0 auto 2.5rem;
  max-width: 560px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-tagline span {
  color: var(--red);
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 2px solid var(--red);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--red);
  color: #fff;
}

.btn-solid {
  background: var(--red);
  color: #fff;
}
.btn-solid:hover {
  background: var(--red-dark);
}

/* ---------- Section Utilities ---------- */
.section {
  padding: 5rem 2rem;
}

.section-alt {
  background: var(--surface-1);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.section-title em {
  color: var(--red);
  font-style: normal;
}

.divider {
  width: 50px;
  height: 3px;
  background: var(--red);
  margin: 1.2rem 0 2rem;
}

/* ---------- About (index) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Decorative triangle block for about section */
.about-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.triangle-graphic {
  position: relative;
  width: 260px;
  height: 260px;
}

.triangle-graphic svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

/* ---------- Product Section ---------- */
.product-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-name {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.product-name span {
  color: var(--red);
}

.product-subtitle {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-desc {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: '▶';
  color: var(--red);
  font-size: 0.6rem;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Product visual placeholder */
.product-visual {
  background: var(--surface-3);
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.display-mockup {
  background: #000;
  border: 2px solid var(--red);
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  color: var(--red);
  text-shadow: 0 0 12px var(--red-glow), 0 0 24px var(--red-glow);
  letter-spacing: 0.12em;
}

/* ---------- News Page ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- Contact Page ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-3);
  border: 1px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--text);
}

/* Contact form */
.contact-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--red);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--surface-1);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 0;
  height: 0;
  border-left: 200px solid transparent;
  border-right: 200px solid transparent;
  border-top: 340px solid rgba(204, 31, 31, 0.05);
  pointer-events: none;
}

/* ---------- Footer ---------- */
footer {
  margin-top: auto;
  background: #000;
  border-top: 2px solid var(--red);
  padding: 2rem;
  text-align: center;
}

.footer-logo {
  margin: 0 auto 1rem;
  max-width: 220px;
  opacity: 0.85;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.2rem;
}

.footer-links a {
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--red); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 2px solid var(--red);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid,
  .product-card,
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }

  .stat-row { gap: 1.5rem; }

  .about-graphic { display: none; }
}
