@import url("variables.css");

/* ----------------------------
   Reset / Normalize
---------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img,
picture {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ----------------------------
   Page transitions
   Native cross-document View Transitions: zero-dependency, browser-native,
   only activates for same-origin document navigations, no-ops entirely in
   browsers that don't support it. Gated behind prefers-reduced-motion.
---------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: page-fade-out var(--duration-page) var(--ease-standard) both;
  }

  ::view-transition-new(root) {
    animation: page-fade-in var(--duration-page) var(--ease-standard) both;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: 1ms;
  }
}

@keyframes page-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------
   Typography
---------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--primary-text);
  background: var(--color-background);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: var(--leading-heading);
  margin: 0 0 var(--space-md);
  color: var(--primary-text);
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

p {
  margin: 0 0 var(--space-md);
  max-width: var(--content-width-text);
}

.eyebrow {
  display: block;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--primary-text);
  margin: 0 0 var(--space-xs);
}

/* ----------------------------
   Layout / Grid
---------------------------- */
.container {
  width: 100%;
  max-width: var(--content-width-max);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.flex {
  display: flex;
}

.image__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid--cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.block-40 {
  flex: 0 0 42%;
  max-width: 42%;
}
.block-60 {
  flex: 0 0 55%;
  max-width: 53%;
}
@media (max-width: 768px) {
  .block-40,
  .block-60 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* ----------------------------
   Focus states
---------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ----------------------------
   Buttons
---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--primary-btn);
  border-radius: var(--radius);
  background: var(--primary-btn);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-hover);
}

.btn:hover {
  background: transparent;
  color: var(--primary-btn);
  border: 2px solid var(--primary-btn);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-ivory);
}

/* ----------------------------
   Forms
---------------------------- */
label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

input,
select,
textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-ivory);
  color: var(--color-dark);
  margin-bottom: var(--space-md);
}

fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0 0 var(--space-lg);
  padding: var(--space-md);
}

legend {
  font-weight: 700;
  padding: 0 var(--space-xs);
}

.field-error {
  border-color: var(--color-danger);
}

.field-error-message {
  color: var(--color-danger);
  font-size: var(--text-caption);
  margin-top: calc(var(--space-xs) * -1);
  margin-bottom: var(--space-md);
}

/* ----------------------------
   Header / Navigation
---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-sm);
}

.site-nav__brand {
  font-family: var(--font-heading);
  font-size: var(--text-body-lg);
  line-height: var(--leading-snug);
  color: var(--primary-text);
  text-decoration: none;
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-ivory);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-hover);
}

.site-nav__toggle:hover {
  background: var(--color-surface-muted);
}

@media (min-width: 768px) {
  .site-nav__toggle {
    display: none;
  }
}

/* Reset Pico's nav-spawned rules for our dropmenu */
.dropmenu,
.dropmenu ul {
  display: block;
}
.dropmenu ul,
.dropmenu ul.navigation,
.dropmenu ul:first-of-type,
.dropmenu ul:last-of-type {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropmenu > ul,
.dropmenu ul.navigation {
  display: flex;
  align-items: center;
  gap: var(--space-3xs);
  flex-wrap: wrap;
}
.dropmenu li {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
}
.dropmenu li::before {
  content: none !important;
}

.dropmenu a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3xs);
  margin: 0;
  padding: var(--space-xs) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: 500;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: var(--radius);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
  transition: var(--transition-hover);
  white-space: nowrap;
}
.dropmenu a:hover {
  background: var(--color-surface-muted);
  color: var(--color-olive);
  text-decoration: none;
}
.dropmenu a.active {
  color: var(--color-nav-active-text);
  background: var(--color-nav-active-bg);
  font-weight: 600;
}
.dropmenu a.active:hover {
  background: var(--color-dark);
  color: var(--color-nav-active-text);
}

/* Two-line label treatment ("Stay" / "at Saratoga") — a deliberate stacked
   layout, not natural text wrapping. Applied by macros.html.twig whenever a
   menu field contains a "|" separator. */
