:root {
  --sand: #d4c2a8;
  --chalk: #f7f2e8;
  --ink: #3a332a;
  --sea: #717664;
  --sun: #a7804c;
  --panel: rgba(248, 241, 230, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

p {
  font-size:20px;
  font-family: "Barlow Condensed", sans-serif;  
}

a {
  color: #000;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  height: 124px;
  min-height: 124px;
  z-index: 20;
  background: rgba(247, 242, 233, 0.84);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(58, 51, 42, 0.12);
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  transform: none;
  padding: 6px 0 4px;
  height: 72px;
  z-index: 2;
}

.brand-logo img {
  height: 80px;
  width: auto;
  max-height: 68px;
  display: block;
}

[id] {
  scroll-margin-top: 140px;
}

.menu-toggle {
  display: none;
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  align-items: center;
  column-gap: 0.95rem;
  width: min(980px, 96%);
  justify-content: center;
  padding-bottom: 0.35rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(58, 49, 40, 0.52), rgba(58, 49, 40, 0.18));
}

.hero-content {
  position: relative;
  color: #fff;
  padding: 7.2rem 1.25rem 2rem;
  max-width: 850px;
  text-align: center;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

h1,
h2,
h3 {
  /* font-family: "Poppins", sans-serif; */
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

h2 {
  font-family: "Barlow Condensed", sans-serif;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 5.5vw, 3.3rem);
}

h3 {
  font-size: 1.85rem;
  font-weight: 400;
}

.btn {
  display: inline-block;
  margin-top: 0.45rem;
  text-decoration: none;
  color: #111;
  background: transparent;
  border: 1px solid #111;
  padding: 0.75rem 1.15rem;
  border-radius: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.section {
  width: min(1120px, 92%);
  margin: 5rem auto;
}

.story {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 2fr;
  align-items: center;
}

.story-copy {
  position: sticky;
  top: 140px;
  align-self: start;
}

.story-media img {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 10px 28px rgba(44, 36, 27, 0.12);
}

.story-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "top top"
    "left right";
  gap: 0.8rem;
}

.story-media-pair .story-top {
  grid-area: top;
}

.section-head {
  margin-bottom: 1.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stay-link {
  text-decoration: none;
  color: inherit;
}

.stay-card {
  border-radius: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(58, 51, 42, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.stay-link:hover .stay-card,
.stay-link:focus-visible .stay-card {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(44, 36, 27, 0.12);
}

.stay-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.stay-card-body {
  padding: 0.95rem;
}

.stay-card-body p {
  margin: 0;
  color: #5b5247;
}

.amenities {
  background: linear-gradient(135deg, rgba(113, 118, 100, 0.18), rgba(167, 128, 76, 0.16));
  border-radius: 0;
  padding: 2rem 1.25rem;
}

.amenity-list {
  display: grid;
  gap: 0.5rem;
}

.amenity-list p {
  margin: 0;
  padding: 0.75rem;
  background: rgba(250, 245, 237, 0.84);
  border-radius: 0;
}

.gallery-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 2fr 1fr;
}

.gallery-grid img {
  width: 100%;
  border-radius: 0;
  height: 360px;
  object-fit: cover;
}

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.location-map-section {
  width: 100%;
  margin: 4rem 0 0;
}

.location-map-split {
  display: grid;
  grid-template-columns: minmax(240px, 25%) 1fr;
  min-height: 560px;
  background: #f0ece7;
}

.location-map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.2rem;
}

.location-map-info h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 3.2rem;
}

.location-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.location-value {
  margin: 0 0 2rem;
  font-size: 2rem;
  line-height: 1.1;
}

.location-address {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  filter: grayscale(100%) contrast(0.95) brightness(1.03);
  pointer-events: auto;
}

.location-map-frame {
  position: relative;
}

.map-center-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.site-footer {
  /* margin-top: 5rem; */
  padding: 2rem 4%;
  display: flex;
  /* gap: 2rem; */
  align-items: flex-start;
  justify-content: space-between;
  /* background: #4a4035; */
  background: rgba(247, 242, 233, 0.84);
  /* color: #efe5d6; */
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 280px;
}

.footer-brand img {
  width: 250px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 0px;
}

.site-footer a {
  color: #e0c39a;
}

.footer-legal {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  opacity: 0.92;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal a {
  color: #e0c39a;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(58, 51, 42, 0.25);
  background: rgba(255, 255, 255, 0.96);
  z-index: 2000;
}

.cookie-consent.open {
  display: flex;
}

.cookie-consent p {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-consent a {
  color: #111;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.45rem;
}

.cookie-actions button {
  border: 1px solid #111;
  background: transparent;
  color: #111;
  padding: 0.35rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

.year {
  opacity: 0.8;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.room-page .room-hero {
  margin-top: 6.1rem;
  min-height: 58svh;
}

.room-page .room-hero .hero-content {
  max-width: 760px;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.chip {
  border: 1px solid rgba(58, 51, 42, 0.16);
  border-radius: 0;
  padding: 0.3rem 0.7rem;
  background: rgba(248, 242, 232, 0.86);
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
}

.room-layout {
  width: min(1100px, 92%);
  margin: 2.5rem auto 5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr;
}

.room-layout .panel {
  background: rgba(248, 242, 233, 0.88);
  border: 1px solid rgba(58, 51, 42, 0.12);
  border-radius: 0;
  padding: 1rem;
}

.deck-page .panel {
  background: rgba(248, 242, 233, 0.9);
  border: 1px solid rgba(58, 51, 42, 0.12);
  border-radius: 0;
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.deck-page h1 {
  margin-bottom: 0.4rem;
}

.deck-intro {
  max-width: 780px;
}

.deck-text h2 {
  margin-top: 1.1rem;
  margin-bottom: 0.2rem;
  font-size: 1.6rem;
}

.sikinos-page {
  margin-top: 6.3rem;
}

.booking-wrap {
  margin-top: 8rem;
  max-width: 760px;
}

.booking-container {
  width: min(760px, 92%);
  margin: 0 auto;
}

.booking-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid rgba(58, 51, 42, 0.14);
  padding: 1rem;
}

.booking-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.booking-alert {
  margin: 0.8rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(58, 51, 42, 0.3);
}

.booking-alert-success {
  background: rgba(230, 245, 232, 0.85);
  border-color: rgba(34, 95, 43, 0.4);
}

.booking-alert-error {
  background: rgba(250, 231, 231, 0.9);
  border-color: rgba(150, 45, 45, 0.45);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(58, 51, 42, 0.22);
  background: transparent;
  padding: 0.6rem 0.65rem;
  font: inherit;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.sikinos-hero {
  min-height: 78svh;
  position: relative;
  overflow: hidden;
}

.sikinos-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sikinos-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: #fff;
  padding: 8rem 6% 3rem;
}

.sikinos-flow {
  margin-top: 3rem;
}

.flow-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.flow-block.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.flow-block img {
  width: 100%;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.flow-block p {
  margin: 0 0 0.8rem;
}

.inline-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.8rem 0 1.4rem;
}

.inline-gallery img {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.room-layout ul {
  margin: 0;
  padding-left: 1rem;
}

.room-gallery {
  column-count: 3;
  column-gap: 0.75rem;
}

.room-gallery img {
  width: 100%;
  height: auto;
  margin: 0 0 0.75rem;
  break-inside: avoid;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(34, 28, 22, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1px solid rgba(255, 241, 224, 0.45);
  background: rgba(58, 50, 41, 0.58);
  color: #fff8ed;
  cursor: pointer;
  font: inherit;
  padding: 0.35rem 0.65rem;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  font-size: 1.45rem;
  line-height: 1;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
}

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

  .story,
  .location,
  .room-layout {
    grid-template-columns: 1fr;
  }

  .story-copy {
    position: static;
  }

  .story-media-pair {
    grid-template-columns: 1fr;
  }

  .location-map-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .location-map-frame iframe {
    min-height: 420px;
  }

  .flow-block,
  .flow-block.reverse,
  .inline-gallery {
    grid-template-columns: 1fr;
  }

  .room-gallery {
    column-count: 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 78px;
    min-height: 78px;
    flex-direction: row;
    justify-content: center;
  }

  .brand-logo {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    padding: 5px 0;
    height: 100%;
  }

  .brand-logo img {
    max-height: 68px;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    border: 1px solid rgba(58, 51, 42, 0.22);
    background: #f6efe3;
    border-radius: 0;
    padding: 0.3rem 0.62rem;
    font-size: 1.05rem;
    line-height: 1;
    z-index: 3;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0.6rem;
    display: none;
    flex-direction: column;
    background: #f6efe3;
    border-radius: 0;
    padding: 0.6rem;
    border: 1px solid rgba(58, 51, 42, 0.16);
    width: 12rem;
    grid-template-columns: 1fr;
  }

  .site-nav.open {
    display: flex;
  }

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

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

  .room-gallery {
    column-count: 1;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-image {
    max-width: 94vw;
    max-height: 80vh;
  }
}

.residences-page .room-hero {
  margin-top: 6.1rem;
  min-height: 72svh;
}

.residences-wrap {
  margin-top: 8.2rem;
  padding-bottom: 2rem;
}

.residences-intro {
  margin-top: 3rem;
  margin-bottom: 1.8rem;
  max-width: 900px;
}

.room-index {
  position: sticky;
  top: 124px;
  z-index: 9;
  width: min(1120px, 92%);
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.65rem;
  background: rgba(246, 238, 225, 0.95);
  border: 1px solid rgba(58, 51, 42, 0.14);
  backdrop-filter: blur(6px);
}

.room-index a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(58, 51, 42, 0.2);
  padding: 0.35rem 0.65rem;
  font-size: 0.88rem;
}

.room-entry {
  margin-top: 0;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.4rem;
  align-items: start;
}

.room-entry-copy {
  order: 2;
  position: sticky;
  top: 126px;
  padding: 1.2rem;
  /* background: rgba(248, 242, 233, 0.9); */
  /* border: 1px solid rgba(58, 51, 42, 0.13); */
}

.room-entry-copy h2 {
  margin-bottom: 0.6rem;
}

.room-entry-copy p {
  margin-top: 0;
}

.room-entry-copy ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
}

.room-entry .room-gallery {
  order: 1;
  display: block;
  column-count: unset;
  column-gap: 0;
  position: relative;
  padding: 0;
  overflow: hidden;
}

.room-entry .room-gallery img {
  width: 100%;
  margin: 0;
  display: block;
  height: 560px;
  object-fit: cover;
}

.room-entry .room-gallery.is-slider {
  border: 1px solid rgba(58, 51, 42, 0.15);
  background: rgba(248, 242, 233, 0.82);
}

.room-slider-viewport {
  width: 100%;
  height: clamp(460px, 62vh, 760px);
  overflow: hidden;
}

.room-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.room-slider-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.room-slider-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.room-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.room-entry .room-gallery.is-slider .room-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 244, 226, 0.85);
  background: rgba(54, 46, 37, 0.62);
  color: #fff8ed;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  z-index: 2;
}

.room-slider-prev {
  left: 0.6rem;
}

.room-slider-next {
  right: 0.6rem;
}

.room-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.room-slider-dot {
  width: 0.56rem;
  height: 0.56rem;
  border: 1px solid rgba(255, 245, 230, 0.95);
  background: rgba(54, 46, 37, 0.45);
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

.room-slider-dot.active {
  background: #fff8ed;
  border-color: #fff8ed;
}

.gallery-page-wrap {
  margin-top: 8.6rem;
}

.legal-page-wrap {
  margin-top: 8.2rem;
  max-width: 900px;
  color: #333;
  line-height: 1.7;
}

.legal-page-wrap h5 {
  margin-top: 2em;
  font-size: 1.05em;
}

.legal-page-wrap table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
  font-size: 0.9em;
}

.legal-page-wrap th,
.legal-page-wrap td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.legal-page-wrap th {
  background: #f5f5f5;
}

.all-gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: start;
}

.all-gallery-grid .masonry-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.all-gallery-grid .gallery-item {
  position: relative;
  margin: 0;
  min-height: 130px;
  overflow: hidden;
}

.all-gallery-grid .gallery-photo {
  width: 100%;
  display: block;
  margin: 0;
  height: auto;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 420ms ease, filter 520ms ease;
}

.all-gallery-grid .gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(225, 225, 225, 0.9) 20%,
    rgba(243, 243, 243, 0.95) 50%,
    rgba(225, 225, 225, 0.9) 80%
  );
  background-size: 220% 100%;
  animation: galleryShimmer 1.05s linear infinite;
  transition: opacity 320ms ease;
}

.all-gallery-grid .gallery-item.is-loaded::before {
  opacity: 0;
  pointer-events: none;
}

.all-gallery-grid .gallery-item.is-loaded .gallery-photo {
  opacity: 1;
  filter: none;
}

@keyframes galleryShimmer {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

.gallery-sentinel {
  height: 1px;
}

@media (max-width: 900px) {
  .room-index {
    top: 70px;
  }

  .room-entry {
    grid-template-columns: 1fr;
  }

  .room-entry-copy {
    order: 1;
    position: static;
  }

  .room-entry .room-gallery {
    order: 2;
  }

  .room-entry .room-gallery img {
    height: 100%;
  }

  .room-slider-viewport {
    height: clamp(360px, 52vh, 560px);
  }

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

@media (max-width: 680px) {
  .room-index {
    top: 66px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .room-entry .room-gallery {
    overflow: hidden;
  }

  .room-entry .room-gallery img {
    height: 100%;
  }

  .room-slider-nav {
    width: 1.8rem;
    height: 1.8rem;
    font-size: 1.2rem;
  }

  .room-slider-viewport {
    height: 300px;
  }

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