/* ============================================================
   NETWORK TOURS — design tokens
   Palette: deep flight-night navy + brass/gold ticket accent + warm paper
   Type: Fraunces (display) / Inter (body) / JetBrains Mono (data & labels)
   ============================================================ */

:root {
  --navy-900: #0a1930;
  --navy-800: #12294c;
  --navy-700: #1c3a63;
  --blue-500: #3f6fa6;
  --sky-100: #dbe8f5;

  --paper: #f1ede3;
  --paper-2: #e8e2d2;
  --ink: #12202e;
  --ink-soft: #4a5768;

  --gold: #e0a53c;
  --gold-dark: #b9812a;
  --teal: #2f6f63;

  --radius: 4px;
  --radius-lg: 14px;
  --max: 1180px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { line-height: 1.65; color: var(--ink-soft); margin: 0 0 1em; }
.ital { font-style: italic; font-weight: 500; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--sky-100); }
.muted { color: var(--ink-soft); font-size: .85rem; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 .8em;
}
.section-eyebrow.light { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 6px 20px -6px rgba(224,165,60,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(224,165,60,.75); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  opacity: .85;
}
.btn-ghost:hover { opacity: 1; transform: translateY(-2px); }
.btn-small { padding: .55em 1.2em; font-size: .85rem; }
.btn-wide { width: 100%; justify-content: center; padding: 1em 1.6em; }

.inline-link {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--teal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(10,25,48,.88);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark { color: var(--gold); display: flex; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
.logo-text em { font-style: italic; color: var(--gold); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn) {
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  opacity: .85;
  position: relative;
}
.main-nav a:not(.btn):hover { opacity: 1; }
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ============================================================
   HERO — animated flight sky
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding-top: 90px;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 15%, rgba(224,165,60,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  overflow: hidden;
}

.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 20%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 60% 10%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 80% 30%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 40% 40%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 60%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 65%, rgba(255,255,255,.4) 50%, transparent 51%);
  opacity: .8;
}

.cloud {
  position: absolute;
  background: rgba(255,255,255,.05);
  border-radius: 100px;
  filter: blur(2px);
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: inherit;
}
.cloud-a { width: 260px; height: 60px; top: 22%; left: -20%; animation: drift 46s linear infinite; }
.cloud-a::before { width: 140px; height: 90px; top: -40px; left: 30px; }
.cloud-a::after { width: 100px; height: 70px; top: -25px; left: 130px; }
.cloud-b { width: 180px; height: 44px; top: 55%; left: -15%; animation: drift 62s linear infinite; animation-delay: -20s; opacity: .7; }
.cloud-b::before { width: 100px; height: 60px; top: -28px; left: 20px; }
.cloud-c { width: 220px; height: 50px; top: 75%; left: -25%; animation: drift 54s linear infinite; animation-delay: -8s; opacity: .5; }
.cloud-c::before { width: 120px; height: 70px; top: -32px; left: 40px; }

@keyframes drift {
  to { transform: translateX(160vw); }
}

.flight-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.flight-path path {
  fill: none;
  stroke: rgba(224,165,60,.35);
  stroke-width: 1.5;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
}

.plane {
  position: absolute;
  top: 0; left: 0;
  color: var(--gold);
  filter: drop-shadow(0 4px 14px rgba(224,165,60,.5));
  offset-path: path('M -50,420 C 250,120 550,480 900,180 S 1150,60 1300,40');
  offset-rotate: auto;
  animation: fly 26s linear infinite;
}
.plane-trail {
  position: absolute;
  top: 50%; right: 100%;
  width: 90px; height: 2px;
  background: linear-gradient(to left, rgba(224,165,60,.55), transparent);
  transform: translateY(-50%);
}
@keyframes fly {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}
/* fallback for browsers without offset-path support */
@supports not (offset-path: path('M0,0')) {
  .plane { animation: fly-fallback 22s ease-in-out infinite; }
  @keyframes fly-fallback {
    0%   { transform: translate(-5vw, 60vh) rotate(-8deg); }
    50%  { transform: translate(55vw, 20vh) rotate(6deg); }
    100% { transform: translate(115vw, -4vh) rotate(-4deg); }
  }
}

.hero-inner { position: relative; z-index: 2; padding-bottom: 60px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  max-width: 12ch;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 46ch;
  margin: 1.1em 0 1.8em;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3rem; }

.ticker {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 22px;
  font-family: var(--font-mono);
}
.ticker-item { display: flex; flex-direction: column; gap: 4px; }
.tk-label { font-size: .68rem; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.tk-val { font-size: .95rem; color: #fff; }
.tk-live { color: var(--gold); }
.tk-live::before { content: "● "; font-size: .6rem; animation: pulse 1.6s ease-in-out infinite; }
.ticker-sep { color: rgba(255,255,255,.3); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: 120px 0; background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}
.about-copy h2 { max-width: 14ch; }

.card-ticket {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 20px 50px -20px rgba(18,32,46,.25);
  position: relative;
  transform: rotate(-2deg);
  border: 1px solid var(--paper-2);
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .82rem;
  padding: 10px 0;
  color: var(--ink-soft);
}
.ticket-row strong { color: var(--ink); font-weight: 600; }
.ticket-dashed {
  border-top: 1.5px dashed var(--paper-2);
  margin: 6px 0;
}
.ticket-barcode {
  margin-top: 18px;
  height: 34px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 5px, var(--ink) 5px 6px, transparent 6px 9px);
  opacity: .8;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 110px 0; background: var(--navy-900); color: #fff; }
.services h2 { color: #fff; max-width: 16ch; margin-left: auto; margin-right: auto; }

.service-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}
.service-card {
  background: var(--navy-900);
  padding: 36px 28px;
  transition: background .3s;
}
.service-card:hover { background: var(--navy-800); }
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(224,165,60,.12);
  color: var(--gold);
  margin-bottom: 22px;
}
.service-card h3 { color: #fff; margin-bottom: .5em; }
.service-card p { color: rgba(255,255,255,.6); font-size: .92rem; margin: 0; }

/* ============================================================
   WHY US
   ============================================================ */
.why { padding: 120px 0; background: var(--paper); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.why-lead { font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--ink); margin-top: 1em; }

.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.why-list li { display: flex; gap: 18px; align-items: flex-start; }
.why-mark {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  margin-top: 2px;
}
.why-list strong { display: block; margin-bottom: .3em; font-size: 1.02rem; }
.why-list p { margin: 0; font-size: .92rem; }

/* ============================================================
   ENQUIRY — boarding pass form
   ============================================================ */
.enquire {
  padding: 120px 0;
  background: var(--navy-800);
  background-image: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(224,165,60,.12), transparent 60%);
  color: #fff;
}
.enquire h2 { color: #fff; }
.enquire-sub { color: rgba(255,255,255,.65); max-width: 46ch; margin: 0 auto 50px; }

.boarding-pass {
  max-width: 720px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.5);
}
.bp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 10px 10px 0 0;
}
.bp-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold); }
.bp-code { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em; color: rgba(241,237,227,.6); }

