/* Dropdown next to Book Now */
.nd-menu { position: relative; display: inline-block; margin-left: 10px; }
.nd-menu__toggle {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: .45rem .8rem;
  cursor: pointer;
  font: inherit;
}
.nd-menu__toggle:focus-visible { outline: 2px solid #5fb8b9; outline-offset: 2px; }


.nd-menu__list a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.nd-menu__list a:hover, .nd-menu__list a:focus { background: rgba(95,184,185,0.12); }



@media (max-width: 640px) {
  .nd-menu__toggle { padding: .4rem .7rem; }
  .nd-menu__list { min-width: 160px; }
}

/* Right align nav-actions */
.nd-nav-right { display:flex; justify-content: flex-end; align-items: center; }
.nd-nav-right .nav-actions { margin-left:auto; }


/* --- Visual emphasis for Book Now in header --- */
.top-nav .nav-actions .btn {
  background: #5fb8b9;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: .5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.top-nav .nav-actions .btn:hover { filter: brightness(0.98); }
.top-nav .nav-actions .btn:focus-visible { outline: 2px solid #5fb8b9; outline-offset: 2px; }

/* --- Sticky Book Now (mobile) --- */
.nd-sticky-book {
  position: fixed;
  right: 14px;
  bottom: 16px;
  background: #5fb8b9;
  color: #fff;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  z-index: 1000;
  display: none;
}
@media (max-width: 640px){
  .nd-sticky-book { display: inline-block; }
}

/* --- Hero fade-in motion (respect reduced-motion) --- */
.hero h1 {
  opacity: 0;
  transform: translateY(8px);
  animation: ndHeroFade .9s ease-out .1s forwards;
}
@keyframes ndHeroFade {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero h1 { animation: none; opacity: 1; transform: none; }
}

/* --- Mobile nav polish --- */
@media (max-width: 640px){
  .nd-menu__list { min-width: 80vw; right: 10px; }
  .nd-menu__toggle { padding: .45rem .7rem; }
}

/* Focus styles */
.nd-menu__toggle:focus-visible, .nd-menu__list a:focus-visible {
  outline: 2px solid #5fb8b9;
  outline-offset: 2px;
  border-radius: 8px;
}


/* Remove empty left space in header */
.top-nav { display: flex; justify-content: flex-end; align-items: center; }
.top-nav .nav-actions { margin-left: 0; }


/* Transparent header (no solid bar) */
.top-nav {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Ensure nav items sit above hero image */
.top-nav, .top-nav * { position: relative; z-index: 5; }


/* Make Explore toggle match Book Now button */
.nd-menu__toggle {
  background: #5fb8b9 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: .5rem 1rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  font-weight: 600;
}
.nd-menu__toggle:hover { filter: brightness(0.98); }
.nd-menu__toggle:focus-visible { outline: 2px solid #5fb8b9; outline-offset: 2px; }

/* Dropdown panel remains readable over imagery */
.nd-menu__list {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(130%) blur(4px);
  -webkit-backdrop-filter: saturate(130%) blur(4px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}
.nd-menu__list a { color: #1a1a1a; }
.nd-menu__list a:hover, .nd-menu__list a:focus { background: rgba(95,184,185,0.14); }


@media (max-width: 640px){
  .nd-menu__toggle {
    padding: .5rem .9rem !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.18) !important;
  }
}


/* Align Explore and Book Now buttons so they match style */
.top-nav .nav-actions .btn,
.nd-menu__toggle {
  background: #5fb8b9 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: .5rem 1rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}
.top-nav .nav-actions .btn:hover,
.nd-menu__toggle:hover { filter: brightness(0.96); }
.top-nav .nav-actions .btn:focus-visible,
.nd-menu__toggle:focus-visible { outline: 2px solid #5fb8b9; outline-offset: 2px; }


/* Dropdown as overlay — no page shift */
.nd-menu { position: relative; }

.nd-menu__list {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.16);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 1000;
  backdrop-filter: saturate(130%) blur(4px);
  -webkit-backdrop-filter: saturate(130%) blur(4px);

  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scaleY(.98);
  transform-origin: top right;
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility 0s linear .18s;
}

.nd-menu--open .nd-menu__list {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scaleY(1);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility 0s;
}

@media (max-width: 640px){
  .nd-menu__list { min-width: 80vw; right: 10px; }
}


/* === Lock background image in place using pseudo-element === */



/* === Fix background so it doesn't move during scroll === */
html, body { height: 100%; }
body {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* === Global background fix across all pages === */
html, body {
  height: 100%;
}
body,
.hero,
.intro,
.logo-container,
header,
section,
footer {
  background-attachment: fixed !important;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* === Mobile fixes: transparent logo container + frosted hero banner === */
@media (max-width: 768px){
  .logo-container {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .logo-container .site-logo {
    display: block;
    margin: 0 auto;
  }
  .hero {
    background: rgba(255,255,255,0.78) !important;
    border: 1px solid rgba(0,0,0,0.06);
    border-left: none;
    border-right: none;
    backdrop-filter: blur(8px) saturate(130%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(130%) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  }
}


/* === Site background: global mapping (do not remove) === */
html, body { height: 100%; }
body {
  background-image: url("../img/bg-hero.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}


/* === Global header polish: centered logo + frosted hero === */

/* Center the logo image on all pages */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}
.logo-container .site-logo {
  display: block;
  margin: 0 auto;
}

/* Frosted, centered hero bar so text never gets lost on the background */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 16px;
  margin: 0 auto;
  max-width: 1100px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Ensure hero heading is centered and readable */
.hero h1 {
  margin: 0;
  line-height: 1.2;
}

/* Tighten layout on small screens */
@media (max-width: 768px){
  .hero { 
    max-width: 92%;
    padding: 14px 14px;
    border-radius: 14px;
  }
}

/* === Frosted intro card centered + typography === */
.intro {
  display: flex;
  justify-content: center;
  padding: 24px 16px 48px;
}
.intro-card {
  max-width: 900px;
  width: 100%;
  text-align: center;
  padding: 22px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
}
.intro-card p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.6vw, 20px);
  line-height: 1.6;
  margin: 0 auto;
}

/* === Testimonial slider alignment === */
.testimonial-hero, .testimonial-slider, .testimonial-slide, .testimonial-slide blockquote {
  text-align: center;
}
.testimonial-slide blockquote {
  margin: 0 auto;
  max-width: 920px;
}
/* Ensure quote marks and author line stay centered inline */
.quote-mark {
  display: inline-block;
  transform: translateY(-2px);
}
.quote-author {
  display: inline-block;
  font-style: italic;
}

/* === Read more link styled like Explore button === */
a.read-more-link {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #5fb8b9;
  color: #2f4b3e;
  text-decoration: none;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
a.read-more-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.12);
  background: #ffffff;
}


/* === Slider centering fix === */
.testimonial-slider,
.testimonial-track,
.testimonial-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100%;
}

.testimonial-slide blockquote,
.testimonial-quote,
.testimonial-content {
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 980px;
  width: 100%;
}

/* prevent tiny horizontal shifts by reserving space for arrows/dots */
.testimonial-slider { padding-bottom: 56px; }
.testimonial-dots { bottom: 14px; }

/* Keep quote punctuation from shifting layout */
.testimonial-slide q,
.testimonial-slide .quote-mark { line-height: 1; }

/* === Read More link -> match Explore/Book button === */
a.read-more-link {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #5fb8b9;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .2px;
  box-shadow: 0 8px 18px rgba(95,184,185,0.35);
  border: 0;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
a.read-more-link:hover { 
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(95,184,185,0.45);
}
a.read-more-link:active { transform: translateY(0); }


/* === Slider horizontal offset hard-fix === */
/* Make the track and slides strict full-width pages with consistent inner padding */
.testimonial-track { 
  display: flex !important; 
  align-items: stretch !important; 
}
.testimonial-slide {
  flex: 0 0 100% !important;   /* each slide exactly viewport width of the slider */
  box-sizing: border-box !important;
  padding-inline: clamp(16px, 4vw, 32px) !important; /* consistent inner gutters */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;   /* prevent flex overflow side-push */
}
.testimonial-slide * { box-sizing: inherit; }
.testimonial-slide blockquote {
  width: 100% !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-inline: 0 !important;
  text-align: center !important;
}
/* Normalize first/last line spacing so open/close quotes don't nudge layout */
.testimonial-slide blockquote p:first-child { margin-top: 0; }
.testimonial-slide blockquote p:last-child { margin-bottom: 0; }
/* Keep controls from shifting content height */
.testimonial-controls,
.testimonial-dots { pointer-events: auto; }
