/* =====================================================================
   Nile Breeze Bamboo Lodge – shared styles
   Loaded on every page, before the page's own file in css/pages/.

   1. Font
   2. Colours and tokens
   3. Shared pieces used by several pages
   4. Header (logo + menu button over the hero)
   5. Side menu
   6. Footer
   7. Floating WhatsApp button
   ===================================================================== */

/* ---------- 1. Font (Poppins, served from /static/fonts) ---------- */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.9212f6f9860f.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-500.a09f2fccfee3.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.72993dddf88a.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.25b0e113ca7c.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Colours and tokens ---------- */

:root {
  /* Brand */
  --river: #0c2232;
  --river-deep: #081826;
  --lodge-green: #1f7a4f;
  --lodge-green-dark: #18603e;
  --bamboo: #c8a464;
  --mist: #e6ece8;
  --mist-muted: rgba(230, 236, 232, 0.7);
  --line: rgba(230, 236, 232, 0.14);

  --bamboo-light: #e3cb94;
  --font-main: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Signature button shape: two round corners, two almost square.
     On hover it flips to the other pair of corners. */
  --leaf: 22px 6px 22px 6px;
  --leaf-flip: 6px 22px 6px 22px;

  /* Bootstrap reads these, so every page uses Poppins */
  --bs-body-font-family: var(--font-main);
  --bs-font-sans-serif: var(--font-main);

  /* Older names still used by page styles */
  --navy-blue: #0b3d91;
  --green: #2e8b57;
  --yellow: #f4c430;
  --light-grey: #f2f2f2;
  --dark-grey: #4f4f4f;
  --accent-color: var(--green);
}

/* ---------- 3. Shared pieces used by several pages ---------- */

/* Interior page heroes */

.interior-hero {
  --hero-overhang: clamp(14px, 2.5vw, 32px);
  position: relative;
  padding: clamp(6.8rem, 10vw, 8.5rem) clamp(18px, 4vw, 48px) 0;
  background:
    radial-gradient(ellipse at 10% 100%, #17384e, transparent 62%),
    var(--river-deep);
  color: #fff;
}

.interior-hero .hero-nav {
  background: none;
}

.interior-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  max-width: 1320px;
  margin-inline: auto;
}

.interior-hero-title {
  margin: 0;
  padding-bottom: var(--hero-overhang);
  font-family: var(--font-main);
  font-size: clamp(2.75rem, 6.2vw, 6rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.interior-hero--long-title .interior-hero-title {
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
}

.interior-hero-photo {
  position: relative;
  min-width: 0;
  height: clamp(17rem, 35vw, 32rem);
  margin-bottom: calc(-1 * var(--hero-overhang));
  overflow: hidden;
  border-radius: 10px 60px 10px 10px;
  background: var(--river);
  box-shadow: 0 24px 42px -24px rgba(8, 24, 38, 0.62);
}

.interior-hero--compact .interior-hero-photo {
  height: clamp(15rem, 27vw, 26rem);
}

.interior-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .interior-hero {
    --hero-overhang: 18px;
    padding-top: clamp(6.3rem, 15vw, 8rem);
  }

  .interior-hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .interior-hero-title,
  .interior-hero--long-title .interior-hero-title {
    max-width: 18ch;
    padding-bottom: 0;
    font-size: clamp(2.2rem, 8vw, 3.6rem);
    text-wrap: initial;
  }

  .interior-hero-photo,
  .interior-hero--compact .interior-hero-photo {
    height: clamp(13rem, 55vw, 23rem);
    border-radius: 8px 36px 8px 8px;
  }
}

.reviews-section {
  background-color: var(--light-grey);
}

.review-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-card h6 {
  color: var(--navy-blue);
}

.modal-content {
  border-radius: 1rem;
}

#amenities i {
  color: #f4c430;
}

#amenities span {
  color: #fff;
}

