/* =============================================
   HEADER — inner-page chrome (PHP include)
   Homepage keeps its own header in index.php / style.css.
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  --cream: #FFFAF3;
  --cream-deep: #FFF1DE;
  --ink: #2B2420;
  --ink-soft: #5C5248;
  --orange: #F2731D;
  --orange-deep: #D85E10;
  --sky: #6FB7E0;
  --sky-pale: #DFF0FA;
  --navy: #1F3B4D;
  --gold: #F4A93E;
  --line: rgba(43,36,32,0.10);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Manrope', 'Helvetica Neue', sans-serif;

  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

*{ box-sizing: border-box; }
a{ text-decoration: none; }

.site-chrome{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  overflow: visible;
}
.site-chrome .navbar{
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}
.site-chrome .brand{
  flex-shrink: 0;
  margin-right: 16px;
}
.site-chrome .navbar-collapse{
  flex: 1 1 auto;
  min-width: 0;
}
.site-chrome .brand img{
  max-width: none;
  height: 70px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}


.top-info-bar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: 45px;
  background: #111111;
  color: #fff;
  border-top: 3px solid #3b3b3b;
  border-bottom: 2px solid var(--orange);
  font-family: 'Manrope', sans-serif;
}

.top-info-container {
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;

  padding: 0 clamp(16px, 5vw, 76px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left side */

.top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.resort-tagline{
  overflow: hidden;
  text-overflow: ellipsis;
}

.group-badge {
  background: var(--orange);
  color: #fff;

  padding: 7px 15px;
  border-radius: 30px;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
}

.resort-tagline {
  font-size: 11px;
  font-weight: 600;
  color: #f4f4f4;
}

/* Right side */

.top-right {
  display: flex;
  align-items: center;
  gap: 17px;

  white-space: nowrap;

  font-size: 10px;
  font-weight: 600;
}

.top-right a {
  color: #fff;
  transition: color .25s ease;
}

.top-right a:hover {
  color: var(--orange);
}

.top-right i {
  color: #e13d91;
  margin-right: 7px;
}

.top-divider {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ---- top info bar responsiveness ----
   The bar is a single nowrap row by design, which overflowed and
   caused horizontal scrolling on tablets/phones. Progressively trim
   the least essential pieces instead of letting it wrap awkwardly. */
@media (max-width: 991px){
  .resort-tagline{ display: none; }
}
@media (max-width: 767px){
  .top-info-container{ padding: 0 16px; }
  .top-right span:not(.top-divider){ display: none; }
  .group-badge{ padding: 6px 11px; font-size: 9px; }
}
@media (max-width: 480px){
  .top-info-bar{ height: 38px; }
  .group-badge{ display: none; }
  .top-right a{ font-size: 9.5px; }
}


/* ---- bar ---- */
.site-header{
  width: 100%;
  padding: 10px 0;
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  overflow: visible;

  opacity: 1;
  transition: box-shadow .35s var(--ease-premium);
}

/* Shadow only — changing padding or logo size on scroll resized the
   header inside a fixed iframe and left a transparent gap that
   flickered as the page moved underneath. */
.site-header.is-scrolled{
  box-shadow: 0 12px 30px -18px rgba(43,36,32,0.35), 0 1px 0 var(--line);
}

@keyframes headerIn{
  to{ opacity: 1; }
}

/* ---- brand ---- */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img{
  height: 70px;
  width: auto;
  max-width: none;
  transition: transform .35s var(--ease-premium), height .35s var(--ease-premium);
}
.brand:hover img{
  transform: rotate(-4deg) scale(1.04);
}

/* ---- nav links ---- */
.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a{
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color .25s ease;
}

.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  transition: width .3s var(--ease-premium);
}

.nav-links a:hover{ color: var(--orange-deep); }
.nav-links a:hover::after{ width: 100%; }

/* ---- active page indicator ---- */
.nav-links a.is-active{ color: var(--orange-deep); }
.nav-links a.is-active::after{ width: 100%; }

/* ---- Room / Tour Guides dropdowns ---- */
.nav-links .dropdown{ position: relative; }

