@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Poppins:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

/* =========================================================
   ROOT + BASE
========================================================= */
:root{
  --blue:#00abe4;
  --khaki:#e6dbc9;
  --deep-rusted-red:#c1432e;
  --silver-head-dress:#4b6777;
  --rusted-gold:#c8a951;
  --black:#0b0b0b;
  --white:#fff;

  --shadow:0 20px 50px rgba(0,0,0,0.2);
  --transition:all 0.5s cubic-bezier(.4,0,.2,1);

  --font-heading:"Poppins",sans-serif;
  --font-body:"Inter",sans-serif;
  --font-head:"Caveat",cursive;
}

*{ box-sizing:border-box; }
html, body{
  height: auto;        /* ✅ don’t lock to 100% */
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;    /* ✅ window scroll stays active */
}

body{
  margin:0;
  font-family: var(--font-body);
  color:#222;

  /* ✅ responsive pattern size (smaller on small screens) */
  background: url("../images/bg-pattern.png") repeat;
  background-size: clamp(140px, 25vw, 400px);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* =========================================================
   GLOBAL CARET / SELECTION FIXES (ONLY ONCE ✅)
========================================================= */

/* Hide caret in non-input UI */
body, *{ caret-color: transparent; }

/* Allow caret in form fields */
input, textarea, [contenteditable="true"]{
  caret-color: auto !important;
}

/* Disable selection on your interactive UI elements */
.categories, .categories *,
.section-nav, .section-nav *,
.controls, .controls *,
.arrowButtons, .arrowButtons *,
.small-section-buttons, .small-section-buttons *{
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  caret-color: transparent;
  -webkit-tap-highlight-color: transparent;
}

/* Keyboard-friendly focus ring */
:focus{ outline: none; }
:focus-visible{
  outline: 2px solid rgba(230,219,201,.75);
  outline-offset: 6px;
  border-radius: 10px;
}

/* Disable selection while dragging (JS toggles .no-select) */
.no-select, .no-select *{
  user-select: none !important;
  -webkit-user-select: none !important;
  -ms-user-select: none !important;
}

/* =========================================================
   SMALL “LINE TEXT” (shared subtitle with lines)
========================================================= */
.small-slider-sub{
  display:flex;
  justify-content:center;
  padding: 0 12px;
}

/* desktop: one-line perfect divider */
.small-line-text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--deep-rusted-red);
  opacity: .9;
  text-align: center;
  white-space: nowrap; /* keep one line on desktop */
}

/* lines */
.small-line-text::before,
.small-line-text::after{
  content:"";
  width: 70px;
  height: 2px;
  background: rgba(193,67,46,.55);
  flex: 0 0 auto;
}

/* mobile: allow wrap */
@media (max-width: 520px){
  .small-line-text{
    display: flex;
    flex-wrap: wrap;
    white-space: normal;
    gap: 10px;
    justify-content: center;
  }
  .small-line-text::before,
  .small-line-text::after{
    flex: 1 1 40px;
    max-width: 60px;
    min-width: 24px;
  }
}

/* =========================================================
   FLOATING SECTION NAV
========================================================= */
.section-nav{
  width: 46px;
  height: 46px;
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  user-select:none;
  touch-action: none;
}

.section-nav-toggle{
  width:46px;
  height:46px;
  border-radius:50%;
  background: rgba(0,0,0,.85);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  touch-action:none;
}

.section-nav-list{
  list-style:none;
  margin:0;
  padding:0;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.98);
  transform-origin: center;

  width: 280px;
  height: 280px;

  opacity:0;
  pointer-events:none;
  transition: opacity .35s ease, transform .35s ease;
}

.section-nav.active .section-nav-list{
  opacity:1;
  pointer-events:auto;
  transform: translate(-50%, -50%) scale(1);
}

.section-nav-list li{
  position:absolute;
  left: 50%;
  top: 50%;
  width:44px;
  height:44px;
  border-radius:50%;
  background: rgba(0,0,0,.80);
  color: var(--khaki);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow: 0 12px 24px rgba(0,0,0,.25);
  transition: .25s ease;
  transform-origin: center;
}

.section-nav-list li:hover{
  background: var(--deep-rusted-red);
  transform: scale(1.08);
}

.section-nav-list li.active{
  background: var(--blue);
  color: #fff;
}