.dropmenu a.nav-link--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  white-space: normal;
  padding-top: var(--space-3xs);
  padding-bottom: var(--space-3xs);
}
.nav-link__line {
  display: block;
  white-space: nowrap;
  line-height: 1.3;
}
.nav-link__line:last-child {
  font-weight: 400;
  opacity: 0.75;
}
.dropmenu a.active .nav-link__line:last-child {
  opacity: 0.9;
}

/* Dropdown submenu — vertical stack (override Pico's nav ul flex rules) */
.dropmenu ul ul,
.dropmenu li > ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  max-width: 360px;
  margin: 0;
  padding: var(--space-3xs);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3xs);
  background: var(--color-background);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-4px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard),
    visibility var(--duration-base);
  z-index: 40;
}
.dropmenu li:hover > ul,
.dropmenu li:focus-within > ul,
.dropmenu li.open > ul {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* Invisible hover bridge so the cursor can cross the gap between the parent
 * menu item and the dropdown without losing :hover state. */
.dropmenu li > ul::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.dropmenu li li > ul::before {
  top: 0;
  left: -10px;
  right: auto;
  width: 10px;
  height: 100%;
}

.dropmenu li > ul > li {
  display: block;
  width: 100%;
  align-self: stretch;
}
.dropmenu li > ul a {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  white-space: normal;
  font-weight: 500;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
}

/* Nested (third-level) dropdown opens to the side */
.dropmenu li li > ul {
  top: 0;
  left: calc(100% + 6px);
}

/* Belt-and-suspenders: anywhere `nav ul ul` inside dropmenu must be column */
nav .dropmenu ul ul,
nav .dropmenu li > ul {
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

/* Caret for parents */
.dropmenu li.has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  display: inline-block;
  margin-left: var(--space-3xs);
  opacity: 0.6;
  align-self: center;
}
.dropmenu li.has-children > a.nav-link--stacked::after {
  transform: rotate(45deg);
  margin-left: var(--space-3xs);
}
.dropmenu li li.has-children > a::after {
  transform: rotate(-45deg);
  margin-left: auto;
}

/* ----------------------------
   Responsive navigation (mobile/tablet hamburger overlay)
---------------------------- */
@media (max-width: 767px) {
  .dropmenu {
    display: none;
  }

  .dropmenu.is-open {
    display: block;
    position: fixed;
    top: var(--header-height, 5.5rem);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    background: var(--color-background);
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) var(--page-padding) var(--space-xl);
    -webkit-overflow-scrolling: touch;
  }

  .dropmenu.is-open > ul,
  .dropmenu.is-open ul.navigation {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3xs);
  }

  .dropmenu.is-open li {
    width: 100%;
  }

  .dropmenu.is-open > ul > li > a,
  .dropmenu.is-open ul.navigation > li > a {
    width: 100%;
    padding: var(--space-sm);
    font-size: var(--text-body-sm);
  }

  /* Submenus become static, in-flow accordions instead of floating panels.
     visibility stays hidden until .open so a collapsed submenu's links
     can't be tabbed into while they're clipped to zero height. */
  .dropmenu.is-open li > ul {
    position: static;
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    min-width: 0;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin-top: var(--space-3xs);
    transition: max-height var(--duration-base) var(--ease-standard), visibility var(--duration-base);
  }

  .dropmenu.is-open li.open > ul {
    visibility: visible;
    pointer-events: auto;
    max-height: 30rem;
    padding: var(--space-3xs) 0 var(--space-3xs) var(--space-md);
  }

  .dropmenu.is-open li.has-children > a {
    justify-content: space-between;
  }
}

/* ----------------------------
   Footer
---------------------------- */
.site-footer {
  background: var(--color-primary);
  color: var(--color-ivory);
  padding: var(--section-spacing) 0 0;
  margin-top: var(--section-spacing);
}

