/* =================================================================
   NUWARA ELIYA TUK TUK TOURS — STYLESHEET
   ===================================================================
   A quick map of this file:
     1.  Design tokens (colors, type, spacing, motion)
     2.  Reset & base
     3.  Utilities (container, eyebrow, section title, buttons)
     4.  Scroll-reveal animation system
     5.  Custom cursor (desktop only)
     6.  Loading skeleton / image fade-in
     7.  Header & navigation
     8.  Hero
     9.  Mountain-ridge divider
    10.  About
    11.  Services
    12.  Packages
    13.  Parallax CTA band
    14.  Pricing
    15.  Itinerary (mountain-road timeline)
    16.  Gallery + lightbox
    17.  Reviews
    18.  Contact
    19.  Footer
    20.  Back-to-top & toast
    21.  Responsive breakpoints
    22.  Reduced-motion overrides

   CUSTOMIZING: almost everything you'd want to tweak — colors, fonts,
   animation speed/easing, spacing — lives in the :root block in
   section 1. Change it there and it cascades everywhere.
   ================================================================= */


/* =================================================================
   1. DESIGN TOKENS
   ================================================================= */

:root{

  /* ---- Color: misty mountain blue + tea-plantation green ---- */
  --ink:            #16241f;   /* body text */
  --ink-soft:       #445048;   /* secondary text on light bg */
  --slate:          #22404d;   /* misty mountain blue — primary dark */
  --slate-deep:     #142832;   /* deeper slate — footer / contact bg */
  --tea:            #2f5b3d;   /* tea-plantation green — brand primary */
  --tea-deep:       #1f4029;   /* deep tea green — hovers / gradients */
  --tea-light:       #86a98a;   /* soft sage — subtle accents */
  --gold:           #cf9c44;   /* highland gold — CTAs, price, stars */
  --gold-deep:      #b5813a;   /* gold hover */
  --gold-light:     #e7c383;
  --mist:           #f6f8f4;   /* page background */
  --fog:            #eaefe9;   /* alt section background */
  --cloud:          #ffffff;
  --line:           #dde5df;   /* hairline borders */
  --whatsapp:       #25d366;
  --whatsapp-deep:  #1ebe5d;

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Motion ---- */
  --dur-fast:  0.25s;
  --dur-base:  0.5s;
  --dur-slow:  0.9s;
  --ease:      cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  /* ---- Layout ---- */
  --container-w: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-h: 84px;
}

/* =================================================================
   2. RESET & BASE
   ================================================================= */

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

html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

html.no-js .reveal,
html.no-js .reveal-left,
html.no-js .reveal-right,
html.no-js .reveal-scale{
  opacity: 1 !important;
  transform: none !important;
}

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--mist);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a{
  color: inherit;
}

ul{
  list-style: none;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.15;
  font-weight: 600;
}

p{
  color: var(--ink-soft);
}

button{
  font-family: var(--font-body);
  cursor: pointer;
}

/* Visible, intentional focus state for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection{
  background: var(--tea);
  color: #fff;
}

/* =================================================================
   3. UTILITIES
   ================================================================= */

.container{
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

section{
  padding: clamp(70px, 10vw, 130px) 0;
  position: relative;
}

.section-alt{
  background: var(--fog);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tea);
  margin-bottom: 16px;
}

.eyebrow::before{
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section-title{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title .eyebrow{
  justify-content: center;
}

.section-title .eyebrow::before{
  display: none;
}

.section-title h2{
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
}

.section-title p{
  margin-top: 14px;
  font-size: 17px;
}

/* ---- Buttons ---- */

.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              color var(--dur-fast) var(--ease-soft);
}

/* Sweep-fill hover: a diagonal fill slides up from below on hover,
   cheaper than animating background-color and reads as more premium. */
.btn::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease);
}

.btn:hover::before{
  transform: translateY(0);
}

.btn:active{
  transform: scale(0.97);
}

