:root {
  --gold: #b89a5a;
}
html {
  scroll-behavior: auto;
}
body {
  background: #f5f1e8;
  color: #242522;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.font-display {
  font-family: "Fraunces", serif;
}
::selection {
  background: var(--gold);
  color: #f5f1e8;
}
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f5f1e8;
}
::-webkit-scrollbar-thumb {
  background: #9b9181;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.btn-hover {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}
.btn-hover:hover {
  transform: scale(1.035);
}
.btn-hover:active {
  transform: scale(0.975);
}

.magnetic-btn {
  transition:
    background-color 0.35s ease,
    color 0.35s ease;
  will-change: transform;
}

#hero {
  background: #142b3d;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 2.4s cubic-bezier(0.45, 0, 0.2, 1);
  animation: kenburns 20s ease-in-out infinite alternate;
  will-change: opacity, transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}
@keyframes kenburns {
  0% {
    transform: scale(1.04) translateZ(0);
  }
  100% {
    transform: scale(1.15) translateZ(0);
  }
}

.pin-wrap {
  position: relative;
}
.pin-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
#aboutImgWrap,
#roomsTrack,
.dest-img {
  will-change: transform, width, height, opacity;
}

#mobileSidebar {
  clip-path: circle(0px at calc(100% - 34px) 34px);
  -webkit-clip-path: circle(0px at calc(100% - 34px) 34px);
  will-change: clip-path, transform;
  transform: translateZ(0);
}
.hamburger-bar {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease;
  transform-origin: center;
}

.facility-card {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}
.facility-card:hover {
  transform: translateY(-6px);
}
.facility-desc {
  height: auto;
  opacity: 1;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.masonry {
  column-count: 2;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .masonry {
    column-count: 3;
  }
}
@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.gallery-hidden {
  display: none;
}
#lightbox {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

#destImages {
  overflow: hidden;
}
.dest-img {
  transition: opacity 1s cubic-bezier(0.45, 0, 0.2, 1);
  filter: blur(18px) brightness(0.65);
  transform: scale(1.08);
  will-change: opacity, transform, filter;
}

.activity-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.active-activity {
  border-color: #b89a5a !important;
  background-color: #ffffff !important;
  box-shadow: 0 20px 30px -5px rgba(184, 154, 90, 0.18), 0 10px 15px -5px rgba(184, 154, 90, 0.1) !important;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}