.site-footer h3 {
  font-size: var(--text-h4);
  color: var(--color-ivory);
  margin-bottom: var(--space-sm);
}

.site-footer address {
  font-style: normal;
}

.site-footer p {
  margin: 0 0 var(--space-xs);
}

.site-footer a {
  color: var(--color-ivory);
  text-decoration-color: rgba(254, 255, 242, 0.45);
}

.site-footer a:hover {
  text-decoration-color: currentColor;
}

.footer__columns {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer__columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__col {
  padding-bottom: var(--space-lg);
}

.footer__map-link {
  display: inline-block;
  margin-top: var(--space-xs);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-top: 1px solid rgba(254, 255, 242, 0.25);
  font-size: var(--text-caption);
}

.footer__bottom p {
  margin: 0;
  opacity: 0.85;
}

.footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__inclusive-icon{
  vertical-align: top;
  font-size: var(--text-body-sm);
  display: flex;
}
.footer__inclusive-icon svg{
  width: 51px;
  height: 25px;
}
.footer__inclusive-icon .footer__inclusive-text{
  margin-left: var(--space-sm);
}
@media (max-width: 767px) {
  .footer__col {
    text-align: center;  
  }
  .footer__inclusive-icon{
    display:block;
  }
  .footer__inclusive-icon .footer__inclusive-text{
    margin: inherit;
  }
}
/* ----------------------------
   Utility
---------------------------- */
.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;
}

/* ----------------------------
   Hero
---------------------------- */
.hero {
  position: relative;
  min-height: clamp(22.5rem, 18.5rem + 16vw, 34.5rem);
  background-color: var(--color-background);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
 @media (min-width: 768px) {
  .hero {
    margin-bottom:var(--space-xl)
  }
 }
/* Purely a color wash — kept as its own absolutely-positioned layer so it
   never constrains the height of the text above it. .hero__content is a
   normal in-flow sibling, so a long heading simply grows the hero taller
   instead of being clipped. */
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-3xl) var(--page-padding);
  text-align: center;
  color: var(--color-ivory);
}

.hero__eyebrow {
  color: var(--color-dark);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: var(--leading-heading);
  margin: 0 0 var(--space-md);
  text-shadow: 0 1px 4px var(--color-ivory)
}

