/* Fighter Planes — Dark Tactical Jet Stylesheet (Charcoal, Slate, Orange Afterburner) */
:root {
  --bg-page: #0b0d10;
  --bg-frame: #13171d;
  --bg-content: #181d24;
  --sidebar-bg: #1c222b;
  --sidebar-hover: #262e3a;
  --sidebar-active: #0e1217;
  --text: #e2e8f0;
  --text-muted: #8b99a8;
  --accent-burn: #ff6a00;
  --accent-hud: #00ffaa;
  --border: rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 20px 10px;
  background-color: var(--bg-page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

.site-container {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-content);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

/* Masthead */
.masthead {
  background: #000000;
  border-bottom: 2px solid var(--accent-burn);
}

.banner {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.15);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(11,13,16,0.85) 100%);
  text-align: center;
  padding: 0 20px;
}

.logo-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(255, 106, 0, 0.6);
}

.tagline {
  margin: 6px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent-burn);
  font-weight: 600;
}

/* Layout */
.main-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
}

.sidebar {
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-nav {
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: block;
  padding: 12px 20px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.15s ease;
}

.nav-item:hover {
  background: var(--sidebar-hover);
  color: #ffffff;
  padding-left: 24px;
}

.nav-item.active {
  background: var(--sidebar-active);
  color: var(--accent-burn);
  border-left: 3px solid var(--accent-burn);
}

.sidebar-footer {
  padding: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.sj-credit {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.credit-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: #64748b;
}

/* Content Area */
.content-area {
  padding: 28px 32px;
  background: var(--bg-content);
}

.content-section {
  margin-bottom: 38px;
  scroll-margin-top: 20px;
}

.content-section h2 {
  font-size: 1.35rem;
  color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* Hero Strip */
.hero-strip {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  background: var(--bg-frame);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.pilot-badge {
  text-align: center;
  background: #000000;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 170, 0.3);
}

.pilot-img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-tag {
  display: block;
  font-size: 0.65rem;
  color: var(--accent-hud);
  letter-spacing: 0.1em;
  margin-top: 6px;
  font-family: ui-monospace, monospace;
}

.welcome-block h2 {
  margin: 0;
  border: none;
  font-size: 1.4rem;
  color: #ffffff;
}

.lead-prompt {
  margin: 4px 0 10px;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--accent-burn);
  letter-spacing: 0.12em;
}

.welcome-block p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--bg-frame);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 4px;
}

.card-thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #ffffff;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Stats */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.stat-item {
  background: var(--bg-frame);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 4px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-val {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-burn);
  font-family: ui-monospace, monospace;
}

/* Gallery */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-fig {
  margin: 0;
  background: var(--bg-frame);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.gallery-fig img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.gallery-fig figcaption {
  padding: 8px 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Archive */
.archive-box {
  background: #000000;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 4px;
  text-align: center;
}

.preview-img {
  max-width: 100%;
  height: auto;
  border: 1px solid #333333;
}

/* Contact */
.contact-box {
  background: var(--bg-frame);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 4px;
}

.contact-box p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-burn);
  color: #000000;
}

.btn-primary:hover {
  background: #ff8533;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Footer */
.site-footer {
  background: #000000;
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a { color: #94a3b8; }

@media (max-width: 768px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--border); }
  .side-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .nav-item { padding: 9px 12px; border-bottom: none; }
  .hero-strip, .feature-grid, .stats-panel, .gallery-row { grid-template-columns: 1fr; }
}