@keyframes heroSlideUpForce {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

/* ---------- 3b. Split section heading ----------
   Title and a short bar on the left, the section's introduction
   (and an optional link) on the right. Stacks on phones. */

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.split-head h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.split-head-bar {
  display: block;
  width: 72px;
  height: 5px;
  margin-top: 18px;
  border-radius: 6px 2px 6px 2px;
  background: linear-gradient(90deg, var(--bamboo), var(--lodge-green));
}

.split-head-text p {
  max-width: 520px;
  margin: 0 0 12px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.split-head-text p:last-child {
  margin-bottom: 0;
}

.split-head-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--bamboo);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.split-head-link:hover {
  gap: 12px;
}

/* light sections */
.split-head h2,
.split-head-link {
  color: var(--river);
}

.split-head-text p {
  color: #56636e;
}

/* dark sections */
.split-head.is-dark h2,
.split-head.is-dark .split-head-link {
  color: #fff;
}

.split-head.is-dark .split-head-text p {
  color: var(--mist-muted);
}

@media (max-width: 767px) {
  .split-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- 4. Header ---------- */

.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 22px clamp(18px, 4vw, 48px) 64px;
  background: linear-gradient(
    to bottom,
    rgba(8, 24, 38, 0.6),
    rgba(8, 24, 38, 0)
  );
  pointer-events: none;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
}

.nav-logo,
.menu-toggle {
  pointer-events: auto;
}

.nav-logo {
  display: block;
  border-radius: 6px;
}

.logo-img {
  display: block;
  height: 58px;
  width: auto;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--leaf);
  background: rgba(8, 24, 38, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    border-radius 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle:hover {
  background: rgba(8, 24, 38, 0.6);
  border-color: var(--bamboo);
  border-radius: var(--leaf-flip);
}

.menu-toggle-icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.menu-toggle-icon span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.menu-toggle-icon span {
  justify-self: end;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle-icon span:nth-child(1) {
  width: 100%;
}

.menu-toggle-icon span:nth-child(2) {
  width: 65%;
}

.menu-toggle-icon span:nth-child(3) {
  width: 85%;
}

.menu-toggle:hover .menu-toggle-icon span:nth-child(1) {
  width: 55%;
}

.menu-toggle:hover .menu-toggle-icon span:nth-child(2) {
  width: 100%;
}

.menu-toggle:hover .menu-toggle-icon span:nth-child(3) {
  width: 70%;
}

.nav-logo:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 4px;
}

@media (max-width: 576px) {
  .hero-nav {
    padding-top: 16px;
  }

  .logo-img {
    height: 46px;
  }

  .menu-toggle {
    padding: 8px 14px 8px 18px;
    font-size: 1rem;
  }
}

/* ---------- 4b. Buttons ----------
   .nb-btn            base shape (leaf corners, sheen on hover)
   .nb-btn-book       green, for every "Book Now" (WhatsApp)
   .nb-btn-dark       river navy, for every other button
   .nb-btn-ghost      gold outline, for buttons on dark sections
   .nb-btn-sm / -lg / -xl   sizes
   .nb-btn-icon       the WhatsApp icon inside a Book Now button */

.nb-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--leaf);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

/* light sweep that crosses the button on hover */
.nb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.nb-btn:hover {
  border-radius: var(--leaf-flip);
  color: #fff;
  transform: translateY(-2px);
}

.nb-btn:hover::after {
  transform: translateX(120%);
}

.nb-btn:active {
  transform: translateY(0);
}

.nb-btn:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 4px;
}

.nb-btn-book {
  background: linear-gradient(135deg, #2fa36b 0%, #1f7a4f 48%, #145637 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 12px 26px -10px rgba(20, 86, 55, 0.85);
}

.nb-btn-book:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 18px 34px -10px rgba(20, 86, 55, 0.95);
}

.nb-btn-dark {
  background: linear-gradient(135deg, #1d4560 0%, #0c2232 55%, #081826 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 var(--bamboo),
    0 12px 26px -12px rgba(8, 24, 38, 0.8);
}

.nb-btn-dark:hover {
  color: var(--bamboo-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 var(--bamboo),
    0 18px 34px -12px rgba(8, 24, 38, 0.9);
}

.nb-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(200, 164, 100, 0.75);
  color: var(--mist);
}

.nb-btn-ghost:hover {
  background: var(--bamboo);
  box-shadow:
    inset 0 0 0 1px var(--bamboo),
    0 18px 34px -14px rgba(200, 164, 100, 0.6);
  color: var(--river);
}

.nb-btn-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 1.15em;
  line-height: 1;
}

.nb-btn-sm {
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.88rem;
}

.nb-btn-lg {
  padding: 15px 34px;
  font-size: 1.02rem;
}

.nb-btn-xl {
  --leaf: 30px 8px 30px 8px;
  --leaf-flip: 8px 30px 8px 30px;
  gap: 12px;
  padding: 18px 44px;
  font-size: 1.15rem;
}

.nb-btn-xl .nb-btn-icon {
  font-size: 1.3em;
}

/* ---------- 4c. Slim header ----------
   Appears at the top once the visitor has scrolled past the hero
   and starts scrolling back up. */

