/* ----------------------------
   Base / Reset-ish
---------------------------- */

:root {
  --brand-blue: #00AEEF;
  --brand-accent: #FCAF17;

  --partner-blue: #046C84;
  --partner-accent: #DBA314;

  --glass-blue: #00aeef40;
  --glass-accent: #fcaf1778;

  --blue-shadow: 3px 3px 0px var(--glass-blue);
  --accent-shadow: 3px 3px 0px 0px var(--glass-accent);

  --text: #0b1220;
  --muted: #5b677a;
  --bg: #ffffff;
  --surface: #f6f8fb;
  --border: 1px solid #e4e6eb;

  --card-bg: #fbb018b3;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 18, 32, 0.08);

  --max: 1100px;
  --pad: 18px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  position: relative;
  min-height: 100%;
}

html::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("assets/watermark.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 100%;
  opacity: 0.2;
  /* critical: keep low */
  z-index: 0;
  pointer-events: none;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  position: relative;
  min-height: 100%;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  overflow-x: hidden;
  position: relative;
}

/* A simple container pattern */
section,
footer {
  padding: var(--space-6) var(--pad);
}

section>*,
footer>* {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------
   Typography
---------------------------- */

h1,
h2,
h3 {
  font-family: "Montserrat", "Poppins", Arial, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 auto;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

p {
  margin: 0 0 var(--space-3);
  color: var(--text);
}

.disclaimer,
small,
.footer-legal,
.hero-kicker {
  color: var(--muted);
}

/* ----------------------------
   Floating CTA
---------------------------- */

.floating-cta {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 1;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: var(--brand-blue);
  color: white;
  font-size: 22px;
  box-sizing: content-box;
}

.floating-cta:focus {
  outline: none;
}

.floating-cta:active {
  transform: translateY(0);
}

.floating-cta svg {
  width: 20px;
  height: 20px;
  color: var(--bg);
}

.floating-cta:hover {
  box-shadow: 0 0 0px 2px var(--brand-accent);
  animation: floating-cta 0.8s ease-in infinite;
}

@keyframes floating-cta {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(2px);
  }
}

.floating-cta:hover svg {
  color: var(--brand-accent);
}

/* ----------------------------
   Hero (full screen)
---------------------------- */

#hero {
  padding: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Hero inner layout */

.logo {
  position: relative;
  z-index: 1;
  height: auto;
  width: clamp(160px, 80vw, 800px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 25px;
  /* transform: translateX(-50%); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
  animation: scrollPulse 1s ease-in-out infinite;
}

.scroll-cue:hover {
  animation: scrollCueHover 0.2s ease-in;
  color: var(--brand-accent);
}

@keyframes scrollCueHover {
  from {
    color: var(--brand-blue);
  }

  to {
    color: var(--brand-accent);
  }
}

.scroll-cue__icon {
  width: 40px;
  height: 40px;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: translateY(0);
    color: var(--brand-blue);
  }

  50% {
    transform: translateY(4px);
    color: var(--brand-accent);
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    animation: none;
  }
}

/* ----------------------------
   Section headers
---------------------------- */

.section-header {
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: 70ch;
  color: var(--muted);
}

/* ----------------------------
   Trust section
---------------------------- */

#trust-title {
  text-align: center;
  margin-bottom: var(--space-4);
}

.trust-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: max(300px, 60vw);
  gap: var(--space-6);
  justify-content: center;
  justify-items: center;
}

.trust-item {
  border: solid var(--space-2) var(--glass-blue);
  border-radius: var(--radius);
  padding: var(--space-4);
  padding-bottom: var(--space-5);
  width: 100%;
  text-align: center;
  display: grid;
  grid-template-rows: min-content 1fr;
  gap: var(--space-5);
}

.trust-item span {
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  align-self: center;
  display: block;
}

/* ----------------------------
   Partner block
---------------------------- */

#partner .partner-content {
  background: white;
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: 20px 20px 0px #00aeef40;
}

.partner-bullets,
.spotlight-bullets,
.why-list {
  margin: var(--space-3) 0 0;
  padding-left: 18px;
  color: var(--text);
}

.partner-bullets li,
.spotlight-bullets li,
.why-list li {
  margin-bottom: 8px;
}

/* Schedule layout */
#flight-schedule .muted {
  color: var(--muted);
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px) {
  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

.route-card {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: inset 10px 10px 10px 0px #fbb0184d;
  overflow: hidden;
  grid-row: span 2;
}

.route-card.route-card-static {
  grid-row: span 1;
}

.route-card>summary {
  list-style: none;
}

.route-card>summary::-webkit-details-marker {
  display: none;
}

.route-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  position: relative;
}

.route-card[open] .route-summary:not(.static)::after {
  position: absolute;
  content: "";
  width: calc(100% - 36px);
  height: 2px;
  background-color: var(--brand-accent);
  bottom: 0;
}

.route-summary.static {
  cursor: default;
}

.route-title {
  font-family: "Montserrat", "Poppins", Arial, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.route-sub {
  font-size: 0.95rem;
  margin-top: 2px;
}

.route-body {
  border-top: 1px solid var(--border);
  padding: 14px 18px 18px;
}

.flight-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.flight-row:last-child {
  border-bottom: 0;
}

.flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
}