.hero__heading {
  color: var(--color-dark);
  font-size: var(--text-display);
  font-weight: 800;
  text-align: center;
  margin: 0 auto var(--space-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 1px 4px var(--color-ivory)
}
@media (max-width: 767px) {
  .hero__heading{
    font-size: var(--text-h1);
  }
}
.hero__cta {
  min-height: 44px;
  background-color: var(--secondary-btn);
  border: 2px solid var(--color-primary);
  color: var(--primary-text);
}
.hero__cta:hover {
  background: var(--primary-btn);
  color: var(--secondary-btn);
}

/* Hero entrance animation — plays once on initial page load only (this is a
   traditional multi-page site, so there's no client-side re-render to
   accidentally replay it on). Staggered per element via its own class so a
   hero missing one part doesn't throw off the others. */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-rise-reduced {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow,
  .hero__heading,
  .hero__cta {
    animation: hero-rise var(--duration-hero) var(--ease-entrance) both;
  }
  .hero__eyebrow {
    animation-delay: 0ms;
  }
  .hero__heading {
    animation-delay: var(--stagger-hero);
  }
  .hero__cta {
    animation-delay: calc(var(--stagger-hero) * 2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow,
  .hero__heading,
  .hero__cta {
    animation: hero-rise-reduced var(--duration-fast) ease-out both;
  }
}

.radial-background {
  background: radial-gradient(circle at 50% 50%, var(--color-ivory) 0%, rgba(212, 213, 188, 0.61) 100%);
}
.home-page .hero__overlay{
    background: rgba(180, 192, 115, 0.45);
}
.home-page .hero{
  margin-bottom:0;
}
/* ----------------------------
   Retreat Intro
---------------------------- */
.retreat-info {
  padding: var(--section-spacing) var(--page-padding);
  display: flex;
  flex: 1 1 auto;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
#retreat-info-heading {
  font-size: var(--text-h2);
}
.retreat-info p {
  max-width: var(--content-width-text);
}


/* ----------------------------
   Gallery
---------------------------- */
.gallery__grid {
  gap: var(--space-xs) var(--space-sm);
    margin-top: var(--space-3xl) ;
}
 @media (max-width: 767px) {
  .gallery__grid {
    gap: var(--space-3xs) var(--space-sm);
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
  }
}
.gallery__item {
  margin: 0;
}

.gallery__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.gallery__trigger img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.gallery__trigger:hover img {
  opacity: 0.3;
}

.gallery__caption {
  font-size: var(--text-caption);
  font-family: var(--font-body);
  font-weight: 600;
  margin: var(--space-xs) 0 0;
}


/* ----------------------------
   Feature Cards
---------------------------- */
.feature-cards {
  padding: var(--section-spacing) var(--page-padding);
  flex: 1;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-background);
  transition: box-shadow var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.card:hover {
  border-color: var(--color-border);
}
.card__title {
  color: var(--primary-text);
  font-size: var(--text-h3);
}
.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card__body {
  padding: var(--space-md);
}

/* ----------------------------
   Lightbox
---------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox__image {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius);
}

.lightbox__caption {
  color: var(--color-ivory);
  margin-top: var(--space-sm);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-ivory);
  font-size: 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition-hover);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__close {
  top: -44px;
  right: 0;
}

.lightbox__prev {
  left: -56px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: -56px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  .lightbox__prev {
    left: 0;
  }
  .lightbox__next {
    right: 0;
  }
}

/* ----------------------------
   Section Pages (Rest/Gather/Wander)
---------------------------- */
.section-page {
  padding: var(--section-spacing) var(--page-padding);
  margin-top: var(--space-xl);
}

.section-page__layout {
  align-items: start;
}
.section-page__title {
  text-align: center;
  margin: var(--space-xl) auto var(--space-md);
  font-size: var(--text-h1);
  color: var(--primary-text);
}

/* ----------------------------
   About Page
---------------------------- */
.about-page {
  padding: var(--section-spacing) var(--page-padding);
  max-width: var(--content-width-max);
}

.about-page section {
  margin-bottom: var(--space-xl);
}

.about__image {
  width: 100%;
  max-width: 400px;
  height: 400px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  text-align: left;
}

@media (max-width: 768px) {
  .about__image {
    height: 300px;
    object-position: center;
    flex: unset;
  }
}
.value-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: var(--color-ivory);
}
/* ----------------------------
   Rest Page
---------------------------- */
.rest-page, .gather-page, .wander-page {
  display: flex;
  flex-direction: column;
  /* max-width: var(--content-width-wide);
  margin: 0 auto; */
  padding: var(--section-spacing) var(--page-padding);
  /* align-items: center; */
}

@media (min-width: 768px) {
  .rest-page, .gather-page, .wander-page  {
    gap: var(--space-4xl);
  }
}
/* ---------- ITEM ---------- */

.accomodations-item {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: var(--space-xl);
}

/* every other block flips image/text sides */
.accomodations-item--reverse {
  flex-direction: row-reverse;
}

/* offset color block: starts about 1/3 of the way into the image
    and extends across the rest of the item (covering the whole text box) */
.accomodations-item::before {
  content: "";
  position: absolute;
  top: calc(var(--space-lg) * -1);
  bottom: calc(var(--space-lg) * -1);
  background-color: var(--color-rock);
  z-index: 0;
}

/* image on the left: block starts 1/3 into the image (~14% of total width
    since the image column is 42%) and runs to the far right */
.accomodations-item--normal::before {
  left: 14%;
  right: calc(var(--space-lg) * -1);
}
/* image on the right: mirror the same math from the other side */
.accomodations-item--reverse::before {
  right: 14%;
  left: calc(var(--space-lg) * -1);
}


/* ---------- IMAGE / SLIDESHOW ---------- */

.accomodations__image-wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 568 / 573;
  box-shadow: 12px 16px 28px rgba(0, 0, 0, 0.28);
}

.accomodations__slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.accomodations__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-standard);
}