.sticky-bar {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 950;
  padding: 0 clamp(12px, 3vw, 32px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-130%);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.sticky-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 4px;
}

/* no background strip: logo and buttons float on their own */
.sticky-bar-logo,
.sticky-bar-actions {
  pointer-events: auto;
}

.sticky-bar-logo img {
  display: block;
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(8, 24, 38, 0.55))
    drop-shadow(0 0 2px rgba(8, 24, 38, 0.6));
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-bar .menu-toggle {
  padding: 8px 16px 8px 18px;
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--river);
  box-shadow: 0 12px 28px -12px rgba(8, 24, 38, 0.6);
  font-size: 0.9rem;
}

.sticky-bar .nb-btn-sm {
  box-shadow: 0 12px 28px -12px rgba(8, 24, 38, 0.6);
}

@media (max-width: 576px) {
  .sticky-bar-logo img {
    height: 32px;
  }

  .sticky-bar .nb-btn-sm {
    padding: 9px 14px;
    font-size: 0.82rem;
  }

  .sticky-bar .menu-toggle span:first-child {
    display: none;
  }

  .sticky-bar .menu-toggle {
    padding: 10px 12px;
  }
}

/* ---------- 4d. Scroll-in ----------
   Elements marked data-reveal fade up once as they come into view. */

.can-reveal [data-reveal]:not(.is-revealed) {
  opacity: 0;
  translate: 0 28px;
}

[data-reveal] {
  transition:
    opacity 0.8s ease,
    translate 1s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}

/* ---------- 5. Side menu ----------
   Opens as a circle growing out of the Menu button, then the links
   glide in one after another. Hovering a link rolls its text up,
   sweeps a soft highlight behind it and dims the other links. */

#menuBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 15, 24, 0.5);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#menuBackdrop.show {
  opacity: 1;
  visibility: visible;
}

#slideMenu {
  --reveal-x: calc(100% - 70px);
  --reveal-y: 50px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  width: min(440px, 92vw);
  height: 100vh;
  height: 100dvh;
  padding: 24px 40px 40px;
  overflow-y: auto;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(200, 164, 100, 0.18),
      transparent 42%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(31, 122, 79, 0.28),
      transparent 50%
    ),
    var(--river);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.45);
  color: var(--mist);
  clip-path: circle(0% at var(--reveal-x) var(--reveal-y));
  visibility: hidden;
  transition:
    clip-path 0.75s cubic-bezier(0.77, 0, 0.18, 1),
    visibility 0.75s ease;
}

#slideMenu.show {
  clip-path: circle(150% at var(--reveal-x) var(--reveal-y));
  visibility: visible;
}

.slide-menu-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

#menuClose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px 4px 14px 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--mist);
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
}

#menuClose:hover {
  border-color: var(--bamboo);
  background: rgba(200, 164, 100, 0.12);
  color: var(--bamboo-light);
  transform: rotate(90deg);
}

.slide-menu-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#slideMenu .menu-link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: var(--mist);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.3s ease;
}

/* links glide in one after another once the menu is open */
#slideMenu.show .menu-link {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 0.6s ease calc(0.25s + var(--i) * 0.06s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) calc(0.25s + var(--i) * 0.06s),
    color 0.3s ease;
}

/* soft leaf-shaped highlight that sweeps in behind a link */
#slideMenu .menu-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--leaf);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#slideMenu .menu-link:hover::before,
#slideMenu .menu-link:focus-visible::before,
#slideMenu .menu-link.is-current::before {
  transform: scaleX(1);
}

/* text roll: the word slides up and a gold copy rolls in from below */
.menu-link-text {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.menu-link-text > span {
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-link-text::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute;
  top: 100%;
  left: 0;
  color: var(--bamboo-light);
  white-space: nowrap;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#slideMenu .menu-link:hover .menu-link-text > span,
#slideMenu .menu-link:hover .menu-link-text::after,
#slideMenu .menu-link:focus-visible .menu-link-text > span,
#slideMenu .menu-link:focus-visible .menu-link-text::after {
  transform: translateY(-100%);
}

/* small arrow slides in on hover */
.menu-link-arrow {
  font-size: 1rem;
  color: var(--bamboo-light);
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-link-arrow.is-external {
  font-size: 0.9rem;
  color: var(--mist);
  opacity: 0.45;
  transform: none;
}

#slideMenu .menu-link:hover .menu-link-arrow,
#slideMenu .menu-link:focus-visible .menu-link-arrow {
  color: var(--bamboo-light);
  opacity: 1;
  transform: translateX(0);
}

#slideMenu .menu-link:hover .menu-link-arrow.is-external {
  transform: translate(3px, -3px);
}

