:root {
  --stone: #F3F1ED;
  --stone-deep: #E7E4DC;
  --ink: #1E2A24;
  --teal: #234B54;
  --teal-deep: #16333A;
  --terracotta: #B5652E;
  --olive: #7C8B4E;
  --line: #DAD6CC;
  --white: #FEFEFD;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--stone);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--teal-deep);
}

a { color: inherit; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ---- Intro trademark: black count 0-100, keyhole preview reveal ---- */
.intro-overlay {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
}
.intro-count {
  position: fixed; left: 32px; bottom: 32px; z-index: 1000;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  color: var(--white);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0.02em;
}
.intro-mask {
  position: fixed; inset: 0; z-index: 998;
  background: #000;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 3vmax, black 3vmax);
  mask-image: radial-gradient(circle at 50% 50%, transparent 3vmax, black 3vmax);
}
.intro-overlay.hide { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video.hidden { display: none; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22,51,58,0.05) 0%, rgba(22,51,58,0.55) 85%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 32px 64px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}
.hero h1 { font-size: clamp(38px, 6vw, 68px); color: var(--white); line-height: 1.02; }
.hero-tagline { font-size: 19px; max-width: 540px; margin-top: 18px; opacity: 0.92; font-weight: 300; }
.hero-stats {
  display: flex; gap: 28px; margin-top: 36px; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase; flex-wrap: wrap;
}
.hero-stats span strong { display: block; font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; text-transform: none; letter-spacing: normal; }

/* ---- Horizon rule (signature divider) ---- */
.horizon {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta) 20%, var(--terracotta) 80%, transparent);
  opacity: 0.55;
  margin: 0;
}

section { padding: 88px 0; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 16px; font-weight: 600;
}

/* ---- Intro / description ---- */
.intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.intro-grid h2 { font-size: 34px; margin-bottom: 22px; }
.intro-grid p { color: #3C443D; font-size: 16.5px; }
.features-list { display: flex; flex-direction: column; gap: 16px; }
.feature-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 14px 12px 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: 3px;
  font-size: 14.5px;
}
.feature-row-left { display: flex; align-items: center; gap: 14px; }
.feature-icon { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--olive); }
.feature-plus {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 15px; color: #8A9484;
  text-decoration: none; background: transparent;
}
.feature-plus:hover { border-color: var(--olive); color: var(--olive); }

/* ---- Floor plan ---- */
.floor-plan-wrap { margin-top: 44px; text-align: center; }
.floor-plan-wrap img { max-width: 100%; border: 1px solid var(--line); }
.floor-plan-caption { font-size: 13px; color: #6B7563; margin-top: 10px; letter-spacing: 0.02em; }

/* ---- Claudakis image slots ---- */
.gtk-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.gtk-ai-blurb { font-size: 15px; color: #C8D2CB; margin-top: 18px; max-width: 480px; line-height: 1.6; }
.gtk-ai-blurb strong { color: var(--white); }
.gtk-images { display: flex; gap: 20px; flex-shrink: 0; }
.phone-frame {
  width: 148px; padding: 8px; background: #0A0F0D;
  border-radius: 26px; box-shadow: 0 0 0 1.5px rgba(255,255,255,0.15);
}
.phone-frame .phone-notch {
  width: 44px; height: 14px; background: #0A0F0D; border-radius: 8px;
  margin: 0 auto 6px; position: relative; z-index: 2;
}
.phone-frame .phone-screen { overflow: hidden; border-radius: 18px; margin-top: -20px; cursor: pointer; }
.phone-frame .phone-screen img { width: 100%; height: 220px; object-fit: cover; display: block; }
.phone-caption { font-size: 11px; color: #9FB0A8; margin-top: 8px; text-align: center; letter-spacing: 0.03em; }
@media (max-width: 780px) { .gtk-images { width: 100%; justify-content: center; } }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10,15,13,0.94);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: fixed; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 26px; line-height: 1;
  cursor: pointer; z-index: 1201;
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* ---- Rooms: one card per space, with its photo; click opens that space's photos ---- */
.rooms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .rooms-grid { grid-template-columns: 1fr; } }
.room-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; padding: 0; text-align: left; font: inherit; color: inherit;
  transition: box-shadow .2s, transform .2s;
}
button.room-card { cursor: pointer; }
button.room-card:hover { box-shadow: 0 14px 34px rgba(30,42,36,0.12); transform: translateY(-2px); }
button.room-card:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.room-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-deep); }
.room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
button.room-card:hover .room-photo img { transform: scale(1.05); }
.room-count {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(16,24,20,0.72); color: var(--white);
  font-size: 12px; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.02em;
}
.room-body { padding: 18px 20px 20px; }
.room-card h3 { font-size: 19px; margin-bottom: 8px; }
.room-card p { font-size: 14px; color: #56604F; margin-bottom: 2px; }

/* Lightbox arrows + caption (used when a space has several photos) */
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); font-size: 28px; line-height: 1; cursor: pointer; z-index: 1201;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-caption {
  position: fixed; left: 0; right: 0; bottom: 22px; text-align: center;
  color: rgba(255,255,255,0.85); font-size: 14px; letter-spacing: 0.03em; z-index: 1201;
}
.lightbox:not(.has-many) .lightbox-nav { display: none; }
@media (max-width: 600px) { .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } .lightbox-nav { width: 42px; height: 42px; } }