.section-nav-list li span{
  position:absolute;
  left:56px;
  background: rgba(0,0,0,.85);
  color:#fff;
  padding: 6px 10px;
  border-radius: 8px;
  white-space:nowrap;
  opacity:0;
  transform: translateX(-6px);
  transition: .25s ease;
  pointer-events:none;
  z-index: 100000 !important;
}
/* MOST IMPORTANT PART:
   When ANY icon is hovered, raise that icon above all others */
.section-nav-list li:hover,
.section-nav-list li:focus-within{
  z-index: 99999 !important;
}

.section-nav-list li:hover span{
  opacity:1;
  transform: translateX(0);
}

/* =========================================================
   HERO VIDEO
========================================================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

#heroVideo {
  position: absolute;

  /* Centering trick */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Make sure it always covers screen */
  min-width: 100%;
  min-height: 100%;

  width: auto;
  height: auto;

  object-fit: cover;
  background: #000;
  z-index: 0;
}

.overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.18), rgba(0,0,0,.55));
  z-index:1;
}

.hero-title{
  position:absolute;
  top: 36%;
  left:50%;
  transform: translateX(-50%);
  margin:0;
  z-index:2;
  width:100%;
  text-align:center;
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 90px);
  letter-spacing: 1px;

  background: linear-gradient(120deg,#0a2540,#1f6feb,#38bdf8,#0a2540);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 18px rgba(56,189,248,0.35));
  animation: heroGradient 7s ease-in-out infinite;
}

.categories{
  position:absolute;
  left: 38px;
  bottom: 58px;
  z-index:2;
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 15px;
}

.categories .cat{
  cursor:pointer;
  opacity:.78;
  color: var(--rusted-gold);
  transition:.2s ease;
}

.categories .cat:hover{ opacity:1; }

.categories .cat.active{
  opacity:1;
  color: var(--khaki);
  border-bottom: 2px solid var(--khaki);
  padding-bottom: 2px;
  font-weight: 600;
}

.categories .hero-divider{ color: rgba(255,255,255,.55); }

.controls{
  position:absolute;
  right: 50px;
  bottom: 58px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}

.controls button{
  width:42px;height:42px;
  border-radius:50%;
  background: transparent;
  border: 1px solid var(--khaki);
  color: var(--khaki);
  cursor:pointer;
}

.nav-btns{ display:flex; gap: 32px; }

@media (max-width: 820px){
  .categories{
    left: 50%;
    transform: translateX(-50%);
    bottom: 90px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap: 6px 12px;
    max-width: 92%;
    padding: 6px 10px;
    text-align:center;
  }
  .categories .cat{
    font-size: clamp(12px, 3.5vw, 14px);
    padding: 4px 8px;
    white-space: nowrap;
  }
  .categories .hero-divider{ display:none; }

  .controls{ bottom: 26px; gap: 12px; }
  .controls button{ width: 38px; height: 38px; font-size: 14px; }
  .nav-btns{ gap: 10px; }
}

@media (max-width: 480px){
  .categories{ bottom: 80px; }
  .controls{
    position:absolute;
    bottom: 16px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 12px;
    padding: 6px 10px;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    border-radius: 999px;
  }
  .controls button{
    flex-shrink:0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .nav-btns{ gap: 10px; }
}

/* =========================================================
   MAP
========================================================= */
.nepal-map{
  position: relative;
  padding-top: 46px;
}

.nepal-map-heading{
  color: var(--deep-rusted-red);
  font-weight: 800;
  font-size: clamp(42px, 5vw, 78px);
  font-family: var(--font-head);
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  width: 100%;
}

.map-banner-text{
  position:absolute;
  top: 120px;
  left:50%;
  transform: translateX(-50%);
  width:100%;
  display:flex;
  justify-content:center;
}

.line-text{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  color: var(--deep-rusted-red);
  height: 110px;
  font-family: var(--font-body);
}

.line-text::before, .line-text::after{
  content:"";
  width: 44px;
  height: 2px;
  background: rgba(193,67,46,.55);
}

#map-wrapper{ width:100%; padding: 0 2vw; }

#mapContainer{
  width:100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 360px;
}

#mapContainer svg{
  width: 100%;
  height: auto;
  display:block;
  margin-top: 160px;
  pointer-events: auto;
}

#mapContainer svg .district{
  fill: var(--rusted-gold);
  stroke: var(--khaki);
  stroke-width: .35;
  cursor:pointer;
  transition: .3s ease;
  transform-box: fill-box;
  transform-origin: center;
}

#mapContainer svg .district:hover{
  fill: var(--blue);
  filter: drop-shadow(0 0 10px rgba(0,234,255,.7));
  transform: scale(1.012);
}

