/* ═══════════════════════════════════════════
   flights.css — Flights page specific styles
   Covers: hero, airline strip, routes grid,
   inquiry form, why-choose cards, CTA banner
   Consistent with dark purple glassmorphism
   aesthetic of the main InnoTravel site
═══════════════════════════════════════════ */


/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
.flights-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 32px 80px;

  /* Dark purple gradient — no image needed */
  background: linear-gradient(
    135deg,
    #0d0521 0%,
    #150830 25%,
    #1e0b4a 50%,
    #150830 75%,
    #0d0521 100%
  );
}

/* Top nebula glow */
.flights-hero::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.35) 0%,
    rgba(167, 139, 250, 0.12) 40%,
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Bottom warm orb */
.flights-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(251, 146, 60, 0.08) 0%,
    rgba(244, 114, 182, 0.05) 40%,
    transparent 70%
  );
  bottom: -100px;
  right: 5%;
  pointer-events: none;
  z-index: 1;
}

.flights-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.flights-hero-plane {
  font-size: 52px;
  display: block;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.8));
  animation: planeFly 3s ease-in-out infinite;
}

@keyframes planeFly {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-10px) rotate(2deg); }
}

.flights-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.flights-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.flights-hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--white80);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* Scattered hero stars */
.flights-hero .hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.flights-hero .hero-stars::before,
.flights-hero .hero-stars::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: white;
  box-shadow:
    80px 60px 0 1px rgba(255,255,255,.50),
    180px 120px 0 0.5px rgba(255,255,255,.35),
    310px 50px 0 1px rgba(255,255,255,.45),
    430px 140px 0 0.5px rgba(255,255,255,.30),
    560px 80px 0 1px rgba(255,255,255,.55),
    670px 30px 0 0.5px rgba(255,255,255,.40),
    790px 110px 0 1px rgba(255,255,255,.35),
    900px 65px 0 0.5px rgba(255,255,255,.50),
    1020px 130px 0 1px rgba(255,255,255,.40),
    1150px 45px 0 0.5px rgba(255,255,255,.30),
    120px 220px 0 0.5px rgba(255,255,255,.30),
    260px 280px 0 1px rgba(255,255,255,.40),
    390px 240px 0 0.5px rgba(255,255,255,.35),
    510px 300px 0 1px rgba(255,255,255,.25);
  width: 1px;
  height: 1px;
  top: 0;
  left: 0;
}

/* ─────────────────────────────────────────
   SHARED SECTION WRAPPER (for flights page)
───────────────────────────────────────── */
.fl-section {
  padding: 80px 32px;
  position: relative;
}

.fl-section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.fl-section-head {
  text-align: center;
  margin-bottom: 52px;
}

.fl-section-label {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--accent2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.fl-section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.fl-section-head p {
  font-size: 15px;
  color: var(--white50);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}


/* ─────────────────────────────────────────
   AIRLINE STRIP
───────────────────────────────────────── */
.airline-strip {
  background: var(--bg2);
  padding: 56px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.airline-strip-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.airline-strip-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white50);
  margin-bottom: 28px;
}

.airline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.airline-pill {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  cursor: default;
}

.airline-pill:hover {
  color: var(--white);
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.1);
}


/* ─────────────────────────────────────────
   POPULAR ROUTES GRID
───────────────────────────────────────── */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.route-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.28s,
              border-color 0.28s;
  position: relative;
  overflow: hidden;
}

/* subtle top glow line */
.route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.route-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 56px rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.45);
}

.route-card:hover::before {
  opacity: 1;
}

.route-cities {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.route-city {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.route-arrow {
  display: flex;
  align-items: center;
  color: var(--accent2);
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}

.route-desc {
  font-size: 12px;
  color: var(--white50);
  letter-spacing: 0.5px;
}

.route-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a0845 0%, #2e1270 100%);
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  white-space: nowrap;
}

.route-cta-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #9b5de5 100%);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.55);
  transform: translateY(-1px);
}


