:root {
  /* Surface palette plus neutral text and image-overlay color. */
  --green: #49ad60;
  --beige: #e5d1aa;
  --white: #fff;
  --black: #000;
  --charcoal: var(--black);
  --green-dark: var(--black);
  --green-soft: var(--white);
  --beige-soft: var(--white);
  --beige-deep: var(--beige);
  --muted: var(--black);
  --light: var(--white);
  --line: var(--beige);
  --content: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--beige-soft);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--beige-soft);
  background: var(--charcoal);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 68px;
  color: var(--white);
  background: var(--green);
  border-bottom: 1px solid var(--beige);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: var(--content);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-brand {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand strong {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-brand span {
  margin-top: 4px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header-actions {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.main-navigation {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 32px);
}

.main-navigation > a {
  position: relative;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation > a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--beige-deep);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.language-switcher {
  position: relative;
  height: 100%;
  display: block;
  flex: none;
}

.language-switcher summary {
  height: 100%;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--white);
  background: transparent;
  border: 0;
  list-style: none;
  cursor: pointer;
}

.language-switcher summary img,
.language-options img {
  border: 1px solid var(--beige);
}

.language-switcher summary img {
  opacity: 0.9;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  width: 6px;
  height: 6px;
  content: "";
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-switcher[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-switcher summary:hover,
.language-switcher summary:focus-visible {
  opacity: 0.78;
}

.language-options {
  position: absolute;
  z-index: 100;
  top: calc(100% - 1px);
  right: 0;
  width: 126px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--beige);
}

.language-options > a {
  padding: 7px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.language-options .is-current {
  color: var(--green-dark);
  background: var(--beige);
  font-weight: 800;
}

.language-options > a:hover,
.language-options > a:focus-visible {
  background: var(--beige);
}

.main-navigation > a:hover::after,
.main-navigation > a:focus-visible::after,
.main-navigation > a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 68px);
  min-height: 650px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--beige-soft);
  background: var(--green-dark);
}

.hero-slides,
.hero-shade,
.hero-slide,
.hero-slides picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms ease-in-out;
  will-change: opacity, transform;
  animation-duration: 11s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide.zoom-in {
  animation-name: hero-zoom-in;
}

.hero-slide.zoom-out {
  animation-name: hero-zoom-out;
}

@keyframes hero-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.065); }
}

@keyframes hero-zoom-out {
  from { transform: scale(1.065); }
  to { transform: scale(1); }
}

.hero-shade {
  z-index: 2;
  background: var(--black);
  opacity: 0.42;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1000px, calc(100% - 40px));
  text-align: center;
}