/* ---- Amenities ---- */
.amenity-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.amenity-cols h4 { text-transform: uppercase; font-size: 13px; letter-spacing: 0.08em; color: var(--teal); margin-bottom: 16px; font-family: 'Inter', sans-serif; font-weight: 600; }
.amenity-cols ul { list-style: none; }
.amenity-cols li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 130px; gap: 8px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.gallery-grid a:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-grid a:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.gallery-grid a:nth-child(n+3) { grid-column: span 2; }

/* ---- Good to know ---- */
.good-to-know { background: var(--teal-deep); color: var(--white); }
.good-to-know .eyebrow { color: #E8C99B; }
.good-to-know h2 { color: var(--white); }
.gtk-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.gtk-item { display: flex; gap: 14px; font-size: 15px; color: #DCE4DF; }
.gtk-item::before { content: "—"; color: var(--terracotta); flex-shrink: 0; }

/* ---- Calendar ---- */
.calendar-wrap { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; }
.cal-nav { background: none; border: 1px solid var(--line); width: 30px; height: 30px; cursor: pointer; font-family: 'Fraunces', serif; flex-shrink: 0; margin-top: 40px; }
.cal-3month-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; flex: 1; min-width: 0; }
.cal-month-label { font-family: 'Fraunces', serif; font-size: 15px; text-align: center; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font-size: 9px; text-transform: uppercase; letter-spacing: 0.04em; color: #7C8878; text-align: center; padding-bottom: 3px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 10.5px; border-radius: 2px; background: var(--white); border: 1px solid var(--line); }
.cal-day.blocked { background: #F4C9C3; color: #9C4A3E; }
.cal-day.empty { visibility: hidden; }
@media (max-width: 780px) {
  .cal-3month-row { grid-template-columns: 1fr; }
}
.cal-legend { display: flex; gap: 20px; margin-top: 18px; font-size: 13px; color: #56604F; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* ---- Inquiry ---- */
.inquiry { background: var(--stone-deep); }
.inquiry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.inquiry-note { font-size: 13.5px; color: #6B7563; margin-top: 18px; }
form.inquiry-form { display: flex; flex-direction: column; gap: 14px; }
.inquiry-form input, .inquiry-form textarea {
  padding: 13px 14px; border: 1px solid var(--line); background: var(--white);
  font-family: 'Inter', sans-serif; font-size: 15px; border-radius: 2px;
}
.inquiry-form label { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; color: #6B7563; margin-bottom: 4px; display: block; }
.inquiry-form button {
  margin-top: 8px; padding: 15px; background: var(--teal-deep); color: var(--white);
  border: none; font-size: 15px; letter-spacing: 0.02em; cursor: pointer; border-radius: 2px;
}
.inquiry-form button:hover { background: var(--teal); }
.inquiry-form button:disabled { opacity: 0.6; cursor: wait; }
.inquiry-status { font-size: 14px; min-height: 20px; margin: 0; }
.inquiry-status.ok { color: #3E6B3A; }
.inquiry-status.error { color: #A33A2A; }

footer { padding: 40px 0; text-align: center; font-size: 13px; color: #8A9484; }
.footer-credit { margin-top: 10px; font-size: 12px; letter-spacing: 0.04em; color: #8A9484; }
.footer-credit a { color: var(--teal); text-decoration: none; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.footer-credit a:hover { color: var(--terracotta); border-bottom-color: currentColor; }
.footer-dot { margin: 0 6px; }

/* English date picker for the inquiry form (the browser's own date field follows the
   visitor's computer language, e.g. Greek, so it is replaced by flatpickr). */
.flatpickr-calendar { font-family: 'Inter', sans-serif; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--teal); border-color: var(--teal); }
.flatpickr-day.flatpickr-disabled { text-decoration: line-through; }

@media (max-width: 780px) {
  .intro-grid, .amenity-cols, .inquiry-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid a:nth-child(1), .gallery-grid a:nth-child(2) { grid-column: span 2; }
}

/* Inputs never force the page wider than the screen (the check-in / check-out
   pair used to push phones to ~500px wide). No visible change on desktop. */
.inquiry-grid > * { min-width: 0; }
.inquiry-form input, .inquiry-form textarea { min-width: 0; max-width: 100%; }
.inquiry-form div[style*="flex"] > div { min-width: 0; }

.ring-controls { display: none; }
.swipe-hint { display: none; font-size: 12.5px; color: #7C8878; letter-spacing: 0.04em; margin: -18px 0 14px; }

/* ---- Phones only: tighter spacing, swipeable rooms and gallery ---- */
@media (max-width: 640px) {
  body { overflow-x: clip; }
  section { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  .intro-grid h2, .gtk-flex h2, #calendar-section h2, .inquiry h2 { font-size: 28px; }
  .intro-grid p { font-size: 15.5px; }
  .features-list { gap: 10px; }
  .amenity-cols { gap: 20px; }
  .amenity-cols li { padding: 7px 0; font-size: 14.5px; }

  /* Rooms: one swipeable row instead of 12 stacked cards */
  .rooms-grid {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 4px 20px 14px; scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .rooms-grid::-webkit-scrollbar { display: none; }
  .room-card { flex: 0 0 78%; scroll-snap-align: start; }
  .room-body { padding: 14px 16px 16px; }
  .room-card h3 { font-size: 17px; margin-bottom: 4px; }

  /* Gallery: one swipeable row of photos */
  .gallery-grid {
    display: flex; gap: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 0 20px 10px; scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid a { flex: 0 0 84%; height: 250px; scroll-snap-align: start; }

  .swipe-hint { display: block; }

  /* 3D ring carousel (script adds .ring on phones). The cards are placed and
     turned by script; here only the stage and the look. */
  .rooms-grid.ring, .gallery-grid.ring {
    display: block; position: relative;
    margin: 0 -20px; padding: 0;
    overflow: hidden; overflow: clip; scroll-snap-type: none;
    touch-action: pan-y; user-select: none; -webkit-user-select: none;
    outline: none;
  }
  .ring > * {
    position: absolute; top: 12px; left: 50%;
    flex: none; height: auto;
    border-radius: 14px; overflow: hidden;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease, opacity 0.9s ease, box-shadow 0.9s ease;
    box-shadow: 0 12px 30px -16px rgba(30, 42, 36, 0.35);
    -webkit-tap-highlight-color: transparent;
  }
  .ring > .ring-front { box-shadow: 0 26px 50px -18px rgba(30, 42, 36, 0.45); }
  .ring > :not(.ring-front) .room-count,
  .ring > :not(.ring-front) .room-body p { opacity: 0; transition: opacity 0.6s; }
  .gallery-grid.ring > a { height: auto; display: block; }
  .gallery-grid.ring > a img { height: auto; aspect-ratio: 4 / 3; border-radius: 0; display: block; }
  .ring img { pointer-events: none; -webkit-user-drag: none; }

  .ring-controls.on { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
  .ring-count { font-family: 'Fraunces', serif; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
  .ring-count span { color: #8A9484; }
  .ring-track { position: relative; flex: 1; height: 1px; background: var(--line); }
  .ring-progress { position: absolute; left: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: var(--teal); transition: width 0.7s; }
  .ring-btn {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    border: 1px solid var(--line); background: var(--white); color: var(--teal-deep);
    font-size: 24px; line-height: 1; cursor: pointer;
  }

  /* Form fields as wide as the Send button */
  .inquiry-form input:not([type="hidden"]):not(#f-honey), .inquiry-form textarea { width: 100%; }
}