/* the hovered link stays bright, the others step back */
@media (hover: hover) {
  .slide-menu-links:hover .menu-link:not(:hover) {
    color: rgba(230, 236, 232, 0.45);
  }
}

/* current page */
#slideMenu .menu-link.is-current {
  color: var(--bamboo-light);
}

#slideMenu .menu-link.is-current .menu-link-text::after {
  color: #fff;
}

.slide-menu-bottom {
  margin-top: auto;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#slideMenu.show .slide-menu-bottom {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease 0.7s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s;
}

.menu-book {
  width: 100%;
}

#slideMenu .menu-link:focus-visible,
#menuClose:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 3px;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 576px) {
  #slideMenu {
    --reveal-x: calc(100% - 50px);
    --reveal-y: 40px;
    padding: 20px 24px 32px;
  }

  #slideMenu .menu-link {
    padding: 13px 14px;
    font-size: 1.25rem;
  }
}

/* ---------- 6. Footer ---------- */

.site-footer {
  padding: 72px 0 28px;
  background: var(--river);
  color: var(--mist);
}

.footer-logo {
  display: block;
  max-width: 210px;
  margin-bottom: 20px;
}

.footer-text {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--mist-muted);
  line-height: 1.7;
}

.footer-title {
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--mist-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--bamboo);
}

.footer-contact p {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  color: var(--mist-muted);
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--mist);
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--bamboo);
  color: var(--bamboo);
}

.tripadvisor-svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-box {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 12px 3px 12px 3px;
  color: var(--mist-muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-divider {
  margin: 52px 0 24px;
  border-color: var(--line);
  opacity: 1;
}

.footer-bottom {
  margin: 0;
  color: var(--mist-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: center;
}

.footer-credit {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-credit:hover {
  color: var(--bamboo);
  border-color: var(--bamboo);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .site-footer {
    padding-top: 56px;
  }

  .footer-logo {
    max-width: 170px;
  }
}

/* ---------- 7. Floating WhatsApp button ----------
   A round, clear frosted-glass button with a green tint, so the page
   shows softly through it. It glows gently, fills with green on hover,
   pops in once after the page loads and hides while the menu is open. */

.global-whatsapp {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(37, 211, 102, 0.55);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0.08) 60%
    ),
    rgba(37, 211, 102, 0.16);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  color: #1fbf5b;
  font-size: 30px;
  text-decoration: none;
  animation:
    whatsappEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s backwards,
    whatsappGlow 3.2s ease-in-out 1.7s infinite;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.global-whatsapp i {
  display: block;
  line-height: 1;
}

.global-whatsapp:hover {
  border-color: transparent;
  background-color: #25d366;
  color: #fff;
  transform: translateY(-4px);
}

.global-whatsapp:hover i {
  animation: whatsappWiggle 0.7s ease;
}

.global-whatsapp:focus-visible {
  outline: 3px solid #25d366;
  outline-offset: 4px;
}

body.menu-open .global-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.6);
}

@keyframes whatsappEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.6);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsappGlow {
  0%,
  100% {
    box-shadow:
      0 10px 26px -10px rgba(8, 24, 38, 0.45),
      0 0 0 0 rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow:
      0 10px 26px -10px rgba(8, 24, 38, 0.45),
      0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@keyframes whatsappWiggle {
  0%,
  100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(-14deg);
  }

  50% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-6deg);
  }
}

@media (max-width: 768px) {
  .global-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
}

/* ---------- 8. Page transitions ----------
   When moving between pages, the old page fades out and the new one
   fades in with a slight rise (Chrome, Edge and Safari; other browsers
   simply change pages as before). */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: pageFadeOut 0.35s ease both;
}

::view-transition-new(root) {
  animation: pageFadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pageFadeOut {
  to {
    opacity: 0;
  }
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .can-reveal [data-reveal]:not(.is-revealed) {
    opacity: 1;
    translate: none;
  }

  [data-reveal],
  .sticky-bar {
    transition: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  #slideMenu,
  #slideMenu.show,
  #menuBackdrop,
  #menuClose,
  #slideMenu .menu-link,
  #slideMenu.show .menu-link,
  #slideMenu .menu-link::before,
  .menu-link-text > span,
  .menu-link-text::after,
  .menu-link-arrow,
  .slide-menu-bottom,
  #slideMenu.show .slide-menu-bottom,
  .menu-toggle-icon span {
    transition: none;
  }

  .global-whatsapp,
  .global-whatsapp:hover i {
    animation: none;
  }

  .nb-btn,
  .nb-btn::after,
  .menu-toggle {
    transition: none;
  }
}

/* ================= PHOTO TILES (activities mosaic, about) ================= */

.activity-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px 6px 22px 6px;
  background: var(--river);
  box-shadow: 0 24px 48px -30px rgba(8, 24, 38, 0.6);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    opacity 0.8s ease,
    translate 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 24, 38, 0) 40%,
    rgba(8, 24, 38, 0.82) 100%
  );
  transition: opacity 0.5s ease;
}

