/* =============================================
   SPLASH — airplane window reveal
   ============================================= */

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0e0e18; /* cabin wall (fills letterbox areas outside the PNG) */
}
.splash.is-gone { display: none; }

/* ── Layer 1: destination video ── */
/* Starts zoomed OUT (far away), rushes toward the viewer as the window opens.
   Two forces converging: frame flying at you + destination flying at you. */
.splash__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(0.82);
  transform-origin: 50% 52%;
  animation: sp-video-approach 3.2s cubic-bezier(0.2, 0, 0.55, 1) 0.2s forwards;
}
@keyframes sp-video-approach {
  to { transform: scale(1.22); }
}

/* Veil clears mid-approach so destination "wakes up" while frame still zooming */
.splash__veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 18, 0.94);
  animation: sp-veil-lift 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}
@keyframes sp-veil-lift { to { opacity: 0; } }

/* ── Layer 2: cabin frame ── */
/* Starts at natural size, slow build then sharp acceleration —
   the window frame flies past the viewer like you punched through it. */
.splash__cabin {
  position: absolute;
  inset: 0;
  transform-origin: 51.5% 48.5%; /* oval window center */
  animation: sp-cabin-approach 3.0s cubic-bezier(0.3, 0, 0.85, 1) 0.2s forwards;
}
@keyframes sp-cabin-approach {
  0%   { transform: scale(1);   opacity: 1; }
  55%  { transform: scale(1.6); opacity: 1; }
  85%  { transform: scale(3.0); opacity: 0.6; }
  100% { transform: scale(4.2); opacity: 0; }
}

.splash__svg,
.splash__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.splash__frame {
  object-fit: cover;
  object-position: center;
}

/* Shutter rises while cabin starts its slow zoom — both in motion together */
#splashShutter {
  animation: sp-shutter-rise 1.3s cubic-bezier(0.6, 0, 0.2, 1) 0.35s forwards;
}
@keyframes sp-shutter-rise {
  from { clip-path: inset(0 0 0%   0); }
  to   { clip-path: inset(0 0 100% 0); }
}

/* ── Site mist briefly bridges the cut to the live hero ── */
.site-mist {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: radial-gradient(
    ellipse 80% 60% at 50% 28%,
    rgba(210, 232, 248, 0.45) 0%,
    rgba(210, 232, 248, 0.08) 55%,
    transparent 80%
  );
  opacity: 0;
  pointer-events: none;
}
.site-mist.is-active   { opacity: 1; }
.site-mist.is-clearing { transition: opacity 1.8s ease-out; opacity: 0; }

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Josefin Sans', sans-serif;
  background: #132841;
  color: #fff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* =============================================
   TOKENS
   ============================================= */
:root {
  --navy: #132841;
  --navy-dark: #12344F;
  --teal: #3ABDC5;
  --white: #ffffff;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Josefin Sans', sans-serif;
  --font-nav: 'Inter', sans-serif;
}

/* =============================================
   SHARED COMPONENTS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: 27px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn--white {
  background: #fff;
  color: var(--navy);
}
.btn--white:hover { background: #e8e8e8; }

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 60px;
}

.section-divider {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: rgba(58, 189, 197, 0.3);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  gap: 24px;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav__item { position: relative; }

.nav__link {
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  opacity: 0.92;
  white-space: nowrap;
  transition: opacity 0.2s;
  padding: 4px 0;
}
.nav__link:hover { opacity: 1; }

.nav__link--caret::after {
  content: ' ▾';
  font-size: 12px;
}

/* Dropdown */
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  background: transparent;
  list-style: none;
  min-width: 200px;
  z-index: 200;
}

.nav__dropdown li {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.nav__dropdown li:first-child { border-radius: 4px 4px 0 0; }
.nav__dropdown li:last-child  { border-radius: 0 0 4px 4px; }

.nav__item--dropdown:hover .nav__dropdown { display: block; }

.nav__dropdown li a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  transition: background 0.15s;
}
.nav__dropdown li a:hover { background: rgba(58,189,197,0.1); color: var(--teal); }
.nav__dropdown li + li {
  border-top: 1px solid rgba(58,189,197,0.3);
}

.nav__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.nav__social:hover { background: rgba(255,255,255,0.3); }
.nav__social svg { width: 16px; height: 16px; }

/* ── Hamburger button ── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile drawer ── */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  flex-direction: column;
  background: rgba(13, 27, 40, 0.98);
  padding: 100px 32px 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.3s;
}
.nav__mobile.is-open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.nav__mobile-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav__mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.nav__mobile-link:hover { color: var(--teal); }

.nav__mobile-link .caret {
  font-size: 14px;
  transition: transform 0.2s;
  opacity: 0.6;
}
.nav__mobile-item.is-open .caret { transform: rotate(180deg); }
.nav__mobile-item.is-open > .nav__mobile-link { color: var(--teal); }

/* Mobile sub-menu */
.nav__mobile-sub {
  display: none;
  flex-direction: column;
  gap: 0;
  margin: 0 -32px;
  padding: 0;
  background: rgba(58,189,197,0.05);
  border-top: 1px solid rgba(58,189,197,0.2);
}
.nav__mobile-item.is-open .nav__mobile-sub { display: flex; }

.nav__mobile-sub li { list-style: none; }

.nav__mobile-sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, background 0.2s;
}
.nav__mobile-sub a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.nav__mobile-sub a:hover {
  color: #fff;
  background: rgba(58,189,197,0.1);
}
.nav__mobile-sub a:hover::before { opacity: 1; }