.btn-gold{
  background: var(--gold);
  color: #201404;
  box-shadow: 0 10px 30px -10px rgba(207,156,68,0.6);
}
.btn-gold::before{ background: var(--gold-deep); }
.btn-gold:hover{ box-shadow: 0 14px 34px -8px rgba(207,156,68,0.75); transform: translateY(-2px); }

.btn-whatsapp{
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37,211,102,0.55);
}
.btn-whatsapp::before{ background: var(--whatsapp-deep); }
.btn-whatsapp:hover{ box-shadow: 0 14px 34px -8px rgba(37,211,102,0.7); transform: translateY(-2px); }

.btn-outline{
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline::before{ background: rgba(255,255,255,0.14); }

.btn-dark{
  background: var(--slate);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(20,40,50,0.5);
}
.btn-dark::before{ background: var(--tea-deep); }
.btn-dark:hover{ transform: translateY(-2px); }

.btn-sm{
  padding: 11px 24px;
  font-size: 14px;
}

.btn i{
  font-size: 0.95em;
}

/* =================================================================
   4. SCROLL-REVEAL ANIMATION SYSTEM
   ================================================================= */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale{
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease),
              transform var(--dur-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal{        transform: translateY(46px); }
.reveal-left{   transform: translateX(-46px); }
.reveal-right{  transform: translateX(46px); }
.reveal-scale{  transform: scale(0.9); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible{
  opacity: 1;
  transform: none;
}

/* =================================================================
   5. CUSTOM CURSOR (desktop, fine-pointer only — see script.js)
   ================================================================= */

.cursor-dot,
.cursor-ring{
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--dur-fast) ease, width var(--dur-fast) var(--ease-soft), height var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}

.cursor-dot{
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.cursor-ring{
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(207,156,68,0.55);
  transform: translate(-50%, -50%);
  transition-delay: 0.02s;
}

html.cursor-active .cursor-dot,
html.cursor-active .cursor-ring{
  opacity: 1;
}

html.cursor-active.cursor-hover .cursor-ring{
  width: 60px;
  height: 60px;
  border-color: var(--gold);
  background: rgba(207,156,68,0.08);
}

html.cursor-active.cursor-hover .cursor-dot{
  opacity: 0;
}

html.cursor-active,
html.cursor-active body,
html.cursor-active a,
html.cursor-active button{
  cursor: none;
}

/* =================================================================
   6. LOADING SKELETON / IMAGE FADE-IN
   ================================================================= */

.img-frame{
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--fog) 30%, #f2f5f0 45%, var(--fog) 60%);
  background-size: 250% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

.img-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-soft), transform 0.7s var(--ease);
}

.img-frame img.is-loaded{
  opacity: 1;
}

.img-frame.is-ready{
  animation: none;
  background: none;
}

@keyframes shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -50% 0; }
}

/* =================================================================
   7. HEADER & NAVIGATION
   ================================================================= */

header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 22px 0;
  transition: padding var(--dur-base) var(--ease-soft),
              background var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft);
}

header.is-scrolled{
  padding: 12px 0;
  background: rgba(20,40,50,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.35);
}

