/* Gabriel Airlines — booking / hero screen */

main > .booking-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: var(--space-8);
}

/* ---------- hero ---------- */

main > .booking-menu > .top {
  width: 100%;
  display: flex;
  justify-content: center;
}

main > .booking-menu > .top .figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

main > .booking-menu > .top #bg {
  width: 100%;
  height: 720px;
  object-fit: cover;
  filter: saturate(60%) brightness(0.4);
}

main > .booking-menu > .top .figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 1000px 560px at 50% 44%, rgba(2, 3, 8, 0.78), rgba(2, 3, 8, 0.25) 62%, transparent 78%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.45) 0%, rgba(5, 7, 13, 0.55) 45%, var(--bg-void) 100%),
    radial-gradient(ellipse 800px 500px at 50% 30%, rgba(34, 211, 238, 0.12), transparent 60%);
}

/* particle canvas + floating glass orbs, both sit above the darkening
   overlay so they read as light sources instead of getting muddied by it */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.8;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.55;
  animation: orb-float 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-orb-1 {
  top: 18%;
  left: 12%;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.55), rgba(34, 211, 238, 0.05) 70%);
  animation-duration: 10s;
}

.hero-orb-2 {
  top: 55%;
  right: 16%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at 35% 30%, rgba(108, 140, 255, 0.5), rgba(108, 140, 255, 0.05) 70%);
  animation-duration: 12s;
  animation-delay: -3s;
}

.hero-orb-3 {
  bottom: 12%;
  left: 46%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 35% 30%, rgba(167, 139, 250, 0.5), rgba(167, 139, 250, 0.05) 70%);
  animation-duration: 8s;
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -20px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb {
    animation: none;
  }
}

main > .booking-menu > .top .figure figcaption {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  text-align: center;
  padding: 0 var(--space-5);
}

main > .booking-menu > .top #logo-2 {
  width: 130px;
  height: auto;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

main > .booking-menu > .top .figure h1 {
  font-size: 2.7em;
  max-width: 900px;
  color: var(--text-primary);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

main > .booking-menu > .top .figure p {
  margin: 0;
  max-width: 600px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

/* ---------- search panel ---------- */

main > .booking-menu > .bottom {
  width: min(1100px, 92vw);
  margin-top: -90px;
  z-index: 5;
  padding: var(--space-7) var(--space-6);
}

main > .booking-menu > .bottom .inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
}

main > .booking-menu > .bottom .radios {
  align-self: flex-start;
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

main > .booking-menu > .bottom .radios > div {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

main > .booking-menu > .bottom .radios input[type="radio"] {
  accent-color: var(--accent-cyan);
  width: 16px;
  height: 16px;
  padding: 0;
}

main > .booking-menu > .bottom .other-inputs {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-5);
}

main > .booking-menu > .bottom .flex {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
  min-width: 170px;
}

main > .booking-menu > .bottom .flex label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

main > .booking-menu > .bottom .bottom-inputs,
main > .booking-menu > .bottom .from-to-inputs,
main > .booking-menu > .bottom .passengers-input {
  height: 52px;
  width: 100%;
}

main > .booking-menu > .bottom .search-button {
  margin-top: var(--space-7);
  width: 240px;
}

/* ---------- confirmation modal ---------- */

main > .booking-menu .modal {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  width: min(560px, 90vw);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  /* see the matching comment on the Frota modal - .glass-panel's ~4%
     opaque background plus blur still lets bright content behind it show
     through; a fixed overlay needs to actually hide what's behind it. */
  background: rgba(8, 11, 20, 0.94);
}

main > .booking-menu .modal > span {
  font-size: 1.1em;
}

main > .booking-menu .modal .ticket-id {
  font-family: var(--font-display);
  color: var(--accent-cyan);
}

main > .booking-menu .modal .back-button {
  margin-top: var(--space-4);
}

@media only screen and (max-width: 1100px) {
  main > .booking-menu > .mobile-desc {
    display: block !important;
    color: var(--text-primary);
    text-align: center;
    max-width: 480px;
    padding: var(--space-6) var(--space-5) 0;
  }

  main > .booking-menu > .mobile-desc > h1 {
    font-size: 1.8em;
  }

  main > .booking-menu > .mobile-desc > span {
    display: inline-block;
    font-size: 1.05em;
    margin-bottom: var(--space-5);
    color: var(--text-secondary);
  }

  main > .booking-menu > .top .figure figcaption {
    display: none;
  }

  main > .booking-menu > .top #bg {
    height: 300px;
    /* the heavy dark vignette above exists to keep the hero *text* legible
       over the photo - since figcaption is hidden on mobile there's no text
       to protect anymore, so the plane itself can actually be seen instead
       of just a dark smudge under the subtitle */
    filter: saturate(85%) brightness(0.85);
  }

  main > .booking-menu > .top .figure::after {
    background: linear-gradient(180deg, rgba(5, 7, 13, 0.05) 0%, rgba(5, 7, 13, 0.35) 75%, var(--bg-void) 100%);
  }

  main > .booking-menu > .bottom {
    margin-top: -40px;
  }

  main > .booking-menu > .bottom .other-inputs {
    flex-direction: column;
    align-items: stretch;
  }

  main > .booking-menu > .bottom .search-button {
    width: 100%;
  }
}

@media only screen and (max-width: 600px) {
  main > .booking-menu > .top #bg {
    height: 240px;
  }

  main > .booking-menu > .bottom .radios {
    flex-direction: column;
    gap: var(--space-2);
  }
}