.accomodations__image.is-active {
  opacity: 1;
}

/* nav arrows: hidden until hover */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-ivory);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.slideshow-nav--prev {
  left: 6px;
}
.slideshow-nav--next {
  right: 6px;
}

.accomodations__image-wrapper:hover .slideshow-nav {
  opacity: 0.9;
}
.slideshow-nav:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}
.slideshow-nav:focus-visible {
  opacity: 1;
}

/* caption bar bottom of image */
.slideshow-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-surface-muted);
  color: var(--color-olive);
  font-size: var(--text-caption);
  padding: var(--space-xs) var(--space-md);
}

/* ---------- TEXT BOX ---------- */

.accomodations-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-rock);
  padding: var(--space-2xl);
}

.accomodations-text h2 {
  margin: 0 0 var(--space-sm);
  font-weight: 700;
  color: var(--primary-text);
}

.accomodations-text__body {
  color: var(--primary-text);
  line-height: var(--leading-body);
}

.accomodations-text__body p {
  margin: 0 0 var(--space-sm);
}

.accomodations-text__body ul {
  margin: 0;
  padding-left: var(--space-md);
}

.accomodations-text__body li {
  margin-bottom: var(--space-3xs);
}
/* -----------THEME -------------*/
@media (min-width: 768px) {
  .theme {
    margin-bottom: var(--space-4xl);
  }
  .accomodations-text{
      border: 3px solid var(--color-olive);
  }
}
.theme{
  margin-bottom: var(--space-lg);
}
.theme-width__full .accomodations-text{ 
  align-items: center;
}
@media (min-width: 768px) {
  .theme-width__full .accomodations-text{ 
    width: var(--content-width-max); 
  }
}
.theme--white-rock .accomodations-item::before {
  background-color: var(--color-white-rock);
}
.theme--baby-chick .accomodations-item::before {
  background-color: var(--color-chick);
}
.theme--baby-blue .accomodations-item::before {
  background-color: var(--color-baby-blue);
}
.theme--pastel-champagne .accomodations-item::before {
  background-color: var(--color-pastel-champagne);
}
.theme--storm .accomodations-item::before {
  background-color: var(--color-storm);
}
@media (min-width: 768px) {
  .theme--white-rock .accomodations-text {
    border-color: var(--color-olive);
    background-color: var(--color-white-rock);
  }
  .theme--baby-chick .accomodations-text {
    border-color: var(--color-kournikova);
    background-color: var(--color-chick);
  }
  .theme--baby-blue .accomodations-text {
    border-color: var(--color-calypso);
    background-color: var(--color-baby-blue);
  }
  .theme--pastel-champagne .accomodations-text {
    border-color: var(--color-armadillo);
    background-color: var(--color-pastel-champagne);
  }
  .theme--storm .accomodations-text {
    border-color: var(--color-dark-red);
    background-color: var(--color-storm);
  }
}
@media (max-width: 767px) {
  .accomodations-item{
    border: 3px solid;
    gap: unset;
  }
  .theme--white-rock  {
    border-color: var(--color-olive);
    background-color: var(--color-white-rock);
  }
  .theme--baby-chick {
    border-color: var(--color-kournikova);
    background-color: var(--color-chick);
  }
  .theme--baby-blue{
    border-color: var(--color-calypso);
    background-color: var(--color-baby-blue);
  }
  .theme--pastel-champagne  {
    border-color: var(--color-armadillo);
    background-color: var(--color-pastel-champagne);
  }
  .theme--storm  {
    border-color: var(--color-dark-red);
    background-color: var(--color-storm);
  }
  .slideshow-caption{
    display:none;
  }
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 767px) {
  .accomodations-item,
  .accomodations-item--reverse,
  .image__left {
    flex-direction: column;
  }
  .accomodations-item::before {
    display: none;
  }
  .accomodations-text {
    padding: var(--space-lg);
    order: 1;
  }
  /* slideshow moves below the text and shrinks so it doesn't dominate the block */
  .accomodations__image-wrapper {
    order: 2;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 0;
  }
  /* nav arrows rely on :hover, which mobile/touch can't trigger, so keep them shown */
  .slideshow-nav {
    opacity: 0.85;
  }
}