.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo{
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  line-height: 1.1;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.logo-main{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-sub{
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.nav-links a:not(.btn){
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 6px 0;
  white-space: nowrap;
}

/* Underline-reveal on hover */
.nav-links a:not(.btn)::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).is-active::after{
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:not(.btn).is-active{
  color: var(--gold-light);
}

.nav-cta{
  margin-left: 6px;
}

.menu-btn{
  display: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1100;
}

/* =================================================================
   8. HERO
   ================================================================= */

.hero{
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-media{
  position: absolute;
  inset: -10% 0 0 0;
  height: 120%;
  will-change: transform;
}

.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns{
  0%{ transform: scale(1); }
  100%{ transform: scale(1.12); }
}

.hero-media::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,40,50,0.55) 0%, rgba(20,40,50,0.12) 26%, rgba(20,40,50,0.18) 60%, rgba(15,32,25,0.86) 100%),
    linear-gradient(100deg, rgba(31,64,41,0.35), rgba(20,40,50,0.15) 55%);
}

.hero-content{
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 880px;
  padding: 0 24px;
}

.hero-content .eyebrow{
  color: var(--gold-light);
  justify-content: center;
}
.hero-content .eyebrow::before{ display: none; }

.hero-content h1{
  font-size: clamp(38px, 6.4vw, 76px);
  color: #fff;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-content p{
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.92);
  margin-bottom: 38px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Staggered entrance — driven by inline --d custom properties in HTML */
.hero-anim{
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes heroIn{
  to{ opacity: 1; transform: translateY(0); }
}

.hero-scroll-cue{
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroIn 1s var(--ease) forwards;
  animation-delay: 1.3s;
}

.hero-scroll-cue i{
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(7px); }
}

/* =================================================================
   9. MOUNTAIN-RIDGE DIVIDER
   ================================================================= */

.ridge-divider{
  position: relative;
  z-index: 3;
  margin-top: -2px;
  line-height: 0;
}

.ridge-divider svg{
  width: 100%;
  height: auto;
  display: block;
}

/* =================================================================
   10. ABOUT
   ================================================================= */

.about-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-media{
  position: relative;
}

.about-media .img-frame{
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(20,40,50,0.35);
}

.about-media .img-frame img{
  aspect-ratio: 4/5;
}

.about-accent{
  position: absolute;
  z-index: 2;
  width: 46%;
  bottom: -10%;
  left: -12%;
  border: 6px solid var(--mist);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -15px rgba(20,40,50,0.4);
  overflow: hidden;
}

.about-accent .img-frame img{
  aspect-ratio: 1/1;
}

.stat-badge{
  position: absolute;
  z-index: 3;
  top: -8%;
  right: -8%;
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 20px 45px -15px rgba(20,40,50,0.35);
  text-align: left;
  max-width: 190px;
}

.stat-badge .stat-num{
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--tea);
  font-weight: 600;
  display: block;
}

.stat-badge .stat-label{
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-text h3{
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 22px;
}

.about-text p{
  margin-bottom: 18px;
  line-height: 1.85;
}

.about-text .lede{
  color: var(--ink);
  font-weight: 500;
  font-size: 17.5px;
}

.about-text-full{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
}

.about-text-full.is-open{
  max-height: 1400px;
}

.read-more-btn{
  background: none;
  border: none;
  color: var(--tea);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  margin-bottom: 22px;
}

.read-more-btn i{
  transition: transform var(--dur-fast) var(--ease-soft);
}

.read-more-btn.is-open i{
  transform: rotate(180deg);
}

.features{
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 6px;
}

.features div{
  font-weight: 600;
  font-size: 14.5px;
  color: var(--slate);
  display: flex;
  align-items: center;
}

.features i{
  color: var(--gold);
  margin-right: 10px;
  font-size: 15px;
}

/* =================================================================
   11. SERVICES
   ================================================================= */

.service-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.service-card{
  background: var(--cloud);
  padding: 46px 34px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 14px 40px -18px rgba(20,40,50,0.18);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.service-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 26px 50px -18px rgba(20,40,50,0.28);
}

.service-icon{
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--tea) 0%, var(--slate) 100%);
  transition: transform var(--dur-base) var(--ease);
}

.service-card:hover .service-icon{
  transform: scale(1.08) rotate(-6deg);
}

.service-icon i{
  font-size: 30px;
  color: var(--gold-light);
}

.service-card h3{
  margin-bottom: 12px;
  font-size: 22px;
}

.highlight{
  color: var(--gold-deep);
  font-weight: 700;
}

/* =================================================================
   12. PACKAGES
   ================================================================= */

.package-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
}

.package-card{
  background: var(--cloud);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px -18px rgba(20,40,50,0.22);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.package-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 55px -18px rgba(20,40,50,0.32);
}

.package-card .img-frame{
  height: 250px;
}

.package-card .img-frame img{
  transition: transform 0.7s var(--ease);
}

.package-card:hover .img-frame img{
  transform: scale(1.09);
}

.package-content{
  padding: 30px 28px;
}

