/* layout.css: page frame shared by every page: reset, skip link, header and nav (desktop
   dropdowns and the phone menu), and the footer. The critical part is inlined in each page head. */

/* ---- Page frame ---- */
html,
body {
  margin: 0;
  padding: 0;
}
/* The page itself is cream; the area behind it matches the footer, so when a phone
   "bounces" past the bottom of the page it shows footer navy, not a cream gap. */
html {
  background: #121836;
  overscroll-behavior-y: none;
}
body {
  background: var(--cream-100);
}
:root {
  --page-zoom: 1;
}
@media (min-width: 1720px) {
  body {
    zoom: 1.2;
  }
  :root {
    --page-zoom: 1.2;
  }
}
@media (min-width: 2080px) {
  body {
    zoom: 1.4;
  }
  :root {
    --page-zoom: 1.4;
  }
}
@media (min-width: 2450px) {
  body {
    zoom: 1.6;
  }
  :root {
    --page-zoom: 1.6;
  }
}
* {
  box-sizing: border-box;
}
a {
  color: var(--orange-700);
  text-decoration: none;
}
a:hover {
  color: var(--orange-800);
}
.page {
  background: var(--cream-100);
  min-height: 100vh;
}
/* Images carry width/height attributes so the browser reserves space; inline styles set the real size. */
:where(img[width][height]) {
  width: auto;
  height: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--navy-700);
  color: var(--cream-100);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 2px;
}
.skip-link:focus {
  top: 12px;
  color: var(--cream-100);
}

/* On small phones, long one-line labels wrap instead of running off the screen. */
@media (max-width: 600px) {
  [style*="white-space: nowrap"],
  .section-label__text,
  .section-label__text--on-dark {
    white-space: normal !important;
  }
}

/* ---- Header and nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-100);
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(20px, 5vw, 60px);
}
.site-header__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 74px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  padding: 14px 0;
}
.site-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  flex-wrap: wrap;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-link {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: #6e604a;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 120ms ease;
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-active {
  border-bottom-color: var(--teal-500);
  color: var(--navy-700);
}
.nav-dd {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  padding-top: 10px;
  z-index: 60;
}
.nav-item:hover .nav-dd,
.nav-item:focus-within .nav-dd {
  display: block;
}
.nav-dd__panel {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal-500);
  box-shadow: 0 10px 24px rgba(30, 40, 89, 0.12);
  min-width: 240px;
  padding: 8px 0;
}
.nav-dd__link {
  display: block;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14px;
  color: #6e604a;
  padding: 10px 18px;
}
.nav-dd__link:hover {
  background: #f7e4ce;
  color: var(--navy-700);
}

.btn-book {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--cream-100);
  background: var(--button-fill);
  border: 2px solid var(--button-fill);
  border-radius: 2px;
  padding: 10px 20px;
  transition:
    background 120ms ease,
    border-color 120ms ease;
}
.btn-book:hover {
  background: transparent;
  border-color: var(--orange-800);
  color: var(--orange-800);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 2px;
  color: #6e604a;
  cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle__bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: #6e604a;
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  flex: 1 1 100%;
  padding: 4px 0 24px;
  border-top: 1px solid var(--line-soft);
}
.nav-mobile[hidden] {
  display: none;
}
.nav-mobile__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(30, 40, 89, 0.08);
  padding: 14px 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 17px;
  color: #6e604a;
}
.nav-mobile__group:hover {
  color: var(--orange-800);
}
.nav-mobile__group:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 2px;
}
.nav-mobile__caret {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease;
}
.nav-mobile__group[aria-expanded="true"] .nav-mobile__caret {
  transform: rotate(180deg);
}
.nav-mobile__sub {
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(30, 40, 89, 0.08);
}
.nav-mobile__sub[hidden] {
  display: none;
}
.nav-mobile__sublink {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  color: #6e604a;
  padding: 10px 0 10px 18px;
}
.nav-mobile__link {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  color: #6e604a;
  padding: 14px 0;
  border-bottom: 1px solid rgba(30, 40, 89, 0.08);
}
.nav-mobile__link:hover,
.nav-mobile__sublink:hover {
  color: var(--orange-800);
}
.nav-mobile .btn-book {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  padding: 12px 20px;
}

@media (max-width: 1199px) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}
@media (min-width: 1200px) {
  .nav-mobile {
    display: none !important;
  }
}

/* ---- Footer ---- */
.ft-hv-1:hover {
  background: var(--cream-100) !important;
  border-color: var(--orange-800) !important;
  color: var(--orange-800) !important;
}
.ft-hv-2:hover {
  color: var(--orange-500) !important;
}
.ft-hv-3:hover {
  background: var(--cream-100) !important;
  color: var(--navy-700) !important;
}
.ft-soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(252, 242, 230, 0.35);
  border-radius: 50%;
  color: var(--cream-100);
  transition:
    color 120ms ease,
    border-color 120ms ease;
}
.ft-soc:hover {
  color: var(--orange-500) !important;
  border-color: var(--orange-500) !important;
}
.ft-soc:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.ft-soc svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---- Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
