:root {
  --lime: #c8f31d;
  --ink: #072032;
  --muted: #666;
  --line: #e7e7e7;
  --paper: #fff;
  --font: "Poppins", "Segoe UI", sans-serif;
  --display: "Oswald", Impact, sans-serif;
  --explore: "Roboto Condensed", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; scroll-padding-top: 86px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font-family: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--lime); padding: 8px 12px; z-index: 30; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 86px;
  padding: 0 28px;
  background: #fff;
  color: var(--ink);
  transform: translateY(0);
  transition: background .22s ease, transform .42s ease, box-shadow .22s ease;
}
.site-header.is-clear {
  background: transparent;
  box-shadow: none;
}
.site-header.is-scrolled:not(.is-clear) {
  box-shadow: 0 10px 28px rgba(7, 32, 50, .08);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.logo { display: flex; justify-self: start; grid-column: 1; }
.logo img { width: 150px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  grid-column: 2;
  gap: 2px;
  background: #e6e6e6;
  border-radius: 999px;
  padding: 5px;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #3d3d3d;
  padding: 9px 16px;
  border-radius: 999px;
}
.nav a.is-active { background: #fff; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.header-actions { display: flex; align-items: center; justify-self: end; grid-column: 3; gap: 10px; }
.icon-btn, .menu {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #efefef;
  color: #222;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.book {
  display: inline-flex;
  align-items: center;
  background: var(--lime);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 18px;
  border: 0;
  cursor: pointer;
}
.menu { display: none; }
.menu span { display: block; width: 16px; height: 2px; background: currentColor; margin: 3px 0; }

.snap { scroll-snap-align: start; scroll-snap-stop: always; }
.hero {
  position: relative;
  height: 1000px;
  background: #1c140c;
  color: #fff;
  overflow: hidden;
}
.hero-photo,
.hero-person {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 68.31%);
  pointer-events: none;
}
.hero-photo { z-index: 0; }
.hero-person { z-index: 2; }
.hero-explore {
  position: absolute;
  left: 0;
  top: 190px;
  z-index: 1;
  transform-origin: left top;
  margin: 0;
  font-family: var(--explore);
  font-weight: 900;
  font-size: 300px;
  line-height: .8;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .5);
  white-space: nowrap;
  pointer-events: none;
}
.play {
  position: absolute;
  left: 80px;
  top: 433px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  background: none;
  border: 0;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
}
.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: #111;
  display: grid;
  place-items: center;
}
.hero h1 {
  position: absolute;
  z-index: 3;
  left: 80px;
  top: 496px;
  max-width: 1000px;
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 150px;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.scroll-label {
  position: absolute;
  z-index: 3;
  right: 66px;
  bottom: 114px;
  writing-mode: vertical-rl;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-btn {
  position: absolute;
  z-index: 3;
  right: 50px;
  bottom: 50px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.scroll-btn.is-dark { background: #1b1b1b; color: #fff; }

/* Home: transparent header over the hero, white once scrolled (matches the reference demo) */
.site-header.is-overlay {
  position: fixed;
  left: 0;
  right: 0;
  padding: 0 80px;
  background: transparent;
  color: #fff;
}
.site-header.is-overlay.is-scrolled:not(.is-clear) { background: #fff; color: var(--ink); box-shadow: 0 0 8px 1px rgba(0, 0, 0, .3); }
.site-header.is-overlay .logo img { width: 180px; }
.site-header.is-overlay .logo-dark { display: none; }
.site-header.is-overlay.is-scrolled:not(.is-clear) .logo-light { display: none; }
.site-header.is-overlay.is-scrolled:not(.is-clear) .logo-dark { display: block; }
.site-header.is-overlay .nav { background: rgba(0, 0, 0, .4); backdrop-filter: blur(27px); -webkit-backdrop-filter: blur(27px); }
.site-header.is-overlay .nav a { color: #fff; font-weight: 400; font-size: 16px; padding: 8px 20px; border-radius: 38px; }
.site-header.is-overlay .nav a.is-active,
.site-header.is-overlay .nav a:hover { background: #fff; color: #000; box-shadow: none; }
.site-header.is-overlay .icon-btn,
.site-header.is-overlay .menu { width: 50px; height: 50px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); color: #fff; }
.site-header.is-overlay.is-scrolled:not(.is-clear) .icon-btn,
.site-header.is-overlay.is-scrolled:not(.is-clear) .menu { background: #e5e5e5; color: #000; }
@media (min-width: 1681px) {
  .hero-explore { left: -30px; font-size: 440px; }
  .play { top: 545px; }
  .hero h1 { top: 608px; }
}
@media (max-width: 1199px) {
  .site-header.is-overlay { padding: 0 15px; }
  .hero { height: 700px; }
  .hero-explore { top: 140px; font-size: 200px; }
  .play { left: 15px; top: 308px; }
  .hero h1 { left: 15px; top: 371px; font-size: 100px; max-width: 850px; }
}

/* Hero intro: plays once on first load (main.js adds .is-intro, then .is-ready). Never loops. */
.hero {
  --intro-ease: cubic-bezier(.22, .61, .36, 1);
}
.hero.is-intro:not(.is-ready) .hero-photo,
.hero.is-intro:not(.is-ready) .hero-person { transform: scale(1.15); }
.hero.is-intro:not(.is-ready) .hero-person,
.hero.is-intro:not(.is-ready) .hero-explore,
.hero.is-intro:not(.is-ready) .play,
.hero.is-intro:not(.is-ready) h1,
.hero.is-intro:not(.is-ready) .scroll-label,
.hero.is-intro:not(.is-ready) .scroll-btn { opacity: 0; }
.hero.is-ready .hero-photo,
.hero.is-ready .hero-person,
.hero.is-ready .hero-explore,
.hero.is-ready .play,
.hero.is-ready h1,
.hero.is-ready .scroll-label,
.hero.is-ready .scroll-btn {
  animation-iteration-count: 1;
  animation-fill-mode: both;
  animation-timing-function: var(--intro-ease);
}
.hero.is-ready .hero-photo { animation-name: hero-zoom; animation-duration: 1400ms; }
/* Same zoom as the photo so the cut-out stays aligned, plus its own fade. */
.hero.is-ready .hero-person {
  animation-name: hero-zoom, hero-fade;
  animation-duration: 1400ms, 1000ms;
  animation-delay: 0ms, 300ms;
}
.hero.is-ready .hero-explore { animation-name: hero-explore-in; animation-duration: 900ms; }
.hero.is-ready h1 { animation-name: hero-fade-up; animation-duration: 800ms; animation-delay: 200ms; }
.hero.is-ready .play { animation-name: hero-fade-up; animation-duration: 800ms; animation-delay: 800ms; }
.hero.is-ready .scroll-label,
.hero.is-ready .scroll-btn { animation-name: hero-fade-up; animation-duration: 800ms; animation-delay: 1000ms; }

@keyframes hero-zoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-explore-in {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero.is-intro .hero-photo,
  .hero.is-intro .hero-person,
  .hero.is-intro .hero-explore,
  .hero.is-intro .play,
  .hero.is-intro h1,
  .hero.is-intro .scroll-label,
  .hero.is-intro .scroll-btn { animation: none; opacity: 1; }
}

.search-layer {
  position: fixed;
  z-index: 6;
  top: 86px;
  right: 28px;
  width: min(420px, calc(100% - 32px));
}
.search-layer[hidden] { display: none; }
.search-layer form { display: flex; background: #fff; border-radius: 999px; padding: 6px; }
.search-layer input { flex: 1; border: 0; padding: 10px 14px; font-size: 15px; }
.search-layer input:focus { outline: none; }
.search-layer button { border: 0; background: var(--lime); border-radius: 999px; font-weight: 700; padding: 10px 14px; cursor: pointer; }

.video-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(7, 32, 50, .78);
  display: grid;
  place-items: center;
  padding: 24px;
}
.video-layer[hidden] { display: none; }
.video-frame { width: min(960px, 100%); position: relative; }
.video-frame img { width: 100%; border-radius: 16px; }
.video-close { position: absolute; top: 12px; right: 12px; border: 0; background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 700; cursor: pointer; }
body.modal-open { overflow: hidden; }

.included { padding: 80px 0 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.eyebrow { margin: 0 0 8px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 6vw, 80px);
  line-height: .92;
  text-transform: lowercase;
}
.include-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.include-list li { padding-left: 16px; position: relative; }
.include-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.about-photos { width: min(1180px, calc(100% - 40px)); margin: 36px auto 0; display: grid; grid-template-columns: 1.2fr .8fr .9fr; gap: 16px; }
.about-photos img { width: 100%; height: 280px; object-fit: cover; border-radius: 18px; }

.section-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }
.section-head.light, .destinations { color: #fff; }
.section-head.light p { color: rgba(255,255,255,.8); }
.destinations { background: var(--ink); padding: 80px 0; margin-top: 70px; }
.dest-grid, .trip-grid, .joy-grid, .news-grid, .review-grid { display: grid; gap: 18px; }
.dest-grid { grid-template-columns: repeat(4, 1fr); }
.dest-card, .trip-card { text-decoration: none; color: inherit; }
.dest-card img, .trip-card img, .package img, .joy-grid img, .news-grid img, .review-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}
.dest-card span, .trip-card span { display: block; margin-top: 12px; }
.dest-card strong, .trip-card strong, h3 { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: .01em; }
.dest-card em, .trip-card em { font-style: normal; color: rgba(255,255,255,.75); font-size: 14px; }
.trip-card em { color: var(--muted); }
.text-link { font-weight: 700; text-decoration: none; }
.destinations .text-link { color: var(--lime); }

.trips, .packages, .holiday, .feedback, .news { padding: 80px 0; }
.trip-grid { grid-template-columns: repeat(3, 1fr); }
.package-list { display: grid; gap: 22px; }
.package { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.package img { height: 190px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.package h3, .news-grid h3, .joy-grid h3 { margin: 0 0 8px; }
.price { font-size: 22px; }
.price s { color: var(--muted); font-size: 16px; margin-left: 8px; }
.center { text-align: center; }

.joy-grid { grid-template-columns: repeat(4, 1fr); }
.joy-grid p, .news-grid p { color: var(--muted); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.news-grid a { text-decoration: none; }
.review-grid { grid-template-columns: repeat(3, 1fr); }
blockquote { margin: 0; background: #f6f7f4; border-radius: 18px; padding: 18px; }
blockquote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
blockquote footer { display: flex; flex-direction: column; margin-top: 12px; }
blockquote span { color: var(--muted); font-size: 14px; }

.subscribe { padding: 0 0 80px; }
.subscribe-box {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: center;
}
.subscribe h2 { color: #fff; font-size: clamp(36px, 4vw, 56px); }
.subscribe p { color: rgba(255,255,255,.75); }
.subscribe a { color: var(--lime); }
.subscribe form { display: flex; background: #fff; border-radius: 999px; padding: 6px; }
.subscribe input[type="email"] { flex: 1; border: 0; padding: 12px 14px; min-width: 0; }
.subscribe button { border: 0; background: var(--lime); border-radius: 999px; font-weight: 700; padding: 12px 16px; cursor: pointer; }

.site-footer { background: #041521; color: #fff; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 24px; }
.site-footer a { display: block; color: rgba(255,255,255,.8); text-decoration: none; margin: 6px 0; }
.site-footer h2 { color: #fff; font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; }
.socials { display: flex; gap: 14px; }
.socials a { margin: 0; }
.to-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  border: 0;
  background: var(--lime);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  cursor: pointer;
}
.to-top.is-on { display: inline-block; }

.page-hero { padding: 140px 0 40px; background: #f4f6f3; }
.page-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(48px, 6vw, 80px); text-transform: uppercase; }
.sheet { width: min(760px, calc(100% - 40px)); margin: 28px auto 80px; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form input, .form select, .form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 16px; }
.note { background: #f4f6f3; border-radius: 12px; padding: 14px 16px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.list img { width: 160px; height: 110px; object-fit: cover; border-radius: 12px; }
.error { color: #8d2b16; font-weight: 700; }

@media (max-width: 900px) {
  .menu { display: grid; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    grid-column: 1 / -1;
    justify-self: stretch;
    background: var(--ink);
    border-radius: 18px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav a { color: #fff; }
  .split, .section-head, .package, .subscribe-box, .footer-grid, .list li { grid-template-columns: 1fr; }
  .dest-grid, .trip-grid, .joy-grid, .news-grid, .review-grid, .about-photos { grid-template-columns: 1fr 1fr; }
  .site-header.is-overlay .nav { background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-header.is-overlay .nav a { color: #fff; }
}
@media (max-width: 767px) {
  .hero { height: 650px; }
  .hero-photo, .hero-person { object-position: 80% 38%; }
  .hero-explore { font-size: 22vw; top: 110px; }
  .play { left: 16px; top: 34%; }
  .scroll-label { right: 22px; bottom: 82px; font-size: 13px; }
  .scroll-btn { right: 8px; bottom: 12px; }
  .hero h1 { left: 16px; right: 48px; top: 46%; font-size: 42px; }
}
@media (max-width: 640px) {
  .dest-grid, .trip-grid, .joy-grid, .news-grid, .review-grid, .about-photos, .include-list { grid-template-columns: 1fr; }
  .site-header { padding: 14px; }
  .site-header.is-overlay { padding: 0 14px; }
  .hero-photo, .hero-person { object-position: 72% 38%; }
  .book { padding: 10px 12px; }
}
