/* ===================================================
   HB Aeromotive — Stylesheet
   Clean, professional aviation aesthetic.
=================================================== */

:root {
  --navy:    #0d1b2a;
  --blue:    #1a4f8c;
  --sky:     #4a90d9;
  --accent:  #e8a020;
  --light:   #f4f7fb;
  --white:   #ffffff;
  --text:    #1e2a38;
  --muted:   #5a6a7a;
  --border:  #d0dae6;
  --radius:  8px;
  --shadow:  0 2px 16px rgba(13,27,42,0.10);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ────────────────────────────────────────── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
}
.logo-hb   { color: var(--accent); }
.logo-aero { color: var(--white); margin-left: 4px; }

nav a {
  color: rgba(255,255,255,0.80);
  margin-left: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); text-decoration: none; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 80px
  );
}

.hero-content {
  position: relative;
  max-width: 500px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  max-width: 400px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover {
  background: #f0b030;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-art {
  position: relative;
  color: rgba(255,255,255,0.18);
  width: 280px;
  flex-shrink: 0;
}
.hero-art svg { width: 100%; height: auto; }

/* ── SECTIONS ───────────────────────────────────── */
.section      { padding: 72px 0; }
.section-alt  { background: var(--light); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 560px;
}

/* ── CARD GRID ──────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(13,27,42,0.14);
  transform: translateY(-2px);
}

.card-icon { font-size: 2rem; margin-bottom: 14px; }

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: 0.9rem; color: var(--muted); }

/* ── ABOUT ──────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 560px;
}
.about-text p:last-child { margin-bottom: 0; }

.badge-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--navy);
  border: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
}
.badge-hb {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.badge-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-top: 6px;
}

/* ── CONTACT ────────────────────────────────────── */
.contact-block { max-width: 600px; }
.contact-block h2 { margin-bottom: 10px; }
.contact-block > p { color: var(--muted); margin-bottom: 28px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 20px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-label {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  min-width: 72px;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
  padding: 28px 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .hero { flex-direction: column; gap: 28px; padding: 52px 24px 40px; text-align: center; }
  .hero-sub { margin: 0 auto 28px; }
  .hero-art { width: 200px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-badge { display: flex; justify-content: center; }

  nav a { margin-left: 16px; }
}

@media (max-width: 480px) {
  nav a:not(:last-child) { display: none; }
}
