/* Shared layout, navigation, footer, and interaction styles for every page. */
:root {
  --brand: #2596be;
  --brand-dark: #12617d;
  --ink: #151515;
  --muted: #595959;
  --line: #e4e8eb;
  --surface: #f5f8fa;
  --container: 80rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius: 1.25rem;
  --ease: cubic-bezier(.2, .65, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: "Poppins", Arial, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.1rem, 4.8vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.25rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
p, li, address { overflow-wrap: anywhere; }
img { display: block; max-width: 100%; width: 100%; height: auto; }
svg { display: block; }
iframe { display: block; max-width: 100%; width: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 5px; }
::selection { color: #fff; background: var(--brand-dark); }
[id] { scroll-margin-top: 2rem; }

.container { width: min(var(--container), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: clamp(3.5rem, 7vw, 7rem); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 100;
  top: .75rem;
  left: var(--gutter);
  padding: .75rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: .5rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; background: #fff; }
.header-container { border-bottom: 1px solid var(--line); }
.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 6rem;
  padding-block: 1.25rem;
}
.brand { flex: 0 0 auto; }
.header-logo-container { width: clamp(8.5rem, 18vw, 13rem); height: clamp(2.75rem, 6vw, 4.5rem); object-fit: contain; object-position: left center; }
.nav-panel { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1.5rem, 3vw, 3rem); }
#visit-pages { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.nav-button { position: relative; font-size: 1rem; font-weight: 500; white-space: nowrap; padding-block: .5rem; }
.nav-button::after {
  content: "";
  position: absolute;
  bottom: .2rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-button:hover::after, .nav-button[aria-current="page"]::after { transform: scaleX(1); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--ink);
  border-radius: .65rem;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transition: background-color .22s, border-color .22s, color .22s, transform .22s var(--ease), box-shadow .22s;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.book-button { flex: 0 0 auto; border-radius: 100px; background: transparent; color: var(--ink); white-space: nowrap; }
.book-button:hover { color: #fff; }
.menu-toggle { display: none; }
.site-header--home { color: #fff; background: #14323d; }
.site-header--home .header-container {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .52), transparent);
}
.site-header--home .site-nav { border-bottom: 1px solid rgb(255 255 255 / .45); }
.site-header--home .book-button { color: #fff; border-color: #fff; }
.site-header--home .book-button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.page-heading { max-width: 55rem; margin-inline: auto; padding-top: clamp(3.5rem, 7vw, 6.5rem); text-align: center; animation: enter .6s var(--ease) both; }
.page-intro { margin-top: 1rem; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.2rem); }
.eyebrow { display: block; margin-bottom: .8rem; color: var(--brand-dark); font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.text-link { color: var(--brand-dark); text-decoration: underline; text-underline-offset: .2em; }
.text-link:hover { text-decoration-thickness: 2px; }

.footer-container {
  padding-block: clamp(3rem, 6vw, 5.5rem);
  color: #fff;
  background: #101010;
  background-image: linear-gradient(rgb(0 0 0 / .82), rgb(0 0 0 / .82)), url("../images/footer.png");
  background-position: center;
  background-size: cover;
}
.footer-flex-1 { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
.footer-heading { margin-bottom: 1.5rem; font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 600; }
.location-container, .mapouter { width: 100%; min-width: 0; }
.mapouter { overflow: hidden; border-radius: .8rem; background: #202020; }
.gmap_iframe { width: 100%; height: clamp(14rem, 27vw, 20rem); }
.footer-details { margin-top: 1.25rem; font-style: normal; font-size: .95rem; }
.footer-details p + p { margin-top: .8rem; }
.footer-details a:hover { text-decoration: underline; text-underline-offset: .2em; }
.footer-details strong { font-weight: 600; }
.icons-container { align-self: center; min-width: 0; }
.footer-description { max-width: 28rem; color: #e1e1e1; }
.footer-icons-flex { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  padding: .55rem;
  border: 1px solid rgb(255 255 255 / .28);
  border-radius: .75rem;
  background: rgb(255 255 255 / .06);
  transition: transform .22s var(--ease), background-color .22s;
}
.social-link:hover { transform: translateY(-3px); background: rgb(255 255 255 / .17); }
.icon_image { width: 2rem; height: 2rem; object-fit: contain; }
.footer-tour { margin-top: 2rem; color: #fff; border-color: #fff; background: transparent; }
.footer-copyrights { padding: 1.25rem var(--gutter); border-top: 1px solid #292929; color: #d2d2d2; background: #101010; font-size: .85rem; text-align: center; }

.lightbox {
  width: min(64rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 1rem;
  color: #fff;
  background: #101010;
}
.lightbox::backdrop { background: rgb(0 0 0 / .85); backdrop-filter: blur(5px); }
.lightbox[open] { animation: enter .22s var(--ease) both; }
.lightbox-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.lightbox-title { font-size: 1rem; font-weight: 500; }
.lightbox-image { width: 100%; height: min(65dvh, 40rem); object-fit: contain; background: #080808; border-radius: .5rem; }
.lightbox-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; margin-top: .75rem; }
.lightbox-caption { font-size: .85rem; text-align: center; }
.lightbox-control { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .4rem; border: 1px solid #555; border-radius: .5rem; color: #fff; background: #202020; }
.lightbox-control:hover { background: #414141; }
.lightbox-control:disabled { opacity: .4; cursor: default; }
.lightbox-close { font-size: 1.5rem; line-height: 1; }

@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 60rem) {
  .site-nav { gap: 1rem; flex-wrap: wrap; min-height: 5rem; padding-block: 1rem; }
  .nav-panel { width: 100%; justify-content: flex-start; gap: 1.25rem; flex-wrap: wrap; padding-bottom: .5rem; }
  #visit-pages { flex-wrap: wrap; gap: .75rem 1.5rem; }
  .js .site-nav { flex-wrap: nowrap; }
  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    padding: .7rem;
    border: 1px solid currentColor;
    border-radius: .6rem;
    color: inherit;
    background: transparent;
  }
  .hamburger { position: relative; display: block; width: 1.4rem; height: 1.1rem; }
  .hamburger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s var(--ease), opacity .22s; }
  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: calc(50% - 1px); }
  .hamburger span:nth-child(3) { bottom: 0; }
  .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(.5rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-.5rem) rotate(-45deg); }
  .js .nav-panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + .5rem);
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    width: 100%;
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: .9rem;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 16px 40px rgb(0 0 0 / .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .js .nav-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .js #visit-pages { display: flex; flex-direction: column; align-items: stretch; gap: .2rem; }
  .js .nav-button { display: block; min-height: 2.75rem; padding: .65rem .5rem; border-radius: .4rem; white-space: normal; }
  .js .nav-button::after { content: none; }
  .js .nav-button:hover, .js .nav-button[aria-current="page"] { color: var(--brand-dark); background: var(--surface); }
  .js .nav-panel .book-button { width: 100%; color: var(--ink); border-color: var(--ink); }
  .js .nav-panel .book-button:hover { color: #fff; border-color: var(--brand-dark); }
}

@media (max-width: 48rem) {
  .footer-flex-1 { grid-template-columns: minmax(0, 1fr); }
  .icons-container { align-self: start; }
  .footer-description { max-width: none; }
  .page-heading { padding-top: 3rem; }
}

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