.nav-links .dropdown-toggle{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.nav-links .dropdown-toggle::after{
  /* Bootstrap's default triangle caret is replaced with our own
     bi-chevron-down icon, placed via markup, so hide the built-in one */
  display: none;
}
.nav-links .dropdown-toggle .bi:first-child{ font-size: 0.95rem; color: var(--orange); }
.nav-links .dropdown-toggle .chevron{
  font-size: 0.6rem;
  padding: 4px 2px;
  transition: transform .3s var(--ease-premium);
}
.nav-links .dropdown-toggle[aria-expanded="true"] .chevron{
  transform: rotate(180deg);
}

.nav-links .dropdown-menu{
  position: absolute;
  z-index: 1020;
  border: none;
  border-radius: 14px;
  padding: 8px;
  min-width: 230px;
  margin-top: 0 !important;
  top: calc(100% + 8px);
  left: 0;
  background: var(--cream);
  box-shadow: 0 20px 44px rgba(43,36,32,0.16);
  font-family: var(--font-body);

  /* Always display:block so open/close can animate. Must stay
     position:absolute — otherwise these hidden menus sit in flow
     and stretch the header, which the parent page then pads for. */
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s var(--ease-premium), transform .25s var(--ease-premium), visibility .25s;
}
.nav-links .dropdown-menu.show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Invisible hover bridge between the nav label and the menu so the
   dropdown does not close while the pointer travels down to it. */
.nav-links .dropdown-menu::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

@media (min-width: 992px){
  .site-header,
  .navbar,
  .navbar-collapse,
  .container,
  .nav-links{
    overflow: visible;
  }

  /* Extra hit area on the item itself (not only the menu) so :hover
     stays true while crossing the 8px gap into the panel. */
  .nav-links .dropdown::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
  }

  .nav-links .dropdown:hover > .dropdown-menu,
  .nav-links .dropdown:focus-within > .dropdown-menu,
  .nav-links .dropdown.is-hover > .dropdown-menu{
    display: block !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links .dropdown:hover .dropdown-toggle .chevron,
  .nav-links .dropdown:focus-within .dropdown-toggle .chevron,
  .nav-links .dropdown.is-hover .dropdown-toggle .chevron{
    transform: rotate(180deg);
  }
}

.nav-links .dropdown-item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 9px;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  text-align: left;
  transition: background .2s ease, color .2s ease;
}
.nav-links .dropdown-item i{
  color: var(--orange);
  font-size: 1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.nav-links .dropdown-item:hover,
.nav-links .dropdown-item:focus{
  background: var(--cream-deep);
  color: var(--orange-deep);
}
.nav-links .dropdown-item.is-active{
  background: var(--cream-deep);
  color: var(--orange-deep);
}
.nav-links .dropdown-item.is-active i{ color: var(--orange-deep); }

@media (prefers-reduced-motion: reduce){
  .nav-links .dropdown-menu,
  .nav-links .dropdown-toggle .chevron{ transition: none; }
}

/* ---- CTA button ---- */
.btn-resort{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 46px;
  padding: 0 26px;
  border: none;
  border-radius: 100px;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 10px 22px rgba(242,115,29,0.28);
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn-resort:hover{
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(242,115,29,0.36);
}

.btn-resort span{
  display: block;
  transition: transform .4s var(--ease-premium);
}
.btn-text-two{
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transform: translateY(150%);
}
.btn-resort:hover .btn-text-one{ transform: translateY(-150%); }
.btn-resort:hover .btn-text-two{ transform: translateY(0); }

/* ---- mobile toggler ---- */
.navbar-toggler{
  border: none;
  background: transparent;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 4px 8px;
}
.navbar-toggler:focus{ box-shadow: none; }

@media (min-width: 992px) and (max-width: 1399.98px){
  .nav-links{ gap: 16px; }
  .nav-links a{ font-size: 0.82rem; }
  .site-chrome .brand img,
  .brand img{ height: 58px; }
  .btn-resort{ height: 42px; padding: 0 18px; }
}

@media (max-width: 991px){
  .site-chrome .navbar{ flex-wrap: wrap; }
  .nav-links{
    gap: 0;
    flex-wrap: wrap;
  }
  .nav-links li{
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after{ display: none; }

  /* Dropdowns become simple click-to-expand accordions inside the
     hamburger menu instead of floating boxes — floating position
     + drop-shadow reads badly stacked inside a mobile nav panel,
     and this keeps the collapsed state truly collapsed (no dead
     space) rather than just invisible. */
  .nav-links .dropdown-menu::before{ display: none; }
  .nav-links .dropdown-menu{
    position: static !important;
    display: none !important;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(43,36,32,0.03);
    margin: 10px 0 0 !important;
    min-width: 0;
  }
  .nav-links .dropdown-menu.show{
    display: block !important;
  }
  .nav-links .dropdown-item{
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce){
  .site-header{ animation: none; opacity: 1; transform: none; transition: none; }
  .brand:hover img{ transform: none; }
}