.package-content h3{
  margin-bottom: 14px;
  font-size: 22px;
}

.package-content p{
  line-height: 1.75;
  margin-bottom: 26px;
  font-size: 15px;
}

/* =================================================================
   13. PARALLAX CTA BAND
   ================================================================= */

.cta-band{
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.cta-band-media{
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  will-change: transform;
}

.cta-band-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.cta-band-media::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,22,0.75) 0%, rgba(20,40,50,0.55) 55%, rgba(15,28,22,0.82) 100%);
}

.cta-band-content{
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 90px 24px;
}

.cta-band .eyebrow{
  color: var(--gold-light);
  justify-content: center;
}
.cta-band .eyebrow::before{ display: none; }

.cta-band h2{
  color: #fff;
  font-size: clamp(28px, 4.4vw, 46px);
  max-width: 700px;
  margin: 0 auto 18px;
  text-wrap: balance;
}

.cta-band p{
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin: 0 auto 34px;
  font-size: 16.5px;
}

/* =================================================================
   14. PRICING
   ================================================================= */

.pricing-card{
  max-width: 1080px;
  margin: 0 auto;
  background: var(--cloud);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 340px 1fr;
  box-shadow: 0 30px 70px -25px rgba(20,40,50,0.3);
}

.price-tag{
  position: relative;
  background: linear-gradient(160deg, var(--tea) 0%, var(--slate) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
  text-align: center;
  overflow: hidden;
}

.price-tag::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(207,156,68,0.25), transparent 55%);
}

.price-tag .rating{
  position: relative;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-tag h1{
  position: relative;
  font-size: 74px;
  color: #fff;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.price-tag p{
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}

.pricing-details{
  padding: 54px 56px;
}

.pricing-details h3{
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 18px;
}

.pricing-details p{
  line-height: 1.8;
  margin-bottom: 28px;
}

.pricing-features{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-bottom: 36px;
}

.pricing-features div{
  font-weight: 500;
  font-size: 14.5px;
  color: var(--slate);
  display: flex;
  align-items: center;
}

.pricing-features i{
  color: var(--gold);
  margin-right: 10px;
  font-size: 15px;
}

/* =================================================================
   15. ITINERARY — mountain-road timeline
   ================================================================= */

.itinerary-container{
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* the dashed centre line evokes a mountain road's centre markings */
.route-line{
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 34px;
  width: 3px;
  background: repeating-linear-gradient(to bottom, var(--gold) 0 12px, transparent 12px 24px);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease);
}

.route-line.is-drawn{
  transform: scaleY(1);
}

.itinerary-box{
  position: relative;
  padding-left: 92px;
  padding-bottom: 46px;
}

.itinerary-box:last-child{
  padding-bottom: 0;
}

.stop-marker{
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--cloud);
  border: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -12px rgba(20,40,50,0.25);
  transition: transform var(--dur-base) var(--ease), background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

.stop-marker .stop-no{
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--tea);
  line-height: 1;
}

.stop-marker .stop-label{
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.itinerary-box.is-visible .stop-marker{
  background: linear-gradient(150deg, var(--tea), var(--slate));
  border-color: var(--gold);
  transform: scale(1.05);
}

.itinerary-box.is-visible .stop-marker .stop-no,
.itinerary-box.is-visible .stop-marker .stop-label{
  color: #fff;
}

.itinerary-content{
  background: var(--cloud);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 10px 30px -16px rgba(20,40,50,0.18);
  border-left: 3px solid transparent;
  transition: border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.itinerary-box.is-visible .itinerary-content{
  border-left-color: var(--gold);
}

.itinerary-content h3{
  margin-bottom: 10px;
  font-size: 20px;
}

.itinerary-content p{
  line-height: 1.75;
  font-size: 15px;
}

/* =================================================================
   16. GALLERY + LIGHTBOX
   ================================================================= */

.gallery-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-item{
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: 0 8px 24px -14px rgba(20,40,50,0.25);
}

.gallery-item .img-frame{
  width: 100%;
  height: 100%;
}

.gallery-item img{
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img{
  transform: scale(1.12);
}

.gallery-item::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,40,50,0.7) 0%, transparent 45%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-soft);
}