/* guide container positioning */
#guide{
  position: fixed;
  width: 360px;
  max-width: calc(100vw - 28px);
  opacity:0;
  pointer-events:none;
  z-index: 999999;
  transition: .2s ease;
}
#guide.show{ opacity:1; }

@media (max-width: 700px){
  #guide{
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    top: auto !important;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 600px){
  .nepal-map-heading{ position: static; transform:none; margin: 16px 0 6px; }
  .map-banner-text{ position: static; transform:none; margin-bottom: 10px; }
  #mapContainer svg{ margin-top: 0; }
}

/* =========================================================
   MAP TOOLTIP — PREMIUM GLASS CARD (matches your map.js markup)
========================================================= */
#guide{
  pointer-events: none;
  transform: translate3d(0,0,0);
}

#guide-text{
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* card */
.tcard{
  width: 380px;
  max-width: calc(100vw - 28px);
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  pointer-events: none;
  filter: drop-shadow(0 28px 80px rgba(0,0,0,.55));
  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}
#guide.show .tcard{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tcard__glow{
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background:
    radial-gradient(800px 240px at 20% 0%, rgba(56,189,248,.28), transparent 50%),
    radial-gradient(700px 260px at 80% 10%, rgba(200,169,81,.22), transparent 55%),
    linear-gradient(120deg, rgba(255,255,255,.16), rgba(255,255,255,0));
  pointer-events: none;
}

.tcard__inner{
  position: relative;
  border-radius: 22px;
  background: rgba(9, 14, 24, .78);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.tcard__inner::before{
  content:"";
  position:absolute;
  left: -30%;
  top: -55%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.10), transparent 50%);
  pointer-events:none;
}

.tcard__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}

.tcard__title{
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.96);
  line-height: 1.15;
}

.tcard__chips{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.tchip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.9);
  margin: 0 10px;
}

.tchip--primary{
  background: rgba(0,171,228,.16);
  border-color: rgba(0,171,228,.32);
}

.tchip__dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(56,189,248,1);
  box-shadow: 0 0 0 4px rgba(56,189,248,.14);
}

.tchip__icon{ opacity:.9; }
.tchip__text{ opacity:.95; }

.tbtn{
  pointer-events: auto;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
  text-decoration: none;
  border: 1px solid rgba(200,169,81,.38);
  background: linear-gradient(180deg, rgba(200,169,81,.22), rgba(200,169,81,.10));
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  margin-right: 15px;
}

.tbtn:hover{
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(56,189,248,.42);
  background: linear-gradient(180deg, rgba(56,189,248,.18), rgba(56,189,248,.10));
}

.tbtn__arrow{
  opacity: .9;
  transform: translateY(-.5px);
}

.tbtn--disabled{
  opacity: .45;
  pointer-events:none;
}

.tcard__body{
  padding: 0 16px 14px;
  margin-right: 10px;
}

.tcard__desc{
  margin: 0;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.92);
  line-height: 1.55;
  font-size: 13.5px;

  overflow: hidden;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
}

.tcard__desc.is-muted{ opacity: .85; }

.tgrid{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tstat{
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  margin-right: 10px;
}

.tstat__label{
  font-size: 11px;
  opacity: .72;
  margin-bottom: 5px;
}

.tstat__value{
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,.95);
}

.tcard__foot{
  padding: 10px 16px 14px;
  display:flex;
  justify-content:center;
}

.thint{
  font-size: 12px;
  opacity: .78;
}

@media (max-width: 420px){
  .tgrid{ grid-template-columns: 1fr; }
  .tcard{ width: 350px; }
}

/* =========================================================
   BIG MORPH SLIDER (Destinations/Experiences)
========================================================= */
.hero-slider-section{
  position: relative;
  overflow: hidden;
  height: 90vh;
  min-height: 640px;
}

.hero-slider-section .title{
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep-rusted-red);
  position: absolute;
  z-index: 200;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin-top: 42px;
  font-family: var(--font-head);
  width: 100%;
  pointer-events:none;
}

.hero-slider-section .type{
  font-size: 2rem;
  font-weight: 600;
  color: var(--silver-head-dress);
  position: absolute;
  z-index: 200;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  pointer-events:none;
}