/* ----------------------------
   Wandering Page
---------------------------- */
.wander-page-hero .hero__content{
  max-width: var(--content-width-max);
  padding: var(--space-3xl) var(--space-2xl);
}
.wander-page-hero .hero__overlay{
   background: rgba(233, 241, 249, 0.1);
}
.wander-page-hero .hero{
  display:block;
}
.wander-page-hero .hero__eyebrow{
    color: var(--color-dark);
}

.accomodations .hero, .wander-page-hero .hero, .gather-page .hero{
  margin-bottom: var(--space-3xl);
}
.gather-page-hero .hero__overlay{
  background-color: rgba(92,92,77);
  max-width: var(--content-width-text);
  opacity:.5;
  border-radius: 5px;
  position: absolute;
  margin:0 auto;
  top: 20%;
  max-height:300px;
}
.gather-page-hero .hero__eyebrow{
  font-weight: 400;
  color:var(--color-ivory);
  text-shadow: none;
  max-height:300px;
}
.gather-page-hero .hero__heading{
  font-weight: 400;
  color:var(--color-ivory);
  text-shadow: none;
}
.gather-page-hero .hero__content{
    max-width: var(--content-width-text);
    backdrop-filter: blur(2px);
}
.gather-page .hero__content *{
  color: var(--color-storm)
}
/* ----------------------------
   Quote Form (legacy modal / inline radio-group support)
---------------------------- */

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

fieldset legend {
  font-weight: 600;
  padding: 0;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 400;
  margin-right: var(--space-md);
  width: auto;
}

fieldset label input[type="radio"],
fieldset label input[type="checkbox"] {
  width: 20px;
  margin: 0;
}

.modal__status {
  min-height: 1.5em;
  font-weight: 600;
}

.modal__status--success {
  color: var(--color-success);
}

fieldset .required {
  color: var(--color-danger);
}

/* ----------------------------
   Form Page Layout (Contact / Price Inquiry)
---------------------------- */
.form-page {
  padding: var(--section-spacing) var(--page-padding);
  display: grid;
  gap: var(--space-xl);
}
.form-page__background {
  display: grid;
  gap: var(--space-xl);
  background-color: var(--color-olive);
}
.form-page__intro {
  text-align: center;
  color: var(--color-ivory);
}
.form-page__intro h1 {
  margin-bottom: var(--space-md);
  color: inherit;
}
.form-page__intro .fa {
  font-size: 2em;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.form-page--split {
  display: grid;
  align-items: start;
  gap: var(--space-xl);
}
#contact-form-wrapper .form-input-addon {
  display: flex;
}
@media (min-width: 768px) {
  .form-page--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.form-card {
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

@media (min-width: 768px) {
  .form-card {
    padding: var(--space-xl);
  }
}

.form-card h2 {
  margin-bottom: var(--space-lg);
}

/* FAQ list */

.faq-list {
  margin-top: var(--section-spacing);
  text-align: center;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-sm) var(--space-md);
  margin: 0 auto var(--space-sm);
  background: var(--color-ivory);
  max-width: var(--content-width-text);
  text-align: left;
}

.faq-item ul {
  list-style: disc;
  margin-left: var(--space-lg);
}


.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.faq-item p {
  margin: var(--space-sm) 0 0;
}

/* ----------------------------
   Grav Form Plugin — field styling
---------------------------- */
.form-wrapper .form-field {
  margin-bottom: var(--space-lg);
}

.form-wrapper .form-label {
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.form-wrapper .form-label .required {
  color: var(--color-danger);
  margin-left: 2px;
}

.form-wrapper .form-description,
.form-wrapper .form-data .tooltip {
  display: block;
  font-size: var(--text-caption);
  color: var(--color-olive);
  margin-top: var(--space-xs);
}

.form-wrapper input,
.form-wrapper select,
.form-wrapper textarea {
  margin-bottom: 0;
}

.form-wrapper fieldset.form-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  margin: 0 0 var(--space-xl);
  background: var(--color-surface-muted);
}

.form-wrapper fieldset.form-section:last-of-type {
  margin-bottom: var(--space-lg);
}

.form-wrapper fieldset.form-section > legend {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 700;
  padding: 0 var(--space-xs);
}

.form-wrapper fieldset.form-section .form-field:last-child {
  margin-bottom: 0;
}

/* Radio / checkbox option lists */
.form-wrapper .radio,
.form-wrapper .checkboxes label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  font-weight: 400;
}