/* ─────────────────────────────────────────
   FLIGHT INQUIRY FORM
───────────────────────────────────────── */
.fiq-wrap {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  position: relative;
}

/* background glow behind form */
.fiq-wrap::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.fiq-form-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-lg);
  padding: 48px 48px 44px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.fiq-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Full-width fields */
.fiq-form .fiq-full {
  grid-column: 1 / -1;
}

.fiq-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fiq-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--white50);
}

.fiq-field input,
.fiq-field select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  color: var(--white);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}

.fiq-field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.fiq-field input:focus,
.fiq-field select:focus {
  border-color: rgba(139, 92, 246, 0.7);
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Style select options (limited by browser) */
.fiq-field select option {
  background: #1e0b4a;
  color: var(--white);
}

/* Select arrow */
.fiq-field-select-wrap {
  position: relative;
}

.fiq-field-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white50);
  pointer-events: none;
  font-size: 13px;
}

.fiq-field-select-wrap select {
  width: 100%;
  padding-right: 36px;
  cursor: pointer;
}

/* Date input calendar icon colour */
.fiq-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(2) hue-rotate(240deg);
  cursor: pointer;
}

.fiq-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* WhatsApp button — green */
.fiq-btn-wa {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1.5px solid rgba(22, 163, 74, 0.6);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(22, 163, 74, 0.35);
}

.fiq-btn-wa:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.55);
  transform: translateY(-2px);
}

/* Quote button — purple */
.fiq-btn-quote {
  flex: 1;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--purple2) 0%, var(--accent) 100%);
  border: 1.5px solid rgba(139, 92, 246, 0.55);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}

.fiq-btn-quote:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.55);
  transform: translateY(-2px);
}

/* Thank-you toast */
.fiq-toast {
  display: none;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.4);
  border-radius: var(--r-sm);
  padding: 14px 20px;
  color: #86efac;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

.fiq-toast.visible {
  display: block;
  animation: toastFadeIn 0.4s ease;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────
   WHY CHOOSE US
───────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1),
              box-shadow 0.28s,
              border-color 0.28s;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(139, 92, 246, 0.22);
  border-color: rgba(139, 92, 246, 0.4);
}

.why-ico {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.why-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--white50);
  line-height: 1.65;
}


/* ─────────────────────────────────────────
   CTA BANNER
───────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 80px 32px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1e0b4a 0%, #0d0521 50%, #1e0b4a 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

/* Glowing centre orb */
.cta-banner::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,92,246,0.28) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.cta-banner p {
  font-size: 16px;
  color: var(--white80);
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  border: 1.5px solid rgba(22, 163, 74, 0.6);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 32px rgba(22, 163, 74, 0.4);
  letter-spacing: 0.2px;
}

.cta-wa-btn:hover {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  box-shadow: 0 12px 44px rgba(22, 163, 74, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.cta-wa-btn svg {
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */

/* 3→2 column routes at tablet */
@media (max-width: 900px) {
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fiq-form-card {
    padding: 36px 28px 32px;
  }
}

/* Single column at mobile */
@media (max-width: 600px) {
  .fl-section {
    padding: 60px 20px;
  }

  .flights-hero {
    padding: 100px 20px 60px;
  }

  .routes-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fiq-form {
    grid-template-columns: 1fr;
  }

  .fiq-form .fiq-full {
    grid-column: 1;
  }

  .fiq-form-card {
    padding: 28px 20px 24px;
  }

  .fiq-actions {
    flex-direction: column;
  }

  .fiq-btn-wa,
  .fiq-btn-quote {
    min-width: unset;
    width: 100%;
  }

  .cta-banner {
    padding: 60px 20px;
  }

  .airline-strip {
    padding: 40px 20px;
  }
}

@media (max-width: 380px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .route-cities {
    flex-direction: column;
    gap: 6px;
  }
}