.flight-no {
  font-weight: 800;
  color: var(--brand-blue);
}

.days {
  font-weight: 700;
}

.dir {
  font-size: 0.95rem;
}

.flight-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.flight-times-dls {
  position: relative;
}

.flight-times-dls table {
  width: 100%;
}

.flight-times-dls tr {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: start;
  gap: 12px;
}

.flight-times div {
  display: flex;
  align-items: center;
}

.label {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 12px;
}

.flight-times-dls td {
  width: 100%;
  display: flex;
  align-items: center;
}

.plusDay {
  font-size: 0.8rem;
  color: var(--brand-blue);
  margin-left: 6px;
  white-space: nowrap;
  overflow: visible;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  border: var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  details.route-card {
    pointer-events: none;
  }

  .pill:not(.pill-warn) {
    display: none;
  }

  details.route-card>summary {
    cursor: default;
  }
}


/* ----------------------------
   Monthly Spotlight
---------------------------- */

.spotlight-card {
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 20px 20px 0px #00aeef40;
}

.spotlight-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.spotlight-body {
  padding: var(--space-4);
}

.spotlight-body h3{
  margin-bottom: var(--space-3);
}

.spotlight-bullets li {
  list-style: none;
  margin-left: -16px;
}

.spotlight-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-3);

  padding: 12px 16px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.spotlight-cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

/* ----------------------------
   Social section
---------------------------- */

.social-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: var(--space-2) auto;
}

.social-actions a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--brand-blue);
  background: var(--card-bg);
  font-weight: bold;
  padding: var(--space-1) var(--space-5);
}

.social-actions a:hover {
  text-decoration: none;
  text-decoration: underline;
}

.social-actions a:active {
  color: var(--bg);
}

.social-embed {
  border: var(--border);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
  min-height: 120px;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-2);
  box-shadow: 20px 20px 0px #00aeef40;
}

.social-fallback {
    margin-top: var(--space-6);
}

.seasonLegacy {
  margin-bottom: var(--space-6);
  width: clamp(300px, 50%, 100%);
}

.social-fallback,
.seasonLegacy {
  padding: var(--space-3);
  border-radius: var(--radius);
  background: var(--surface);
  background-color: #fcaf1794;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-fallback p ,
.seasonLegacy p{
  margin: 0;
  color: #046C84;
  font-weight: bold;
}

.social-item iframe {
  display: block;
  max-width: 100% !important;
  border: 0;
}

/* Desktop */
@media (min-width: 900px) {
  .social-embed {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: normal;
  }
}

.social-item {
  background: white;
  overflow: hidden;
}

/* ----------------------------
   Collapsible sections (Why / How)
---------------------------- */

.collapsible {
  border: var(--border);
  border-radius: var(--radius);
  background: white;
  padding: var(--space-2);
  margin-top: var(--space-4);
  box-shadow: var(--accent-shadow);
}

.collapsible summary {
  cursor: pointer;
  padding: 12px 14px;
  list-style: none;
  font-weight: 700;
  color: var(--brand-blue)
}

.collapsible summary::-webkit-details-marker {
  display: none;
}

.collapsible[open] summary {
  border-bottom: 1px solid var(--border);
}

.collapsible[open] summary svg {
  transform: rotate(90deg);
}

.collapsible ul,
.collapsible ol {
  padding: var(--space-3) var(--space-4) var(--space-3) 28px;
  margin: 0;
  position: relative;
}

.collapsible[open] ul::before,
.collapsible[open] ol::before {
  content: '';
  position: absolute;
  top: -5px;
  border: var(--brand-accent) solid 1px;
  width: calc(100% - 16px);
  left: 8px;
}

/* ----------------------------
   Contact
---------------------------- */

.contact-card {
  border: var(--border);
  border-radius: var(--radius);
  background: white;
  padding: var(--space-4);
  background: var(--card-bg);
  box-shadow: inset 10px 10px 0px 0px #fbb0181a;
}

.contact-card p {
  margin-bottom: var(--space-2);
}

.map {
  margin-top: var(--space-4);
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  min-height: 240px;
}

.contactRow {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 16px;
}

.contactRow span {
  grid-column-start: 2;
}

/* ----------------------------
   Footer
---------------------------- */

#footer {
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner p {
  margin-bottom: 10px;
}

.footer-legal {
  max-width: 80ch;
}

/* ----------------------------
   Desktop enhancements
---------------------------- */

@media (min-width: 900px) {
  :root {
    --pad: 24px;
  }

  .trust-list {
    grid-template-columns: repeat(3, 1fr);
    max-width: max(var(--max), 60vw);
  }

  /* Spotlight becomes a 2-column card on desktop */
  .spotlight-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .spotlight-media img {
    height: 100%;
    min-height: 100%;
  }

  /* Make hero feel more premium on desktop */
  .hero-content {
    padding-top: 96px;
    padding-bottom: 72px;
  }
}

.pill:hover:not(.pill-warn),
.collapsible:hover svg {
  color: var(--brand-accent);
}

.pill:hover:not(.pill-warn),
.collapsible:hover svg {
  animation: blueToAccent 0.2s ease-in;
}

@keyframes blueToAccent {
  from {
    color: var(--brand-blue);
  }

  to {
    color: var(--brand-accent);
  }
}