.form-wrapper .checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
}

.form-wrapper .radio input[type="radio"],
.form-wrapper .checkboxes input[type="checkbox"],
.form-wrapper input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--color-accent);
}

.form-wrapper .radio label,
.form-wrapper .checkboxes label {
  margin: 0;
  cursor: pointer;
}

/* Single "checkbox" field type (e.g. vending opt-in) */
[data-grav-field="checkbox"] .form-input-wrapper {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

[data-grav-field="checkbox"] input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--color-accent);
}

/* Basic Captcha */
.form-wrapper .basic-captcha {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
}

.form-wrapper .basic-captcha img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.form-wrapper .reload-captcha-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-ivory);
  cursor: pointer;
  transition: var(--transition-hover);
}

.form-wrapper .reload-captcha-button:hover {
  background: var(--color-surface-muted);
}

.form-wrapper .reload-captcha-button svg {
  width: 20px;
  height: 20px;
}

/* Buttons */
.form-wrapper .buttons {
  margin-top: var(--space-lg);
}

.form-wrapper .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: var(--space-sm) var(--space-xl);
  border: 2px solid var(--color-dark);
  border-radius: var(--radius);
  background: var(--color-dark);
  color: var(--color-ivory);
  font-weight: 700;
  font-size: var(--text-button);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
}

.form-wrapper .button:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.form-wrapper .button:active {
  transform: translateY(1px);
}

@media (min-width: 768px) {
  .form-wrapper .button {
    width: auto;
  }
}

/* Field-level validation errors */
.form-wrapper .form-errors {
  margin-top: var(--space-xs);
}

.form-wrapper .form-errors .form-message {
  color: var(--color-danger);
  font-size: var(--text-caption);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.form-wrapper .has-errors input,
.form-wrapper .has-errors select,
.form-wrapper .has-errors textarea {
  border-color: var(--color-danger);
}

/* Confirmation / success notices */
.notices {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

.notices p {
  margin: 0;
}

.notices.green,
.notices.success {
  background: #E7F4EA;
  color: var(--color-success);
  border: 1px solid #B7DDC0;
}

.notices.red,
.notices.error {
  background: #FBEAE9;
  color: var(--color-danger);
  border: 1px solid #F0C6C3;
}

.notices.yellow,
.notices.warning {
  background: #FFF6E0;
  color: #7A5A1E;
  border: 1px solid #F0DDA3;
}

/* ----------------------------
   Confirmation Page
---------------------------- */
.confirmation-page {
  display: flex;
  justify-content: center;
  padding: var(--section-spacing) var(--page-padding);
  min-height: 50vh;
}

.confirmation-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-md);
}

.confirmation-card__icon {
  color: var(--color-success);
  margin-bottom: var(--space-md);
}

.confirmation-card__message {
  font-size: var(--text-body-lg);
  max-width: none;
}

.confirmation-card__cta {
  margin-top: var(--space-lg);
}
