@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Montserrat:wght@400;500;600&display=swap');

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

:root {
  --ink: #0c0b09;
  --ink-soft: #15130f;
  --ink-lift: #1d1a14;
  --gold: #c8a45d;
  --gold-pale: #e7cf97;
  --ivory: #f3eddf;
  --muted: #aaa18f;
  --line: rgba(200, 164, 93, .28);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 500;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.container { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: .98;
}

h2 { margin-bottom: 0; font-size: clamp(3.2rem, 6vw, 6.2rem); letter-spacing: -.045em; }
h2 em, h1 em { color: var(--gold-pale); font-weight: 400; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(231, 207, 151, .18);
}

.nav {
  min-height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.brand {
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  justify-self: start;
}

.brand img {
  width: 53px;
  height: 53px;
  object-fit: cover;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200, 164, 93, .08);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; }
.brand small { margin-top: .38rem; color: var(--gold); font-size: .54rem; letter-spacing: .34em; text-transform: uppercase; }

nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.4rem, 3vw, 3rem); }

nav a {
  position: relative;
  color: rgba(243, 237, 223, .78);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease;
}

nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -.6rem;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

nav a:hover, nav a:focus-visible { color: var(--gold-pale); }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  justify-self: end;
  color: var(--ivory);
  border: 1px solid rgba(231, 207, 151, .55);
  padding: .7rem 1.05rem;
  font-size: .61rem;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease;
}

.nav-cta:hover, .nav-cta:focus-visible { color: var(--ink); background: var(--gold-pale); }

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: flex;
  align-items: center;
  isolation: isolate;
  background: url('assets/hero-background.jpg') center 48% / cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, .92) 0%, rgba(8, 7, 5, .68) 38%, rgba(8, 7, 5, .18) 75%),
    linear-gradient(0deg, rgba(8, 7, 5, .7) 0%, transparent 38%, rgba(8, 7, 5, .28) 100%);
}

.hero-frame {
  position: absolute;
  inset: 116px 34px 34px;
  z-index: -1;
  border: 1px solid rgba(231, 207, 151, .25);
  pointer-events: none;
}

.hero-content { padding-top: 8rem; }

.hero h1 {
  max-width: 850px;
  margin: 0 0 2rem;
  font-size: clamp(4.6rem, 9.5vw, 9.6rem);
  letter-spacing: -.06em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, .24);
}

.hero h1 em { display: inline-block; margin-left: .7em; font-size: .78em; }

.hero-intro {
  max-width: 580px;
  margin-bottom: 2rem;
  color: rgba(243, 237, 223, .8);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions { display: flex; align-items: center; gap: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 52px;
  border: 1px solid var(--gold);
  padding: .8rem 1.7rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.button-gold { color: var(--ink); background: var(--gold-pale); }
.button-gold:hover, .button-gold:focus-visible { background: var(--gold); transform: translateY(-2px); }

.text-link {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  text-decoration: none;
}

.text-link span { display: inline-block; margin-left: .5rem; color: var(--gold); transition: transform .25s ease; }
.text-link:hover span { transform: translateX(5px); }

.hero-note {
  position: absolute;
  right: 70px;
  bottom: 63px;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(243, 237, 223, .6);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-note-line { width: 1px; height: 50px; background: var(--gold); }

.reveal { animation: reveal-up .8s both cubic-bezier(.2, .8, .2, 1); }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .24s; }
.delay-3 { animation-delay: .36s; }

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.island-story {
  position: relative;
  padding: 9rem 0 10rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(200, 164, 93, .08), transparent 25%),
    var(--ink-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.3fr) minmax(280px, .7fr);
  align-items: start;
  gap: 3rem;
}

.section-number { padding-top: .7rem; color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
.story-heading h2 { max-width: 730px; font-size: clamp(3.4rem, 6vw, 6.3rem); }

.story-copy {
  max-width: 430px;
  padding-top: 3.5rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.58;
}

.story-copy p:first-child { color: var(--ivory); font-size: 1.42rem; }
.story-copy p:last-child { margin-bottom: 0; }

.story-image-wrap { position: relative; margin-top: 6rem; }

.story-image {
  display: block;
  width: 86%;
  height: min(610px, 55vw);
  margin-left: auto;
  object-fit: cover;
  filter: saturate(.8) contrast(1.05);
}

.story-image-wrap::before {
  content: '';
  position: absolute;
  top: -26px;
  left: 8%;
  width: 47%;
  height: 66%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.story-seal {
  position: absolute;
  bottom: -58px;
  left: 5%;
  width: 160px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-pale);
  background: var(--ink);
  box-shadow: inset 0 0 0 8px var(--ink), inset 0 0 0 9px rgba(200, 164, 93, .3);
  transform: rotate(-8deg);
}

.story-seal span { font-family: var(--serif); font-size: 1.65rem; font-style: italic; }
.story-seal small { font-size: .48rem; letter-spacing: .3em; text-transform: uppercase; }

.experiences { padding: 10rem 0; background: var(--ink); }

.section-topline {
  display: grid;
  grid-template-columns: 1.25fr .55fr;
  align-items: end;
  gap: 7rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--line);
}

.section-topline > p {
  margin-bottom: .6rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.experience-list { margin-left: clamp(0px, 10vw, 150px); }

.experience-item {
  min-height: 170px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid rgba(200, 164, 93, .18);
  transition: background .35s ease, padding .35s ease;
}

.experience-item:hover { padding-inline: 1.5rem; background: rgba(200, 164, 93, .04); }
.experience-index { color: var(--gold); font-family: var(--serif); font-style: italic; }
.experience-item h3 { margin: 0 0 .65rem; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.experience-item p { max-width: 600px; margin: 0; color: var(--muted); }

.diamond {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  transition: background .3s ease, transform .3s ease;
}

.experience-item:hover .diamond { background: var(--gold); transform: rotate(135deg); }

.destinations {
  padding: 9rem 0 7rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(200, 164, 93, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 164, 93, .035) 1px, transparent 1px),
    var(--ink-lift);
  background-size: 70px 70px;
}

.destination-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4.5rem; }

.slider-controls { display: flex; align-items: center; gap: 1.2rem; padding-bottom: .8rem; }

.slider-button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--gold-pale);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.slider-button:hover, .slider-button:focus-visible { color: var(--ink); border-color: var(--gold); background: var(--gold); }
.slider-button svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }

.slide-count { min-width: 70px; color: var(--muted); font-family: var(--serif); font-size: 1rem; text-align: center; }
.slide-count strong { color: var(--gold-pale); font-size: 1.55rem; font-weight: 500; }

.destination-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(31vw, 450px);
  gap: 1.5rem;
  padding: 0 max(40px, calc((100vw - 1220px) / 2)) 1.5rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.destination-slider::-webkit-scrollbar { display: none; }
.destination-slider.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.destination-card {
  position: relative;
  height: min(650px, 67vh);
  min-height: 500px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #282218;
  cursor: zoom-in;
  user-select: none;
}

.destination-card:nth-child(even) { margin-top: 3rem; height: min(600px, 62vh); }

.destination-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.75) contrast(1.05);
  transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
  pointer-events: none;
}

.destination-card:hover img { transform: scale(1.055); filter: saturate(.95) contrast(1.04); }

.destination-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: end;
  flex-direction: column;
  padding: 2.2rem;
  background: linear-gradient(0deg, rgba(8, 7, 5, .96), rgba(8, 7, 5, .05) 72%);
  pointer-events: none;
}

.destination-overlay span { color: var(--gold); font-size: .55rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.destination-overlay h3 { margin: .7rem 0 .45rem; font-size: clamp(2.5rem, 4vw, 4rem); }
.destination-overlay p { max-width: 350px; margin: 0; color: rgba(243, 237, 223, .7); font-family: var(--serif); font-size: 1.05rem; line-height: 1.4; }

.slider-hint { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; color: var(--muted); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; }
.slider-hint span { width: 70px; height: 1px; background: var(--gold); }
.slider-hint p { margin: 0; }

.contact-section {
  min-height: 850px;
  display: grid;
  grid-template-columns: minmax(300px, 1.05fr) minmax(500px, .95fr);
  background: var(--ink-soft);
}

.contact-image {
  min-height: 700px;
  background:
    linear-gradient(90deg, transparent 75%, var(--ink-soft)),
    linear-gradient(0deg, rgba(12, 11, 9, .55), transparent 55%),
    url('assets/sri-lanka-wildlife.jpg') center / cover no-repeat;
  filter: saturate(.65);
}

.contact-panel {
  align-self: center;
  width: min(600px, calc(100% - 6rem));
  padding: 6rem 0 6rem 6rem;
}

.contact-panel h2 { margin-bottom: 1.5rem; }
.contact-intro { max-width: 480px; margin-bottom: 2.4rem; color: var(--muted); font-family: var(--serif); font-size: 1.25rem; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.2rem; }
form label { display: flex; flex-direction: column; gap: .3rem; }
form label:nth-of-type(4) { grid-column: 1 / -1; }
form label span { color: var(--gold); font-size: .52rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }

form input, form textarea {
  width: 100%;
  color: var(--ivory);
  border: 0;
  border-bottom: 1px solid rgba(231, 207, 151, .28);
  border-radius: 0;
  outline: 0;
  padding: .55rem 0 .7rem;
  background: transparent;
  resize: vertical;
  transition: border-color .25s ease;
}

form input:focus, form textarea:focus { border-color: var(--gold); }
form .button { width: fit-content; margin-top: .6rem; }
form .button:disabled { cursor: wait; opacity: .65; transform: none; }
.hidden { display: none; }

.form-message { margin-top: 1rem; border-left: 2px solid var(--gold); padding: 1rem 1.2rem; color: var(--gold-pale); background: rgba(200, 164, 93, .08); }
.form-message.error { color: #d5a28d; border-color: #a7634c; }

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact-details a { color: var(--muted); font-family: var(--serif); font-size: 1rem; text-decoration: none; transition: color .2s ease; }
.contact-details a:hover { color: var(--gold-pale); }

.whatsapp {
  position: fixed;
  right: 1.7rem;
  bottom: 1.7rem;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 48px;
  color: var(--ink);
  border: 1px solid var(--gold-pale);
  border-radius: 50px;
  padding: .7rem 1.1rem;
  background: var(--gold-pale);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease;
}

.whatsapp:hover { transform: translateY(-3px); background: var(--gold); }
.whatsapp svg { width: 19px; fill: currentColor; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 4rem;
  opacity: 0;
  visibility: hidden;
  background: rgba(8, 7, 5, .96);
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 88vw); max-height: 78vh; object-fit: contain; border: 1px solid var(--line); }
.lightbox-caption { margin: 0; color: var(--gold-pale); font-family: var(--serif); font-size: 1.25rem; }

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  color: var(--gold-pale);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

footer { padding: 2rem 0; color: var(--muted); border-top: 1px solid var(--line); background: var(--ink); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-inner p { margin: 0; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-inner p:first-child { color: var(--ivory); font-family: var(--serif); font-size: 1.1rem; letter-spacing: .03em; text-transform: none; }
.footer-inner p:first-child span { color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold-pale); outline-offset: 4px; }

@media (max-width: 1000px) {
  .container { width: min(100% - 48px, 1220px); }
  .nav { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .story-grid { grid-template-columns: 45px 1fr; }
  .story-copy { grid-column: 2; padding-top: 0; }
  .section-topline { gap: 3rem; }
  .destination-slider { grid-auto-columns: min(55vw, 440px); padding-left: 24px; padding-right: 24px; }
  .contact-section { grid-template-columns: .8fr 1.2fr; }
  .contact-panel { width: calc(100% - 3rem); padding-left: 3rem; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 1220px); }
  .site-header { position: absolute; }
  .nav { min-height: 78px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 1.1rem; }
  .nav-cta { padding: .6rem .75rem; font-size: .53rem; }
  .hero { min-height: 820px; align-items: end; padding-bottom: 7rem; background-position: 62% center; }
  .hero-frame { inset: 96px 14px 14px; }
  .hero-content { padding-top: 7rem; }
  .hero h1 { font-size: clamp(4rem, 18vw, 6.2rem); }
  .hero h1 em { margin-left: 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .hero-note { display: none; }
  .island-story, .experiences, .destinations { padding: 6rem 0; }
  .story-grid { grid-template-columns: 1fr; gap: 1rem; }
  .section-number { display: none; }
  .story-copy { grid-column: auto; }
  .story-image-wrap { margin-top: 3.5rem; }
  .story-image { width: 100%; height: 68vw; min-height: 350px; }
  .story-image-wrap::before { top: -14px; left: -9px; }
  .story-seal { bottom: -45px; left: 5%; width: 125px; }
  .section-topline { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3rem; }
  .experience-list { margin-left: 0; }
  .experience-item { min-height: 150px; grid-template-columns: 35px 1fr; gap: 1rem; }
  .experience-item .diamond { display: none; }
  .destination-heading { align-items: flex-start; flex-direction: column; margin-bottom: 3rem; }
  .destination-slider { grid-auto-columns: 82vw; gap: 1rem; padding-inline: 18px; }
  .destination-card, .destination-card:nth-child(even) { height: 560px; min-height: 0; margin-top: 0; }
  .slider-hint { margin-top: 1rem; }
  .contact-section { display: block; min-height: 0; }
  .contact-image { min-height: 52vh; background: linear-gradient(0deg, var(--ink-soft), transparent 55%), url('assets/sri-lanka-wildlife.jpg') center / cover no-repeat; }
  .contact-panel { width: 100%; padding: 5rem 18px; }
  form { grid-template-columns: 1fr; }
  form label:nth-of-type(4) { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .6rem; }
}

@media (max-width: 430px) {
  h2 { font-size: 3.2rem; }
  .brand small { letter-spacing: .22em; }
  .nav-cta { max-width: 94px; text-align: center; line-height: 1.3; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: 4.1rem; }
  .hero-intro { font-size: 1.1rem; }
  .destination-card, .destination-card:nth-child(even) { height: 500px; }
  .destination-overlay { padding: 1.5rem; }
  .whatsapp span { display: none; }
  .whatsapp { width: 50px; height: 50px; justify-content: center; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
