/* ============================================================
   VIONEX AVIATION SERVICES LIMITED — main stylesheet
   Design language: dark luxury, serif display, crimson accent
   ============================================================ */

:root {
  --ink: #0e1116;
  --ink-soft: #1a1f27;
  --paper: #f9f7f3;
  --white: #ffffff;
  --accent: #b3202e;
  --accent-dark: #8d1723;
  --gold: #c8a45c;
  --muted: #667085;
  --line: rgba(14, 17, 22, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", Arial, sans-serif;
  --shadow: 0 18px 45px rgba(14, 17, 22, 0.14);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.section-sub {
  max-width: 640px;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
}

.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

section { padding: clamp(4rem, 9vw, 7.5rem) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-solid {
  background: var(--accent);
  color: var(--white);
}
.btn-solid:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--ink); }

.btn-dark-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-dark-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 1.35rem 0;
}

.site-header.scrolled {
  background: rgba(14, 17, 22, 0.96);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
  padding: 0.8rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.brand-name span { color: var(--accent); }

.brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.28rem;
}

.main-nav { display: flex; align-items: center; gap: 2rem; }

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--accent);
  padding: 0.55rem 1.4rem !important;
  color: var(--white) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 7rem 0 4rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(10, 12, 16, 0.55) 0%,
    rgba(10, 12, 16, 0.25) 45%,
    rgba(10, 12, 16, 0.72) 100%);
}

.hero-content { max-width: 760px; }

.hero .eyebrow { color: var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.hero p.lead {
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  animation: floaty 2.4s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* Sub-hero (inner pages) */
.hero.hero-inner { min-height: 62svh; }

/* ---------- Statement band ---------- */
.statement {
  background: var(--paper);
  text-align: center;
}
.statement blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.45;
  max-width: 880px;
  margin: 0 auto;
  color: var(--ink);
}
.statement blockquote em {
  font-style: italic;
  color: var(--accent);
}

/* ---------- Stats bar ---------- */
.stats-band {
  background: var(--ink);
  color: var(--white);
  padding: 3.2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
}
.stat p {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 0.4rem;
}

/* ---------- Feature cards ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2.6rem 2.1rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.feature-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.feature-card p { color: var(--muted); font-weight: 300; font-size: 0.96rem; }

/* ---------- Fleet ---------- */
.fleet-section { background: var(--ink); color: var(--white); }
.fleet-section .section-sub { color: rgba(255, 255, 255, 0.65); }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 3.2rem;
}

.fleet-card {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fleet-media { overflow: hidden; aspect-ratio: 16 / 9; }
.fleet-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.fleet-card:hover .fleet-media img { transform: scale(1.06); }

.fleet-body { padding: 1.8rem 1.9rem 2.1rem; }

.fleet-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.fleet-body .fleet-type {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
  display: block;
}
.fleet-body p { color: rgba(255, 255, 255, 0.68); font-weight: 300; font-size: 0.94rem; margin-top: 0.6rem; }

.fleet-specs {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.fleet-specs div span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.fleet-specs div strong { font-weight: 500; font-size: 0.98rem; }

/* ---------- Experience (cabin) ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.experience-imgs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.experience-imgs img {
  width: 100%; height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.experience-imgs img:first-child { aspect-ratio: 3 / 4; }
.experience-imgs img:last-child { aspect-ratio: 3 / 4; margin-top: 2.4rem; }

.experience-copy .section-sub { color: var(--muted); }

.check-list { margin-top: 1.8rem; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.85rem;
  font-weight: 300;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 9px; height: 9px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(179, 32, 46, 0.18);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.step p { color: var(--muted); font-weight: 300; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: rgba(10, 12, 16, 0.78);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 600;
  margin-bottom: 1rem;
}
.cta-band p { color: rgba(255,255,255,0.8); font-weight: 300; max-width: 560px; margin: 0 auto 2.3rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Enquiry form ---------- */
.enquiry-section { background: var(--paper); }

.enquiry-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-block { margin-top: 2rem; }
.contact-block h4 {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.contact-block p { font-weight: 300; margin-bottom: 1.4rem; }
.contact-block a { border-bottom: 1px solid var(--line); transition: color .25s; }
.contact-block a:hover { color: var(--accent); }

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2.6rem 2.4rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.field input, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; font-weight: 300; }

/* ---------- About page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.story-grid img { box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.story-copy p { color: var(--muted); font-weight: 300; margin-top: 1.1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
}

/* Directors */
.directors-section { background: var(--ink); color: var(--white); }
.directors-section .section-sub { color: rgba(255,255,255,0.65); }

.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3.2rem;
}

.director-card {
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding-bottom: 2rem;
  transition: transform 0.35s ease;
}
.director-card:hover { transform: translateY(-6px); }

.director-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.6rem;
  background: linear-gradient(160deg, #232a35, #10141b);
  display: flex;
  align-items: center;
  justify-content: center;
}
.director-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.director-monogram {
  font-family: var(--font-display);
  font-size: 4.2rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.director-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0 1rem;
}
.director-card span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.5rem;
}

/* Registration facts */
.facts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 3rem;
}
.fact {
  background: var(--white);
  padding: 1.6rem 1.9rem;
}
.fact span {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.fact strong { font-weight: 500; font-size: 1.02rem; word-break: break-word; }

/* ---------- Licenses page ---------- */
.license-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3.2rem;
}

.license-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.license-media {
  background: #e9e6e0;
  padding: 1.6rem;
  display: flex;
  justify-content: center;
}
.license-media img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  box-shadow: 0 8px 28px rgba(14,17,22,0.18);
}

.license-body { padding: 1.8rem 2rem 2.2rem; margin-top: auto; }
.license-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.license-body p { color: var(--muted); font-weight: 300; font-size: 0.94rem; margin-bottom: 1.4rem; }
.license-body .btn { padding: 0.75rem 1.8rem; font-size: 0.72rem; }

.license-card.placeholder {
  border: 1px dashed rgba(14, 17, 22, 0.28);
  box-shadow: none;
  background: transparent;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 380px;
  padding: 2.5rem;
}
.license-card.placeholder .ph-icon {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(14, 17, 22, 0.25);
  margin-bottom: 1rem;
}
.license-card.placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}
.license-card.placeholder p { color: var(--muted); font-weight: 300; font-size: 0.9rem; margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0d11;
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 2rem;
  font-weight: 300;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; max-width: 300px; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.65rem; }
.site-footer ul a { font-size: 0.92rem; transition: color 0.25s; }
.site-footer ul a:hover { color: var(--gold); }

.footer-legal {
  font-size: 0.85rem;
  line-height: 1.9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reduced-motion / capture mode */
html.noanim { scroll-behavior: auto; }
html.noanim .hero { min-height: 860px; }
html.noanim .hero-scroll, html.noanim .hero-content { animation: none; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #1fae54;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .experience-grid, .enquiry-wrap, .story-grid { gap: 2.5rem; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 17, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1rem; }
  .nav-toggle { display: block; }

  .features-grid, .steps-grid, .values-grid, .directors-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .experience-grid, .enquiry-wrap, .story-grid { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .experience-imgs img:last-child { margin-top: 0; }

  .hero { min-height: 88svh; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .stats-grid { gap: 1.4rem; }
  .stat h3 { font-size: 1.9rem; }
  .enquiry-form { padding: 1.8rem 1.4rem; }
  .brand-tag { display: none; }
}