.activity-tile-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.activity-tile-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.activity-tile-tagline {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  line-height: 1.4;
}

.activity-tile:hover,
.activity-tile:focus-visible {
  border-radius: 6px 22px 6px 22px;
  box-shadow:
    0 34px 60px -28px rgba(8, 24, 38, 0.75),
    0 0 0 2px rgba(200, 164, 100, 0.85);
  color: #fff;
  transform: translateY(-4px);
}

.activity-tile:hover img,
.activity-tile:focus-visible img {
  transform: scale(1.07);
}

.activity-tile:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .activity-tile-info {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .activity-tile-name {
    font-size: 1rem;
  }

  .activity-tile-tagline {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-tile,
  .activity-tile img,
  .activity-tile-name {
    transition: none;
  }
}

/* ================= ACTIVITY POPUP ================= */

.activity-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: none;
  border-radius: 36px 10px 36px 10px;
  background: #fff;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.6);
  color: var(--river);
}

.activity-dialog::backdrop {
  background: rgba(5, 15, 24, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* opening animation */
.activity-dialog[open] {
  animation: dialogIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-dialog[open]::backdrop {
  animation: backdropIn 0.4s ease;
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
}

@keyframes backdropIn {
  from {
    opacity: 0;
  }
}

.activity-dialog-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 520px;
}

.activity-dialog-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--river);
}

.activity-dialog-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* photo and text change smoothly when browsing with the arrows */
.activity-dialog.is-changing .activity-dialog-photo img,
.activity-dialog.is-changing
  .activity-dialog-body
  > :not(.activity-dialog-close):not(.activity-dialog-nav) {
  opacity: 0;
  transform: translateY(10px);
}

.activity-dialog-photo img,
.activity-dialog-body > * {
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-dialog-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 48px 36px;
  overflow-y: auto;
}

.activity-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12, 34, 50, 0.15);
  border-radius: 14px 4px 14px 4px;
  background: #fff;
  color: var(--river);
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    color 0.3s ease;
}

.activity-dialog-close:hover {
  border-color: var(--bamboo);
  color: var(--bamboo);
  transform: rotate(90deg);
}

.activity-dialog-title {
  margin: 0 0 6px;
  color: var(--river);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.activity-dialog-tagline {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 18px;
  color: #9a7a3f;
  font-size: 1.05rem;
  font-weight: 500;
}

.activity-dialog-tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 4px 1px 4px 1px;
  background: linear-gradient(90deg, var(--bamboo), var(--lodge-green));
}

.activity-dialog-text {
  margin: 0 0 30px;
  color: #4d5b66;
  font-size: 1.02rem;
  line-height: 1.8;
}

.activity-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: auto;
}

.activity-dialog-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 34, 50, 0.25);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    gap 0.3s ease;
}

.activity-dialog-more:hover {
  gap: 12px;
  border-color: var(--lodge-green);
  color: var(--lodge-green);
}

.activity-dialog-nav {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(12, 34, 50, 0.08);
}

.activity-dialog-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(12, 34, 50, 0.18);
  border-radius: 16px 5px 16px 5px;
  background: transparent;
  color: var(--river);
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-radius 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-dialog-nav button:hover {
  border-radius: 5px 16px 5px 16px;
  background: var(--river);
  color: #fff;
}

.activity-dialog button:focus-visible,
.activity-dialog a:focus-visible {
  outline: 2px solid var(--bamboo);
  outline-offset: 3px;
}

body.dialog-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .activity-dialog {
    border-radius: 28px 8px 28px 8px;
  }

  .activity-dialog-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .activity-dialog-photo {
    height: 240px;
  }

  .activity-dialog-body {
    padding: 28px 24px 24px;
  }

  .activity-dialog-close {
    position: fixed;
    top: 28px;
    right: 28px;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-dialog[open],
  .activity-dialog[open]::backdrop {
    animation: none;
  }

  .activity-dialog-photo img,
  .activity-dialog-body > * {
    transition: none;
  }
}