.welcome {
  margin: 0 0 13px;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(19px, 2vw, 29px);
  font-weight: 300;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-divider {
  width: 90px;
  height: 2px;
  margin: 28px auto;
  display: block;
  background: var(--beige-deep);
  box-shadow: 24px 0 0 -0.5px var(--beige-deep), -24px 0 0 -0.5px var(--beige-deep);
}

.hero-subtitle {
  margin: 0;
  color: var(--white);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.7;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 39px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 0;
}

.slider-dots button {
  position: relative;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dots button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border: 1px solid var(--beige-soft);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.slider-dots button.is-active::before {
  background: var(--beige-soft);
}

.slider-dots button:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: 2px;
}

.content-section {
  padding: 105px 0;
}

.content-grid {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 9vw, 130px);
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2,
h3 {
  margin-top: 0;
  font-weight: 300;
  line-height: 1.25;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -0.02em;
}

.welcome-section {
}

.welcome-grid {
  align-items: start;
}

.welcome-heading {
  min-width: 0;
}

.welcome-image {
  aspect-ratio: 4 / 3;
  margin-top: 42px;
  background: url("/assets/images/hero-2-1536.webp") center / cover no-repeat;
  box-shadow: 18px 18px 0 var(--beige-deep);
}

.welcome-copy {
  padding-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.welcome-copy p:first-child {
  color: var(--charcoal);
  font-size: 21px;
}

.welcome-details {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--beige-deep);
}

.welcome-details h2 {
  margin: 0 0 24px;
  color: var(--green-dark);
  font-size: clamp(27px, 3vw, 38px);
}

.signature {
  margin-top: 32px;
  color: var(--green-dark);
  font-style: italic;
}

.map-link {
  position: relative;
  width: min(1400px, 100%);
  margin: 0 auto;
  display: block;
  overflow: hidden;
  background: var(--light);
}

.map-link picture,
.map-link img {
  width: 100%;
}

.map-link img {
  transition: transform 450ms ease;
}

.map-link:hover img,
.map-link:focus-visible img {
  transform: scale(1.012);
}

.map-link span {
  position: absolute;
  right: 24px;
  bottom: 22px;
  padding: 9px 15px;
  color: var(--beige-soft);
  background: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 24px;
}

.section-link {
  min-height: 46px;
  margin-top: 22px;
  padding: 11px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--charcoal);
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.section-link-arrow {
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease;
}

.section-link:hover,
.section-link:focus-visible {
  color: var(--charcoal);
  background: transparent;
}

.section-link:hover .section-link-arrow,
.section-link:focus-visible .section-link-arrow {
  transform: translateX(3px);
}

.alternating-surfaces > .section-surface:nth-child(even) .section-link,
.section-surface--green .section-link {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.alternating-surfaces > .section-surface:nth-child(even) .section-link:hover,
.alternating-surfaces > .section-surface:nth-child(even) .section-link:focus-visible,
.section-surface--green .section-link:hover,
.section-surface--green .section-link:focus-visible {
  color: var(--beige-soft);
  background: transparent;
  border-color: var(--beige);
}

.home-gallery {
  padding: 105px max(24px, calc((100% - 1180px) / 2));
  text-align: center;
  color: var(--white);
}

.home-gallery .section-kicker {
  color: var(--white);
}

.home-section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
}

.home-section-heading > p:not(.section-kicker) {
  color: var(--white);
  font-size: 17px;
}

.gallery-preview {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-preview figure {
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--green-dark);
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-preview figure:hover img {
  transform: scale(1.035);
}

.home-activities {
  width: 100%;
  margin: 0 auto;
  padding: 105px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.home-activities-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.home-activities .map-link {
  width: 100%;
  aspect-ratio: 4 / 3;
  box-shadow: 22px 22px 0 var(--green);
}

.home-activities .map-link picture,
.home-activities .map-link img {
  height: 100%;
}

.home-activities .map-link picture {
  display: block;
}

.home-activities .map-link img {
  object-fit: cover;
  object-position: center;
}

.home-booking {
  padding: 100px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
  color: var(--white);
}

.home-booking .section-kicker {
  color: var(--white);
}

.booking-copy > p:not(.section-kicker):not(.price-note) {
  color: var(--white);
  font-size: 17px;
}

.weekly-price {
  margin: 32px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.weekly-price strong {
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 300;
  line-height: 1;
}

.weekly-price span {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.price-note {
  margin: 0 0 30px;
  color: var(--white);
  font-size: 13px;
}

.calendar-card {
  padding: clamp(22px, 4vw, 38px);
  color: var(--charcoal);
  background: var(--beige-soft);
  box-shadow: 24px 24px 0 var(--beige);
}

.calendar-toolbar {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.calendar-toolbar button {
  width: 42px;
  height: 42px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.calendar-toolbar button:hover,
.calendar-toolbar button:focus-visible {
  color: var(--beige-soft);
  background: var(--green);
}

.calendar-toolbar button:disabled {
  color: var(--black);
  background: var(--light);
  cursor: not-allowed;
}

.calendar-title {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(23px, 3vw, 31px);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-weekday,
.calendar-day {
  min-height: 43px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.calendar-weekday {
  min-height: 30px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-day {
  background: var(--green-soft);
  border: 1px solid var(--line);
}

.calendar-day.is-empty {
  background: transparent;
  border-color: transparent;
}

.calendar-day.is-unavailable {
  color: var(--charcoal);
  background: var(--beige);
  border-color: var(--green);
}

.calendar-day.is-past {
  color: var(--black);
  background: var(--light);
  border-color: var(--line);
}

.calendar-legend {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 1px solid;
}

.calendar-legend i.available {
  background: var(--green-soft);
  border-color: var(--line);
}

.calendar-legend i.unavailable {
  background: var(--beige);
  border-color: var(--green);
}

.calendar-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.calendar-error {
  margin: 30px 0;
  padding: 18px;
  color: var(--charcoal);
  background: var(--beige-soft);
  border: 1px solid var(--green);
}

.availability-page-section {
  padding: 90px max(24px, calc((100% - 900px) / 2));
}

.availability-page-inner {
  max-width: 900px;
  margin: 0 auto;
}

.availability-page-heading {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.availability-page-heading h2 {
  margin-bottom: 16px;
}

.availability-page-heading > p:last-child {
  margin: 0;
  color: var(--white);
  font-size: 17px;
}

.availability-page-section .calendar-card {
  max-width: 720px;
  margin: 0 auto;
}

.site-footer {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  background: var(--beige);
  border-top: 1px solid var(--beige-deep);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 28px;
}

.site-footer a {
  color: var(--green-dark);
  text-underline-offset: 4px;
}

.page-hero {
  position: relative;
  min-height: 410px;
  padding: 70px 24px;
  display: grid;
  place-content: center;
  overflow: hidden;
  color: var(--beige-soft);
  text-align: center;
  background: var(--green-dark);
}

.page-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: var(--black);
  opacity: 0.6;
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero p {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(39px, 6vw, 70px);
  font-weight: 300;
  line-height: 1.15;
}

.page-hero span {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--white);
}

.page-content {
  width: min(860px, calc(100% - 40px));
  min-height: 360px;
  margin: 0 auto;
  padding: 85px 0 105px;
}

.page-content h2 {
  margin: 55px 0 18px;
  color: var(--green-dark);
  font-size: clamp(28px, 4vw, 40px);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content a {
  color: var(--green-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.page-content blockquote {
  margin: 0 0 34px;
  padding: 18px 22px;
  color: var(--green-dark);
  background: var(--beige-soft);
  border-left: 4px solid var(--green);
}

.section-surface {
  background: var(--beige-soft);
}

.section-surface--green {
  color: var(--white);
  background: var(--green);
}

.alternating-surfaces > .section-surface:nth-child(even) {
  color: var(--beige-soft);
  background: var(--green);
}

.content-section-band {
  padding: 90px max(24px, calc((100% - 1080px) / 2));
}

.content-section-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(45px, 8vw, 110px);
}

.content-section-heading h2 {
  margin-bottom: 0;
  color: var(--green-dark);
  font-size: clamp(32px, 4vw, 48px);
}

.content-section-copy {
  padding-top: 5px;
  color: var(--muted);
  font-size: 17px;
}

.content-section-copy p {
  margin: 0 0 24px;
}

.content-section-copy p:last-child {
  margin-bottom: 0;
}

.alternating-surfaces > .content-section-band:nth-child(even) .content-section-heading h2 {
  color: var(--beige-soft);
}

.alternating-surfaces > .content-section-band:nth-child(even) .content-section-copy {
  color: var(--white);
}

.page-content table {
  width: 100%;
  margin: 34px 0;
  border-collapse: collapse;
}

.page-content th,
.page-content td {
  padding: 14px 16px;
  text-align: left;
  border: 1px solid var(--beige-deep);
}

.page-content th {
  color: var(--beige-soft);
  background: var(--green);
}

.page-content th:last-child,
.page-content td:last-child {
  width: 110px;
  text-align: right;
  white-space: nowrap;
}

.page-content tr:nth-child(even) td {
  background: var(--beige-soft);
}

.gallery-section {
  padding: 90px max(24px, calc((100% - 1180px) / 2));
}

.gallery-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-section-heading {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.gallery-section-heading h2 {
  margin-bottom: 12px;
}

.gallery-section-heading > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.alternating-surfaces > .section-surface:nth-child(even) .section-kicker {
  color: var(--white);
}

.section-surface--green .section-kicker {
  color: var(--white);
}

.alternating-surfaces > .section-surface:nth-child(even) .gallery-section-heading > div:first-child > p:last-child {
  color: var(--white);
}

.gallery-controls {
  display: none;
  align-items: center;
  gap: 8px;
}

.gallery-section.is-enhanced .gallery-controls {
  display: flex;
}

.gallery-counter {
  min-width: 90px;
  margin-right: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.alternating-surfaces > .section-surface:nth-child(even) .gallery-counter {
  color: var(--white);
}

.gallery-controls button {
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  color: var(--beige-soft);
  background: var(--green);
  border: 1px solid var(--green);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.alternating-surfaces > .section-surface:nth-child(even) .gallery-controls button {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige);
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
  border-color: var(--beige-deep);
}

.gallery-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns, 5), minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  min-width: 0;
  color: var(--beige-soft);
  text-decoration: none;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--green);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, var(--black));
  font-size: 12px;
  line-height: 1.3;
  transform: translateY(100%);
  transition: transform 200ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.gallery-item:hover figcaption,
.gallery-item:focus-visible figcaption {
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--beige-deep);
  outline-offset: 3px;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 24px 80px;
  color: var(--beige-soft);
  background: var(--black);
  border: 0;
  overflow: hidden;
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 24px;
}

.gallery-lightbox::backdrop {
  background: var(--black);
}

.gallery-lightbox.is-loading::after {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  content: "";
  border: 3px solid var(--beige);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: lightbox-loading 700ms linear infinite;
}

@keyframes lightbox-loading {
  to { transform: rotate(360deg); }
}

.gallery-lightbox figure {
  min-width: 0;
  max-height: calc(100dvh - 48px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
}

.gallery-lightbox figure img {
  min-height: 0;
  max-width: 100%;
  max-height: calc(100dvh - 110px);
  align-self: center;
  object-fit: contain;
}

.gallery-lightbox figcaption {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.gallery-lightbox figcaption small {
  color: var(--white);
}

.lightbox-close,
.lightbox-fullscreen,
.lightbox-arrow {
  color: var(--black);
  background: var(--beige);
  border: 1px solid var(--white);
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-fullscreen:hover,
.lightbox-fullscreen:focus-visible,
.lightbox-fullscreen.is-active,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  color: var(--green-dark);
  background: var(--beige);
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 31px;
  line-height: 1;
}

.lightbox-fullscreen {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 78px;
  width: 46px;
  height: 46px;
  font-size: 25px;
  line-height: 1;
}

.lightbox-arrow {
  width: 56px;
  height: 64px;
  padding-bottom: 5px;
  font-size: 42px;
  line-height: 1;
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox.is-fallback-fullscreen {
  padding: 0;
}

.gallery-lightbox.is-fallback-fullscreen[open] {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.gallery-lightbox.is-fallback-fullscreen figure {
  width: 100%;
  height: 100dvh;
  max-height: none;
  gap: 0;
}

.gallery-lightbox.is-fallback-fullscreen figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

.gallery-lightbox.is-fallback-fullscreen figcaption {
  display: none;
}

.gallery-lightbox.is-fallback-fullscreen .lightbox-arrow {
  position: fixed;
  z-index: 2;
  top: 50%;
  width: 44px;
  height: 54px;
  font-size: 36px;
  transform: translateY(-50%);
}

.gallery-lightbox.is-fallback-fullscreen .lightbox-previous {
  left: 10px;
}

.gallery-lightbox.is-fallback-fullscreen .lightbox-next {
  right: 10px;
}

@media (max-width: 1100px) {
  .main-navigation {
    gap: 16px;
  }

  .main-navigation > a {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .welcome-image {
    background-image: url("/assets/images/hero-2-900.webp");
  }

  .gallery-track {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  :root {
    --content: min(100% - 34px, 680px);
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .header-actions {
    gap: 0;
  }

  .site-brand strong {
    font-size: 15px;
  }

  .site-brand span {
    margin-top: 4px;
    font-size: 8px;
  }

  .js .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 24px;
    height: 2px;
    display: block;
    background: var(--white);
  }

  .main-navigation {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    height: auto;
    padding: 15px 24px 24px;
    display: block;
    gap: 0;
    background: var(--green);
    border-top: 1px solid var(--beige);
  }

  .js .main-navigation {
    display: none;
  }

  .js .main-navigation.is-open {
    display: block;
  }

  .main-navigation > a {
    width: 100%;
    height: auto;
    padding: 11px 0;
    color: var(--white);
  }

  .main-navigation > a::after {
    display: none;
  }

  .language-switcher {
    height: auto;
    display: block;
  }

  .language-switcher summary {
    width: 100%;
    height: auto;
    padding: 11px 0;
    justify-content: flex-start;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
  }

  .language-switcher summary::after {
    margin-left: auto;
    margin-right: 3px;
  }

  .language-options {
    position: static;
    width: 100%;
    margin-bottom: 8px;
    padding: 5px 8px;
    grid-template-columns: repeat(3, 40px);
    gap: 4px;
    color: var(--black);
    background: var(--beige);
    border: 0;
    box-shadow: none;
  }

  .language-options .is-current {
    color: var(--green-dark);
    background: var(--beige);
  }

  .hero {
    height: calc(100svh - 60px);
    min-height: 600px;
  }

  .hero-content {
    padding-top: 0;
  }

  .welcome {
    font-size: clamp(38px, 10vw, 56px);
  }

  .hero h1 {
    font-size: clamp(17px, 4.4vw, 22px);
  }

  .hero-subtitle br {
    display: none;
  }

  .content-section {
    padding: 75px 0;
  }

  .content-grid,
  .content-section-inner,
  .home-activities,
  .home-booking {
    grid-template-columns: 1fr;
  }

  .content-grid {
    gap: 26px;
  }

  .content-section-band {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .content-section-inner {
    gap: 24px;
  }

  .welcome-image {
    max-width: 560px;
    margin: 28px 12px 12px 0;
  }

  .gallery-preview {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-preview figure,
  .gallery-preview figure:first-child {
    height: auto;
    margin-top: 0;
  }

  .gallery-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .gallery-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .gallery-counter {
    text-align: left;
  }

  .gallery-lightbox {
    padding: 70px 18px 18px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .lightbox-arrow {
    position: fixed;
    z-index: 2;
    top: 50%;
    width: 44px;
    height: 54px;
    font-size: 36px;
    transform: translateY(-50%);
  }

  .lightbox-previous {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .home-activities {
    gap: 45px;
  }

  .home-activities .map-link {
    order: -1;
    box-shadow: 12px 12px 0 var(--green);
  }

  .home-booking {
    gap: 50px;
  }

  .page-hero {
    min-height: 350px;
    padding: 60px 20px;
  }

  .page-content {
    padding: 65px 0 80px;
  }

  .availability-page-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

}

@media (orientation: landscape) and (max-height: 600px) {
  .gallery-lightbox {
    padding: 8px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .gallery-lightbox figure {
    height: calc(100dvh - 16px);
    max-height: none;
    gap: 6px;
  }

  .gallery-lightbox figure img {
    max-height: calc(100dvh - 48px);
  }

  .gallery-lightbox figcaption {
    font-size: 14px;
    line-height: 1.2;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .lightbox-fullscreen {
    top: 8px;
    right: 56px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .lightbox-arrow {
    position: fixed;
    z-index: 2;
    top: 50%;
    width: 40px;
    height: 48px;
    font-size: 32px;
    transform: translateY(-50%);
  }

  .lightbox-previous {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

@media (max-width: 520px) {
  .gallery-track {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 90svh;
  }

  .hero-content {
    width: calc(100% - 30px);
  }

  .slider-dots {
    bottom: 24px;
  }

  .map-link span {
    right: 12px;
    bottom: 12px;
  }

  .gallery-preview {
    grid-template-columns: 1fr;
  }

  .gallery-preview figure,
  .gallery-preview figure:first-child {
    height: auto;
  }

  .gallery-lightbox {
    padding-right: 8px;
    padding-left: 8px;
  }

  .gallery-lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
  }

  .lightbox-arrow {
    width: 44px;
    height: 48px;
    font-size: 32px;
  }

  .calendar-card {
    margin-right: -5px;
    margin-left: -5px;
    padding: 20px 14px;
  }

  .calendar-day {
    min-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
