/* ==========================================================================
   Blue Sky Pilots — stylesheet
   ========================================================================== */

:root {
  --sky-deep: #0f6fb8;
  --sky-mid: #3a9bdc;
  --sky-light: #8fd0f0;
  --sky-pale: #eaf7ff;
  --navy: #0b2942;
  --navy-soft: #244a63;
  --white: #ffffff;
  --gold: #f4b942;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 41, 66, 0.12);
  --max-width: 1180px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

section { padding: 88px 0; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 2.1rem; margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p { color: var(--navy-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--white);
  color: var(--sky-deep);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,41,66,0.18); }
.btn-solid {
  background: var(--sky-deep);
  color: var(--white);
}
.btn-solid:hover { transform: translateY(-2px); background: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--sky-deep);
  border: 1.5px solid var(--sky-deep);
}
.btn-outline:hover { background: var(--sky-pale); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11,41,66,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.logo .dot { color: var(--sky-deep); }
.nav-links {
  display: flex;
  gap: 34px;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a { color: var(--navy-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--sky-deep); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* ---------- Hero with animated sky ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky-mid) 45%, var(--sky-light) 100%);
  color: var(--white);
  padding: 130px 0 160px;
}
.hero .container {
  position: relative;
  z-index: 3;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 20px;
}
.hero p.lead {
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 38px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stats div { text-align: center; }
.hero-stats .num { font-size: 1.7rem; font-weight: 800; }
.hero-stats .label { font-size: 0.82rem; color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.06em; }

/* clouds */
.cloud-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cloud {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 100px;
  filter: blur(1px);
  opacity: 0.9;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 100px;
}
.cloud-1 { width: 180px; height: 56px; top: 12%; left: -220px; animation: drift 46s linear infinite; }
.cloud-1::before { width: 90px; height: 90px; top: -46px; left: 22px; }
.cloud-1::after { width: 70px; height: 70px; top: -34px; left: 96px; }

.cloud-2 { width: 130px; height: 42px; top: 32%; left: -180px; opacity: 0.7; animation: drift 34s linear infinite; animation-delay: -10s; }
.cloud-2::before { width: 60px; height: 60px; top: -30px; left: 16px; }
.cloud-2::after { width: 50px; height: 50px; top: -22px; left: 66px; }

.cloud-3 { width: 220px; height: 64px; top: 6%; left: -260px; opacity: 0.6; animation: drift 60s linear infinite; animation-delay: -22s; }
.cloud-3::before { width: 100px; height: 100px; top: -52px; left: 30px; }
.cloud-3::after { width: 80px; height: 80px; top: -40px; left: 120px; }

.cloud-4 { width: 150px; height: 48px; top: 58%; left: -200px; opacity: 0.5; animation: drift 40s linear infinite; animation-delay: -6s; }
.cloud-4::before { width: 70px; height: 70px; top: -34px; left: 18px; }
.cloud-4::after { width: 56px; height: 56px; top: -26px; left: 78px; }

.cloud-5 { width: 100px; height: 34px; top: 45%; left: -140px; opacity: 0.45; animation: drift 28s linear infinite; animation-delay: -14s; }
.cloud-5::before { width: 46px; height: 46px; top: -22px; left: 12px; }
.cloud-5::after { width: 38px; height: 38px; top: -16px; left: 52px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 300px)); }
}

@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none !important; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--white); }
.service-card p { font-size: 0.96rem; }

/* ---------- Certifications ---------- */
.certs {
  background: var(--navy);
  color: var(--white);
}
.certs .section-head p { color: rgba(255,255,255,0.75); }
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.cert-badge .badge-icon { font-size: 1.8rem; margin-bottom: 10px; }
.cert-badge h4 { font-size: 0.98rem; margin-bottom: 6px; }
.cert-badge p { font-size: 0.84rem; color: rgba(255,255,255,0.68); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,41,66,0.06);
}
.gallery-visual {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-mid), var(--sky-deep));
}
.gallery-visual svg { width: 72px; height: 72px; stroke: var(--white); opacity: 0.92; }
.gallery-info { padding: 22px 24px; }
.gallery-info .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-pale);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.gallery-info p { font-size: 0.92rem; }
.gallery-note {
  text-align: center;
  margin-top: 34px;
  font-size: 0.9rem;
  color: var(--navy-soft);
}

/* ---------- About / service area ---------- */
.about {
  background: var(--sky-pale);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--navy-soft); }
.about-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sky-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}
.about-visual {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 34px;
  text-align: center;
}
.about-visual .big-stat { font-size: 2.6rem; font-weight: 800; color: var(--sky-deep); }
.about-visual .stat-label { font-size: 0.9rem; color: var(--navy-soft); margin-bottom: 26px; }

/* ---------- Booking / contact ---------- */
.booking {
  background: linear-gradient(180deg, var(--sky-deep), var(--navy));
  color: var(--white);
}
.booking .section-head p { color: rgba(255,255,255,0.8); }
.booking-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 42px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.84rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.94rem;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.booking-wrap .btn-solid { background: var(--gold); color: var(--navy); width: 100%; margin-top: 6px; }
.booking-wrap .btn-solid:hover { background: #ffcb63; }
.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 14px; text-align: center; }
.form-status { text-align: center; margin-top: 14px; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 44px 0 30px;
  font-size: 0.86rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.footer-grid .logo { color: var(--white); margin-bottom: 8px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid, .certs-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .services-grid, .certs-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 120px; }
  .hero-stats { gap: 30px; }
}