.gallery-item:hover::after{
  opacity: 1;
}

.gallery-item .expand-icon{
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft);
}

.gallery-item:hover .expand-icon{
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12,22,18,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-soft);
}

.lightbox.is-open{
  opacity: 1;
  visibility: visible;
}

.lightbox-figure{
  max-width: min(88vw, 1000px);
  max-height: 84vh;
  position: relative;
  transform: scale(0.94);
  transition: transform var(--dur-base) var(--ease);
}

.lightbox.is-open .lightbox-figure{
  transform: scale(1);
}

.lightbox-figure img{
  max-width: 100%;
  max-height: 84vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next{
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover{
  background: var(--gold);
  color: #201404;
}

.lightbox-close{
  top: -60px;
  right: 0;
}

.lightbox-prev{
  left: clamp(-60px, -8vw, -20px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next{
  right: clamp(-60px, -8vw, -20px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-counter{
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* =================================================================
   17. REVIEWS
   ================================================================= */

.review-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card{
  position: relative;
  background: var(--cloud);
  padding: 40px 36px;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 40px -18px rgba(20,40,50,0.18);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

.review-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -18px rgba(20,40,50,0.26);
}

.review-card .quote-mark{
  font-family: var(--font-display);
  font-size: 70px;
  color: var(--fog);
  position: absolute;
  top: 12px;
  right: 24px;
  line-height: 1;
  z-index: 0;
}

.review-stars{
  color: var(--gold);
  font-size: 15px;
  margin-bottom: 16px;
  letter-spacing: 2px;
  position: relative;
}

.review-card p{
  line-height: 1.8;
  margin-bottom: 22px;
  position: relative;
  color: var(--ink);
  font-size: 15.5px;
}

.review-card h4{
  font-size: 15px;
  font-weight: 600;
  color: var(--tea);
  font-family: var(--font-body);
}

.reviews-cta{
  text-align: center;
  margin-top: 54px;
}

/* =================================================================
   18. CONTACT
   ================================================================= */

.contact{
  background: var(--slate-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact::before{
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(47,91,61,0.5), transparent 68%);
  z-index: 0;
}

.contact .section-title h2{
  color: #fff;
}

.contact .eyebrow{
  color: var(--gold-light);
}

.contact-container{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info h3{
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
  margin-bottom: 22px;
}

.contact-info > p{
  color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
  max-width: 380px;
}

.contact-line{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  text-decoration: none;
}

.contact-line .icon-circle{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

a.contact-line:hover .icon-circle{
  background: var(--gold);
  color: #201404;
  transform: scale(1.08);
}

.contact-form{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 36px;
  border-radius: var(--radius-md);
}

.field{
  position: relative;
}

.field input,
.field textarea{
  width: 100%;
  padding: 16px 4px 8px;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 15.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-soft);
}

.field textarea{
  resize: none;
  height: 100px;
}

.field label{
  position: absolute;
  left: 4px;
  top: 16px;
  color: rgba(255,255,255,0.55);
  font-size: 15.5px;
  pointer-events: none;
  transition: transform var(--dur-fast) var(--ease-soft), font-size var(--dur-fast) var(--ease-soft), color var(--dur-fast) var(--ease-soft);
}

.field input:focus,
.field textarea:focus{
  border-color: var(--gold);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label{
  transform: translateY(-14px);
  font-size: 11.5px;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.contact-form button{
  padding: 15px;
  border: none;
  border-radius: 50px;
  background: var(--gold);
  color: #201404;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform var(--dur-fast) var(--ease-soft), box-shadow var(--dur-fast) var(--ease-soft), background var(--dur-fast) var(--ease-soft);
}

.contact-form button:hover{
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(207,156,68,0.6);
}

.field.field-shake{
  animation: shake 0.4s var(--ease);
}

@keyframes shake{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-6px); }
  75%{ transform: translateX(6px); }
}

/* =================================================================
   19. FOOTER
   ================================================================= */

footer{
  background: var(--slate-deep);
  color: #fff;
  text-align: center;
  padding: 50px 20px 34px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-logo{
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

footer .tagline{
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  font-size: 14.5px;
}

.footer-back-top{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px 0;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 22px;
  border-radius: 50px;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease-soft);
}

.footer-back-top:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.copy{
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  margin-top: 10px;
}

.dev-credit{
  color: rgba(255,255,255,0.4);
  font-size: 12.5px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.dev-credit strong{
  color: var(--gold-light);
  font-weight: 600;
}

.dev-links{
  display: inline-flex;
  gap: 16px;
  margin-left: 8px;
}

.dev-links a{
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

.dev-links a:hover{
  color: var(--gold-light);
}

.dev-links i{
  margin-right: 4px;
}

@media (max-width: 480px){
  .dev-links{
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 8px;
    gap: 20px;
  }
}

/* =================================================================
   20. BACK-TO-TOP & TOAST
   ================================================================= */

.back-to-top{
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 12px 28px -10px rgba(20,40,50,0.5);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft), background var(--dur-fast) var(--ease-soft), visibility var(--dur-base);
}

.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover{
  background: var(--tea);
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--slate);
  color: #fff;
  padding: 15px 26px;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,0.4);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-soft), visibility var(--dur-base);
}

.toast.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast i{
  color: var(--whatsapp);
}

/* =================================================================
   21. RESPONSIVE
   ================================================================= */

@media (max-width: 1024px){

  .about-container{
    gap: 46px;
  }

  .contact-container{
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .pricing-card{
    grid-template-columns: 1fr;
  }

  .price-tag{
    padding: 44px 20px;
  }
}

@media (max-width: 1180px){

  .nav-links{
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--slate-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transition: right var(--dur-base) var(--ease);
    box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  }

  .nav-links.is-active{
    right: 0;
  }

  .nav-links a:not(.btn){
    font-size: 17px;
  }

  .nav-cta{
    margin-left: 0;
    margin-top: 10px;
  }

  .menu-btn{
    display: block;
  }

  .about-container{
    grid-template-columns: 1fr;
  }

  .about-media{
    max-width: 420px;
    margin: 0 auto 40px;
  }

  .about-accent{
    width: 42%;
  }

  .pricing-features{
    grid-template-columns: 1fr;
  }

  .cursor-dot, .cursor-ring{
    display: none;
  }
}

@media (max-width: 700px){

  .itinerary-box{
    padding-left: 78px;
  }

  .stop-marker{
    width: 58px;
    height: 58px;
  }

  .route-line{
    left: 28px;
  }

  .pricing-details{
    padding: 40px 28px;
  }
}

@media (max-width: 600px){

  section{
    padding: 60px 0;
  }

  .hero-content h1{
    line-height: 1.25;
  }

  .hero-buttons{
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn{
    width: 100%;
  }

  .about-accent{
    display: none;
  }

  .stat-badge{
    position: static;
    max-width: none;
    margin-top: -40px;
    margin-left: 16px;
    margin-right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }

  .price-tag h1{
    font-size: 58px;
  }

  .contact-form{
    padding: 26px;
  }

  .lightbox-prev, .lightbox-next{
    width: 38px;
    height: 38px;
    left: 6px;
  }

  .lightbox-next{
    left: auto;
    right: 6px;
  }

  .lightbox-close{
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.4);
  }

  /* Two-column grid reads as an actual "gallery" on small screens —
     one column per row would mean 31 full-width stacked photos. */
  .gallery-container{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item .expand-icon{
    width: 30px;
    height: 30px;
    font-size: 12px;
    bottom: 8px;
    right: 8px;
  }
}

/* =================================================================
   22. REDUCED MOTION
   ================================================================= */

@media (prefers-reduced-motion: reduce){

  html{
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale{
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-media img{
    animation: none;
  }

  .cursor-dot, .cursor-ring{
    display: none !important;
  }
}
