/*
 * Prototype-only styles: states the live site toggles with React
 * (menu, accordions, read-more) plus the lightbox and toast.
 * site.css and components.css are copied from the live site unchanged.
 */

/* mobile menu */
.menu-nav.is-open {
  transform: translateX(0);
}
.proto-no-scroll,
.proto-no-scroll body {
  overflow: hidden;
}

/* chevrons flip when open (the live site swaps the svg instead) */
.accordion-item__icon svg,
.tour-description .read-more svg {
  transition: transform 0.2s ease;
}
.accordion-item--opened .accordion-item__icon svg,
.tour-description .read-more.is-expanded svg {
  transform: rotate(180deg);
}

/* photo lightbox (modelled on the fslightbox used on the live site) */
.proto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(30, 30, 30, 0.9);
  color: #ddd;
  font-family: var(--font-inter-regular), sans-serif;
  animation: proto-fade 0.25s ease;
}
.proto-lightbox.is-open {
  display: flex;
}
.proto-lightbox__toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 12px;
  z-index: 2;
}
.proto-lightbox__counter {
  font-size: 14px;
}
.proto-lightbox__actions {
  display: flex;
  background: rgba(35, 35, 35, 0.65);
}
.proto-lightbox button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  color: #ddd;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.proto-lightbox button:hover {
  color: #fff;
}
.proto-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(35, 35, 35, 0.65) !important;
}
.proto-lightbox__nav--prev {
  left: 0;
}
.proto-lightbox__nav--next {
  right: 0;
}
.proto-lightbox__stage {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 60px;
}
.proto-lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}
@media (max-width: 767px) {
  .proto-lightbox__stage {
    padding: 45px 0;
  }
}

/* toast for things that aren't wired up in the prototype */
.proto-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000001;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 8px;
  background: #181818;
  color: #fff;
  font-family: var(--font-inter-medium), sans-serif;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.proto-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes proto-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