.bp-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px 22px 6px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; padding: 0 22px; }
.field span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .7em .8em;
  border: 1px solid var(--paper-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(224,165,60,.25);
}
.field textarea { resize: vertical; min-height: 90px; }

.bp-bottom {
  margin-top: 22px;
  padding: 20px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1.5px dashed var(--paper-2);
}
.bp-stub { display: flex; flex-direction: column; gap: 4px; }
.bp-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; color: var(--ink-soft); }
.bp-value { font-family: var(--font-mono); font-size: .85rem; color: var(--teal); font-weight: 500; }
.bp-bottom .btn { flex: none; min-width: 220px; }

.form-note {
  margin: 0;
  padding: 0 22px 18px;
  font-size: .85rem;
  font-family: var(--font-mono);
  color: var(--teal);
  min-height: 1em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { color: rgba(255,255,255,.5); margin-top: .6em; }
.footer-col h4 { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 1em; }
.footer-col a { display: block; margin-bottom: .6em; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-col .muted { margin-top: .8em; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-plane { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .bp-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a:not(.btn) { font-size: 1.1rem; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .service-grid { grid-template-columns: 1fr; }
  .bp-fields { grid-template-columns: 1fr; }
  .bp-bottom { flex-direction: column; align-items: stretch; }
  .bp-bottom .btn { min-width: 0; }
  .card-ticket { transform: rotate(0); }
}
