/* ═══════════════════════════════════════════════════════
   TRIVECT AEROSPACE — Shared Stylesheet
═══════════════════════════════════════════════════════ */

:root {
  --black:        #000000;
  --dark:         #0a0a0a;
  --dark2:        #111111;
  --dark3:        #1a1a1a;
  --silver:       #C0C0C0;
  --silver-light: #d8d8d8;
  --silver-dark:  #888888;
  --white:        #FFFFFF;
  --red:          #CC0000;
  --red-bright:   #e60000;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--silver);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── IMAGE PLACEHOLDERS ── */
.img-placeholder {
  background-color: var(--dark3);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.img-placeholder::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(192,192,192,0.3); background: transparent;
}
.img-placeholder[style*="background-image"]::after { display: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: var(--nav-h);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--white); letter-spacing: 2px; }
.nav-logo-text span { color: var(--red); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--silver); text-decoration: none; font-size: 0.82rem;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500;
  transition: color 0.2s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--red); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--red); color: var(--white); border: none;
  padding: 9px 22px; font-size: 0.78rem; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: background 0.2s;
  clip-path: polygon(8px 0%,100% 0%,calc(100% - 8px) 100%,0% 100%);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--red-bright); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--silver); transition: 0.3s; }

/* ── PAGE WRAPPER ── */
.page-body { padding-top: var(--nav-h); }

/* ── SECTION COMMONS ── */
section { padding: 90px 5vw; }
.section-label {
  font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px; display: block;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--white);
  letter-spacing: 2px; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem; color: var(--silver-dark); max-width: 580px; line-height: 1.8;
  margin-bottom: 56px;
}
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: 0 auto 56px; }
.divider-line {
  width: 60px; height: 2px; background: var(--red); margin-bottom: 48px;
}
.centered .divider-line { margin: 0 auto 48px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--red); color: var(--white); border: none;
  padding: 13px 34px; font-size: 0.82rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all 0.2s; display: inline-block;
  clip-path: polygon(10px 0%,100% 0%,calc(100% - 10px) 100%,0% 100%);
}
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--silver); border: none;
  padding: 13px 34px; font-size: 0.82rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { color: var(--white); transform: translateY(-2px); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  min-height: 340px; display: flex; align-items: flex-end;
  padding: 60px 5vw; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 40% 60%, #1a0000 0%, #000 65%);
}
.page-hero-grid {
  position: absolute; inset: -60%;
  background-image: radial-gradient(circle, rgba(192,192,192,0.09) 2px, transparent 2px);
  background-size: 32px 32px;
  transform: rotate(67deg);
}
.page-hero-orb {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,0,0,0.1) 0%, transparent 70%);
  top: 50%; right: 10%; transform: translateY(-50%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--silver-dark); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-breadcrumb a { color: var(--red); text-decoration: none; }
.page-hero-breadcrumb a:hover { color: var(--red-bright); }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; color: var(--white);
  letter-spacing: 3px; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px;
}
.page-hero h1 span { color: var(--red); }
.page-hero p { font-size: 1rem; color: var(--silver-dark); max-width: 560px; line-height: 1.8; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 60px 5vw 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--silver-dark); line-height: 1.8;
  margin: 16px 0 24px; max-width: 280px;
}
.footer-col-title {
  font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--silver-dark); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.75rem; color: var(--silver-dark); letter-spacing: 1px; }
.footer-copy span { color: var(--red); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--silver-dark); font-size: 0.75rem;
  transition: color 0.2s;
}
.social-link:hover { color: var(--red); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  section { padding: 64px 5vw; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 260px; }
}