.hero-slider-section .slider{
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider-section .list{
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider-section .list .item{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-slider-section .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-section .list .item .content{
  position: absolute;
  top: 35%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  color: var(--khaki);
  text-shadow: 0 5px 10px var(--black);
}

.hero-slider-section .list .item .content .place-name{
  color: var(--rusted-gold);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
}

.hero-slider-section .list .item .content .description{
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
}

.hero-slider-section .list .item .button{ margin-top: 14px; }

.hero-slider-section .list .item .button button{
  border: 2px solid var(--deep-rusted-red);
  background: var(--deep-rusted-red);
  cursor: pointer;
  font-weight: 700;
  transition: 0.4s;
  padding: 10px 20px;
  color: var(--khaki);
  border-radius: 12px;
}

.hero-slider-section .list .item .button button:hover{
  transform: scale(1.12);
  border-color: var(--blue);
  background: var(--blue);
}

.hero-slider-section .thumbnail{
  position: absolute;
  bottom: 50px;
  left: 75%;
  width: max-content;
  z-index: 220;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}

.hero-slider-section .thumbnail .item{
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-slider-section .thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.hero-slider-section .arrowButtons{
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 230;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero-slider-section .arrowButtons button{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--deep-rusted-red);
  border: none;
  color: var(--khaki);
  font-weight: bold;
  transition: 0.5s;
  cursor: pointer;
}

.hero-slider-section .arrowButtons button:hover{
  background-color: var(--khaki);
  color: var(--black);
}

/* morph animations */
.hero-slider-section .list .item:nth-child(1){ z-index: 1; }
.hero-slider-section .list .item:nth-child(1) .content .place-name,
.hero-slider-section .list .item:nth-child(1) .content .description,
.hero-slider-section .list .item:nth-child(1) .content .button{
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent 0.5s 1s linear 1 forwards;
}

@keyframes showContent{
  to{ transform: translateY(0); filter: blur(0); opacity: 1; }
}

.hero-slider-section .list .item:nth-child(1) .content .place-name{ animation-delay: .6s !important; }
.hero-slider-section .list .item:nth-child(1) .content .description{ animation-delay: .8s !important; }
.hero-slider-section .list .item:nth-child(1) .content .button{ animation-delay: 1s !important; }

.hero-slider-section .slider.next .list .item:nth-child(1) img{
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage 0.5s linear 1 forwards;
}

@keyframes showImage{
  to{ bottom: 0; left: 0; width: 100%; height: 100%; border-radius: 0; }
}

.hero-slider-section .slider.next .thumbnail .item:nth-last-child(1){
  overflow: hidden;
  animation: showThumbnail 0.5s linear 1 forwards;
}

@keyframes showThumbnail{ from{ width: 0; opacity: 0; } }

.hero-slider-section .slider.next .thumbnail{
  animation: effectNext 0.5s linear 1 forwards;
}

@keyframes effectNext{
  from{ transform: translateX(calc(-50% + 150px)); }
}

.hero-slider-section .slider.prev .list .item:nth-child(2){ z-index: 2; }

.hero-slider-section .slider.prev .list .item:nth-child(2) img{
  position: absolute;
  bottom: 0;
  left: 0;
  animation: outFrame 0.5s linear 1 forwards;
}

@keyframes outFrame{
  to{ width: 150px; height: 220px; bottom: 50px; left: 50%; border-radius: 20px; }
}

.hero-slider-section .slider.prev .thumbnail .item:nth-child(1){
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail 0.5s linear 1 forwards;
}

.hero-slider-section .slider.prev .list .item:nth-child(2) .content .place-name,
.hero-slider-section .slider.prev .list .item:nth-child(2) .content .description,
.hero-slider-section .slider.prev .list .item:nth-child(2) .content .button{
  animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes contentOut{
  to{ transform: translateX(-150px); filter: blur(20px); opacity: 0; }
}

@media (max-width: 980px){
  .hero-slider-section .list .item .content{ top: 32%; max-width: 88%; padding-right: 0; }
  .hero-slider-section .thumbnail{ gap: 14px; }
  .hero-slider-section .thumbnail .item{ width: 120px; height: 180px; }
  .hero-slider-section .slider.next .list .item:nth-child(1) img{ width: 120px; height: 180px; }
}

@media (max-width: 700px){
  .hero-slider-section{ height: 90vh; }
  .hero-slider-section .type{ top: 88px; font-size: 1.1rem; }
  .hero-slider-section .thumbnail{ display:none; }
  .hero-slider-section .list .item .content{
    top: auto;
    bottom: 22px;
    left: 16px;
    transform: none;
    width: auto;
    max-width: calc(100% - 32px);
    padding-right: 0;
  }
  .hero-slider-section .arrowButtons{
    top: auto;
    bottom: 16px;
    left: 42%;
    right: auto;
  }
  .hero-slider-section .list .item .button button{
    font-weight: 400;
    padding: 7px 12px;
    border-radius: 5px;
  }
}

/* =========================================================
   HERO IMAGE SECTIONS (Featured / Attractions / Culture)
========================================================= */
.hero-image-section{
  position: relative;
  width: 100%;
  padding: 80px 0 70px;
  overflow: hidden;
  background: url("../images/golden-background.jpg") repeat;
  background-size: 400px 400px;
}

.hero-image-section .hero-bg-blur{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  filter: blur(26px) saturate(1.05) brightness(.85);
  opacity:.95;
  z-index:0;
  transition: background-image .65s ease;
}

.hero-image-section::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
  z-index:1;
}

.hero-image-section .hero-inner{
  position: relative;
  z-index: 5;
  width: min(1200px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-section .hero-slider-heading{
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 56px);
  font-weight: 900;
  color: var(--rusted-gold);
  background: rgba(75,103,119,.92);
  border-radius: 999px;
  padding: 10px 18px;
  max-width: 100%;
  text-align: center;
}

.hero-image-section .hero-sub-title{
  margin: 10px 0 18px;
  font-family: var(--font-body);
  font-weight: 700;
  text-align:center;
}

.hero-image-section .hero-slider-content{
  width: 100%;
  display: grid;
  grid-template-rows: auto auto;
  gap: 18px;
}

.hero-image-section .hero-image-wrapper{
  position: relative;
  width: 100%;
  padding: 0 clamp(16px, 4vw, 56px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-image-section .hero-image-track{
  --gap: clamp(14px, 2vw, 26px);
  display:flex;
  gap: var(--gap);
  align-items:center;
  will-change: transform;
  transition: transform .75s cubic-bezier(.22,.8,.25,1);
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
}

.hero-image-section .hero-image-track img{
  width: clamp(170px, 22vw, 290px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  object-fit: cover;
  opacity: .35;
  transform: scale(.92);
  filter: saturate(.95) contrast(.95);
  border: 4px solid transparent;
  transition:
    transform .55s cubic-bezier(.22,.8,.25,1),
    opacity .45s ease,
    filter .45s ease,
    border-color .45s ease;
  cursor:pointer;
}

.hero-image-section .hero-image-track img.active{
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.05) contrast(1.02);
  border-color: var(--rusted-gold);
}

.hero-image-section .hero-text-wrapper{
  width: min(900px, 92vw);
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  gap: 12px;
}

.hero-image-section .hero-text-content{
  display:none;
  width: 100%;
  margin: 0;
  font-size: clamp(12px, 1.8vw, 16px);
  color: var(--khaki);
  border: 1px solid rgba(255,255,255,.10);
  padding: 12px 14px;
  border-radius: 12px;
  line-height: 1.55;
  backdrop-filter: blur(8px);
}

.hero-image-section .hero-text-content.active{ display:block; }

.hero-image-section .hero-explore-btn{
  padding: 12px 26px;
  background: var(--rusted-gold);
  border:none;
  border-radius: 12px;
  cursor:pointer;
  font-size: 1rem;
  font-weight: 800;
  color: var(--khaki);
  transition: transform .25s ease, background-color .25s ease;
}

.hero-image-section .hero-explore-btn:hover{
  transform: scale(1.06);
  background: var(--blue);
}

.hero-image-section .hero-prev,
.hero-image-section .hero-next{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border:none;
  background: rgba(206,158,98,.95);
  color: #111;
  font-size: 2rem;
  cursor:pointer;
  z-index: 10;
  display:grid;
  place-items:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.hero-image-section .hero-prev{ left: clamp(14px, 2.5vw, 34px); }
.hero-image-section .hero-next{ right: clamp(14px, 2.5vw, 34px); }

.hero-image-section .hero-prev:hover,
.hero-image-section .hero-next:hover{
  transform: translateY(-50%) scale(1.08);
  background: var(--blue);
  color: var(--khaki);
}

@media (max-width: 820px){
  .hero-image-section{ padding: 60px 0 60px; }
  .hero-image-section .hero-prev,
  .hero-image-section .hero-next{
    top: auto;
    bottom: 18px;
    transform: none;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
  .hero-image-section .hero-prev:hover,
  .hero-image-section .hero-next:hover{
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-image-section .hero-image-track,
  .hero-image-section .hero-image-track img,
  .hero-image-section .hero-bg-blur{
    transition: none !important;
  }
}

/* =========================================================
   RECENT TRIPS (SMALL SLIDER)
========================================================= */
.small-slider-box{
  position: relative;
  width: 100%;
  padding: 90px 0 90px;
  background: url("../images/golden-background.jpg") repeat;
  background-size: 400px 400px;
}

.small-slider{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 54px 46px 40px;
  background: rgba(230,219,201,.96);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.18);
  overflow: visible;
}

.small-slider-h1{
  color: var(--deep-rusted-red);
  text-align:center;
  font-size: clamp(34px, 4.2vw, 60px);
  letter-spacing: 2px;
  margin: 0 0 10px;
  font-family: var(--font-head);
  text-transform: uppercase;
}

.small-sliders{
  position: relative;
  height: 420px;
  margin-top: 46px;
  overflow: visible;
}

/* card base */
.small-slider-item{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 270px;
  border-radius: 22px;
  overflow: hidden;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: transform .7s cubic-bezier(.22,.8,.25,1),
              opacity .35s ease,
              filter .35s ease,
              box-shadow .35s ease;

  opacity: .2;
  filter: saturate(.9) contrast(.95);
  z-index: 1;
}

/* overlay behind caption */
.small-slider-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.18) 40%,
    rgba(0,0,0,0) 75%
  );
  opacity: .9;
  pointer-events:none;
  z-index: 1;
}

/* caption */
.small-slider-content{
  position:absolute;
  left:0;
  right:0;
  bottom:0;

  padding: 14px 16px;
  background: linear-gradient(to top, rgba(30,144,255, 0.92), rgba(135,206,250, 0.72));
  backdrop-filter: blur(6px);

  z-index: 5;
  opacity: 0;
  transform: translateY(70%);
  transition: transform .35s ease, opacity .35s ease;
}

.small-slider-content .name{
  margin:0;
  text-align:center;
  color:#fff;
  font-weight: 900;
  font-size: 20px;
  text-shadow: 0 6px 16px rgba(0,0,0,.55);
}

/* show title on hover */
.small-slider-item:hover .small-slider-content{
  opacity: 1;
  transform: translateY(0%);
}

/* tap on mobile: JS toggles show-title class */
.small-slider-item.show-title .small-slider-content{
  opacity: 1;
  transform: translateY(0%);
}

/* ACTIVE / LEFT / RIGHT (from JS) */
.small-slider-item.is-active{
  width: 560px;
  height: 330px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  filter: saturate(1.08) contrast(1.05);
  z-index: 5;
  box-shadow: 0 30px 80px rgba(0,0,0,.26);
}

/* hover scale (premium) */
.small-slider-item.is-active:hover{
  transform: translate(-50%, -50%) scale(1.03);
}

.small-slider-item.is-left{
  transform: translate(calc(-50% - 250px), -50%) scale(.88);
  opacity: .55;
  filter: saturate(.95) contrast(.95) blur(.25px);
  z-index: 2;
}
.small-slider-item.is-left:hover{
  transform: translate(calc(-50% - 250px), -50%) scale(.92);
}

.small-slider-item.is-right{
  transform: translate(calc(-50% + 250px), -50%) scale(.88);
  opacity: .55;
  filter: saturate(.95) contrast(.95) blur(.25px);
  z-index: 2;
}
.small-slider-item.is-right:hover{
  transform: translate(calc(-50% + 250px), -50%) scale(.92);
}

.small-slider-item.is-hidden{
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.85);
  z-index: 0;
}

/* buttons */
.small-section-buttons{
  margin-top: 24px;
  width: 100%;
  display:flex;
  justify-content:center;
  gap: 14px;
}

.small-section-buttons button{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.35);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  cursor:pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.small-section-buttons button:hover{
  transform: scale(1.06);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* mobile: show only active card */
@media (max-width: 980px){
  .small-sliders{ height: 360px; }
  .small-slider-item.is-active{ width: 88vw; height: 300px; }
  .small-slider-item.is-left,
  .small-slider-item.is-right{ opacity: 0; pointer-events:none; }
}

@media (max-width: 600px){
  .small-slider{ padding: 26px 16px 28px; }
  .small-sliders{ height: 320px; margin-top: 28px; }
  .small-slider-item.is-active{ height: 260px; border-radius: 16px; }
  .small-slider-content .name{ font-size: 16px; }
}

/* =========================================================
   OVERFLOW-X SAFETY
========================================================= */




