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

:root{
  --paper:#f8f9f8;
  --ink:#2f3b35;
  --muted:#818884;
  --deep:#263c32;
  --line:rgba(47,59,53,.10);
  --control:#70827f;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.destinations-page{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'DM Sans',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.destinations-page a{text-decoration:none;color:inherit}
.destinations-page img{display:block;width:100%}
.destinations-main{overflow:hidden}

.destinations-header{
  position:relative!important;
  background:var(--deep)!important;
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.055)!important;
}
.destinations-header a,.destinations-header .menu-toggle{color:#fff!important}

.dest-kicker{
  margin:0 0 10px;
  font-size:6px;
  font-weight:500;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#9aa09c;
}

/* quiet intro */
.destinations-intro{
  width:min(700px,74vw);
  margin:0 auto;
  padding:76px 0 66px;
  text-align:center;
}
.destinations-intro h1{
  margin:0;
  font:500 clamp(31px,3vw,41px)/1.03 'Cormorant Garamond',Georgia,serif;
  letter-spacing:-.022em;
}
.destinations-intro h1 em{
  font-weight:500;
  color:#6f7973;
}
.destinations-intro>p:last-child{
  max-width:470px;
  margin:15px auto 0;
  font-size:9.4px;
  line-height:1.9;
  color:var(--muted);
}

/* Explore Vietnam */
.explore-section{
  width:min(1460px,96vw);
  margin:0 auto;
  padding:0 0 96px;
}
.explore-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:48px;
  margin:0 0 26px;
}
.explore-top .dest-kicker{
  display:none;
}
.explore-top h2{
  margin:0;
  font:400 clamp(24px,2vw,30px)/1.1 'DM Sans',Arial,sans-serif;
  letter-spacing:-.02em;
}
.explore-top>p{
  max-width:460px;
  margin:0 3px 3px 0;
  font-size:9px;
  line-height:1.65;
  color:#707773;
  text-align:right;
}

.carousel-shell{
  overflow:hidden;
}
.destination-track{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.destination-track::-webkit-scrollbar{display:none}

.destination-card{
  position:relative;
  flex:0 0 calc((100% - 60px)/4);
  aspect-ratio:1.52/1;
  overflow:hidden;
  border-radius:20px;
  scroll-snap-align:start;
  background:#dfe5e2;
  box-shadow:0 12px 28px rgba(27,43,35,.08);
}
.destination-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.001);
  filter:saturate(.96) contrast(.99);
  transition:transform .65s cubic-bezier(.18,.72,.2,1),filter .35s ease;
}
.card-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(10,27,19,.01) 45%,rgba(15,34,25,.61) 100%),
    linear-gradient(90deg,rgba(15,34,25,.15),transparent 60%);
}
.card-caption{
  position:absolute;
  z-index:2;
  left:20px;
  right:18px;
  bottom:17px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  color:#fff;
}
.card-caption strong{
  font-size:12px;
  font-weight:500;
  letter-spacing:-.01em;
}
.card-caption span{
  font-size:13px;
  transition:transform .22s ease;
}
.destination-card:hover img{
  transform:scale(1.028);
  filter:saturate(1.01) contrast(1);
}
.destination-card:hover .card-caption span{
  transform:translate(3px,-3px);
}

.carousel-footer{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:30px;
  margin-top:20px;
}
.carousel-dots{
  grid-column:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.carousel-dots button{
  width:6px;
  height:6px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#cbd3cf;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.carousel-dots button.active{
  background:#7a9089;
  transform:scale(1.18);
}
.carousel-controls{
  grid-column:3;
  justify-self:end;
  display:flex;
  gap:10px;
}
.carousel-controls button{
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:var(--control);
  color:#fff;
  font:300 20px/1 'DM Sans',Arial,sans-serif;
  cursor:pointer;
  transition:transform .2s ease,background .2s ease;
}
.carousel-controls button:hover{
  transform:translateY(-2px);
  background:#5d716c;
}

/* closing */
.destination-note{
  width:min(700px,74vw);
  margin:0 auto 88px;
  text-align:center;
}
.destination-note h2{
  margin:0;
  font:500 clamp(22px,2vw,28px)/1.13 'Cormorant Garamond',Georgia,serif;
}
.destination-note a{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:20px;
  padding-bottom:4px;
  border-bottom:1px solid rgba(47,59,53,.28);
  font-size:6.3px;
  font-weight:500;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.destinations-page footer{margin-top:0}

@media(max-width:980px){
  .explore-section{width:94vw}
  .destination-card{flex-basis:calc((100% - 20px)/2)}
}

@media(max-width:700px){
  .destinations-intro{
    width:auto;
    margin:0 22px;
    padding:58px 0 50px;
  }
  .destinations-intro h1{font-size:31px}
  .explore-section{
    width:auto;
    margin:0 0 72px;
    padding:0;
  }
  .explore-top{
    margin:0 22px 22px;
    display:block;
  }
  .explore-top h2{font-size:23px}
  .explore-top>p{
    max-width:350px;
    margin:8px 0 0;
    text-align:left;
    font-size:8.8px;
  }
  .carousel-shell{padding-left:22px}
  .destination-track{
    gap:14px;
    padding-right:22px;
  }
  .destination-card{
    flex-basis:78vw;
    border-radius:17px;
  }
  .carousel-footer{
    margin:16px 22px 0;
    grid-template-columns:1fr auto;
  }
  .carousel-dots{
    grid-column:1;
    justify-self:start;
  }
  .carousel-controls{
    grid-column:2;
  }
  .carousel-controls button{
    width:40px;
    height:40px;
  }
  .destination-note{
    width:auto;
    margin:0 22px 66px;
  }
  .destination-note h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
  .destination-card img,.card-caption span,.carousel-controls button,.carousel-dots button{transition:none!important}
}

/* DESTINATIONS NAV DROPDOWN CONTRAST */
.destinations-header .nav-dropdown-menu{
  background:#F7F4ED!important;
  color:#263C32!important;
}
.destinations-header .nav-dropdown-menu a{
  color:#263C32!important;
  opacity:1!important;
}
.destinations-header .nav-dropdown-menu a:hover,
.destinations-header .nav-dropdown-menu a:focus-visible{
  background:#E8DFD0!important;
  color:#263C32!important;
}


/* DESTINATIONS DROPDOWN LAYER FIX */
.destinations-header{
  z-index:1000!important;
  overflow:visible!important;
}
.destinations-header .desktop-nav,
.destinations-header .nav-dropdown{
  overflow:visible!important;
}
.destinations-header .nav-dropdown-menu{
  z-index:1100!important;
}
.destinations-header .nav-dropdown.open .nav-dropdown-menu{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:translate(-50%,0)!important;
}