/* Mobile socials row */
.nav__mobile-socials {
  display: flex;
  gap: 16px;
  padding-top: 32px;
}
.nav__mobile-socials .nav__social {
  width: 44px;
  height: 44px;
}
.nav__mobile-socials .nav__social svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .nav__links  { display: none; }
  .nav__socials { display: none; }
  .nav__hamburger { display: flex; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__bg.is-revealed {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14,27,39,0.49) 0%,
    rgba(14,27,39,0.06) 46%,
    rgba(14,27,39,0.90) 100%
  );
}

.hero__headline {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 700;
  color: #fbf9f9;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
  transition: border-color 0.2s;
}
.hero__scroll:hover { border-color: #fff; }
.hero__scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   DESTINATION CARDS
   ============================================= */
.destinations {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding-top: 64px;
  padding-bottom: 16px;
  overflow: hidden;
}

.cards-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: 0;
  scroll-padding-inline: 0;
}
.cards-track::-webkit-scrollbar { display: none; }

.card {
  position: relative;
  /* 2 cards + 12px gap = 100vw exactly, so both fill the screen edge-to-edge */
  width: calc(50vw - 6px);
  min-width: calc(50vw - 6px);
  flex-shrink: 0;
  aspect-ratio: 2/3;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: opacity 0.3s;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover img { transform: scale(1.06); }

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.75) 100%
  );
}

.card__name {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(20px, 5.5vw, 32px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  z-index: 2;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 28px;
  position: relative;
  z-index: 1;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s;
  flex-shrink: 0;
}
.dot--active {
  width: 24px;
  border-radius: 4px;
  background: var(--teal);
}

/* =============================================
   EXPERIENCE THE WORLD
   ============================================= */
.experience {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
}

.experience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: start;
}

.exp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-transform: capitalize;
}

.exp-card__img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.exp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.exp-card:hover .exp-card__img img { transform: scale(1.04); }

.exp-card__desc {
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  color: rgba(255,255,255,0.9);
  flex: 1;
}

/* =============================================
   MEET THE ESCAPERS
   ============================================= */
.escapers {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(58,189,197,0.15);
}

.escapers .section-title { margin-bottom: 4px; }

.escapers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  margin: 28px 0;
}

.escaper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.escaper__img {
  width: 100%;
  max-width: 544px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.escaper__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.escaper__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
}

.escaper__bio {
  font-size: 17px;
  line-height: 1.65;
  text-align: center;
  color: rgba(255,255,255,0.88);
  max-width: 420px;
}

/* =============================================
   LATEST BLOGS
   ============================================= */
.blogs {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(58,189,197,0.15);
}

.blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1500px;
  width: 100%;
  margin-bottom: 48px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: -1;
}

.blog-card__img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  order: 0;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.04); }

.blog-card__desc {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255,255,255,0.88);
  flex: 1;
}

.blog-card__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.tag {
  display: inline-block;
  padding: 6px 22px;
  border-radius: 27px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  position: relative;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.footer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 51, 0.82);
}

.footer__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 5% 40px;
  gap: 0;
}

.footer__headline {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.footer__sub {
  font-family: var(--font-body);
  font-size: 20px;
  text-align: center;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}

.footer__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 620px;
  margin-bottom: 56px;
}

.footer__input {
  width: 100%;
  padding: 16px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.6);
  background: rgba(217,217,217,0.25);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  outline: none;
  transition: border-color 0.2s;
}
.footer__input::placeholder { color: rgba(255,255,255,0.65); }
.footer__input:focus { border-color: rgba(255,255,255,0.9); }

.footer__logo {
  margin-bottom: 56px;
}
.footer__logo img {
  height: 160px;
  width: auto;
}

.footer__rule {
  width: 100%;
  max-width: 1520px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.6);
  margin-bottom: 0;
}

.footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 1520px;
  background: rgba(0,26,51,0.5);
  backdrop-filter: blur(6px);
  padding: 28px 48px;
  margin-bottom: 0;
}

.footer__contact-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 32px;
}

.footer__contact-divider {
  width: 1px;
  height: 90px;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.footer__contact-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__contact-value {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  color: #fff;
  transition: opacity 0.2s;
}
.footer__social-link:hover { opacity: 0.75; }

.footer__rule--bottom {
  margin-top: 0;
  margin-bottom: 0;
}

.footer__bottom {
  width: 100%;
  max-width: 1520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,0.85);
}

.footer__bottom-links {
  display: flex;
  gap: 40px;
}
.footer__bottom-links a:hover { color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .experience__grid,
  .blogs__grid { gap: 28px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }

  .experience__grid,
  .blogs__grid { grid-template-columns: 1fr; max-width: 480px; }

  .escapers__grid { grid-template-columns: 1fr; max-width: 480px; }

  .footer__contact { flex-direction: column; gap: 28px; }
  .footer__contact-divider { width: 120px; height: 1px; }

  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer__bottom-links { justify-content: center; }
}

@media (max-width: 600px) {
  .nav { padding: 14px 20px; }
  .nav__logo img { height: 38px; }

  .hero__headline { font-size: clamp(52px, 18vw, 100px); }

  .experience, .escapers, .blogs { padding: 56px 5%; }

  .footer__contact { padding: 24px 20px; }
  .footer__socials { flex-direction: column; gap: 14px; }
}
