/* ─── Talos Aviation Group · Shared Stylesheet ─── */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

:root {
  --red:       #cc1f1f;
  --red-dark:  #9e1616;
  --red-dim:   rgba(204,31,31,0.12);
  --black:     #0a0a0a;
  --dark:      #111111;
  --panel:     #181818;
  --border:    rgba(255,255,255,0.08);
  --border-red:rgba(204,31,31,0.3);
  --text:      #f0ede8;
  --muted:     #8a8680;
  --light:     #c8c4be;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h:     100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1;
}

.nav-logo-text span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-links a.nav-cta {
  background: var(--red);
  color: #fff;
  margin-left: 8px;
  padding: 6px 18px;
}

.nav-links a.nav-cta:hover {
  background: var(--red-dark);
}

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 220px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 4px;
  color: var(--light);
  white-space: nowrap;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE SHELL ── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── HERO VARIANTS ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 40px 80px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--red);
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--light);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,31,31,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,31,31,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

/* ── SECTION BLOCKS ── */
.section {
  padding: 80px 40px;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

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

.section-lead {
  font-size: 16px;
  color: var(--light);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.btn-arrow::after { content: ' →'; }

/* ── CARDS ── */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-red);
}

/* ── STAT ROW ── */
.stat-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  color: var(--red);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-head);
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--red-dim);
  color: #e87070;
  border: 1px solid var(--border-red);
}

/* ── TABLE ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th {
  text-align: left;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--light);
  vertical-align: top;
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 56px 40px 36px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-brand-tag {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  font-size: 14px;
  color: var(--light);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.vet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-red);
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e87070;
}

/* ── UTILS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.text-muted { color: var(--muted); }
.text-red   { color: var(--red); }
.text-sm    { font-size: 13px; }
.text-xs    { font-size: 12px; }
.font-head  { font-family: var(--font-head); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  background: var(--red-dim);
  border-radius: 0 4px 4px 0;
}

/* Responsive */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .nav { padding: 0 20px; }
  .section { padding: 60px 20px; }
  .hero  { padding: 72px 20px 60px; }

  /* shrink the logo so it fits the slimmer mobile bar */
  .nav-logo-img { height: 48px; }

  /* show hamburger, collapse the link row into a slide-down panel */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 8px 12px 16px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 4px;
  }
  .nav-links a.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  /* dropdown becomes an inline, tap-to-open section */
  .nav-dropdown > a::after { float: right; }
  .nav-dropdown-menu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    padding: 0 0 4px 12px;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { font-size: 14px; padding: 10px 12px; }

  /* let wide spec tables scroll instead of overflowing the viewport */
  .spec-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section { padding: 48px 18px; }
  .hero { padding: 56px 18px 48px; }
  .card { padding: 22px 20px; }
  .stat-item { padding: 22px 24px; }
}

/* ── FLEET PHOTOS ── */
.fleet-photo-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--dark);
}

.fleet-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.aircraft-card:hover .fleet-photo-wrap img {
  transform: scale(1.03);
}

.nickname {
  font-style: italic;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ── NAV LOGO IMAGE ── */
.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
}
