@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap");

:root {
  --gold: #c7a35f;
  --forest: #173328;
  --cream: #f8f4ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  background: #0f1d17;
  font-family: "Montserrat", Arial, sans-serif;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.tour {
  --move-x: 0px;
  --move-y: 0px;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #11241b;
}

.scene,
.scene-backdrop,
.scene-image,
.tour-shade,
.grain {
  position: absolute;
  inset: 0;
}

.scene {
  z-index: -4;
  animation: scene-reveal 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.scene-backdrop,
.scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.scene-backdrop {
  transform: scale(1.09) translate(var(--move-x), var(--move-y));
  filter: blur(24px) saturate(0.75) brightness(0.58);
}

.scene-image {
  transform: scale(1.035) translate(var(--move-x), var(--move-y));
  filter: saturate(0.92) contrast(1.04);
}

.tour-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 14, 10, 0.7) 0%, rgba(5, 13, 9, 0.18) 42%, rgba(5, 12, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 10, 7, 0.4) 0%, transparent 35%, rgba(3, 9, 6, 0.76) 100%);
}

.grain {
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.tour-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 70px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(5, 12, 8, 0.3), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.brand-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: #c7a35f;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ελαφρύ εφέ όταν περνάει το ποντίκι */
.brand:hover .brand-mark {
  color: #dfc382;
}

.brand-mark {
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06);
}

/* Μέγεθος στο κινητό */
@media (max-width: 700px) {
  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.brand-copy small {
  margin-top: 6px;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.25em;
}

.fullscreen-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: color 180ms ease;
}

.fullscreen-button:hover {
  color: #fff;
}

.fullscreen-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
}

.fullscreen-icon::after {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
}

.tour-intro {
  position: absolute;
  z-index: 3;
  top: 21%;
  left: clamp(25px, 5vw, 86px);
  pointer-events: none;
}

.tour-intro p,
.scene-copy > p {
  margin: 0;
  color: var(--gold);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.31em;
}

.tour-intro h1 {
  margin: 16px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(43px, 4.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.25);
}

.intro-line {
  display: block;
  width: 55px;
  height: 1px;
  margin-top: 27px;
  background: var(--gold);
}

.hotspots {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  transform: translate(var(--move-x), var(--move-y));
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.hotspot {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.hotspot-core {
  position: absolute;
  z-index: 2;
  inset: 7px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  color: var(--forest);
  background: rgba(255, 253, 248, 0.94);
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.hotspot-pulse {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: hotspot-pulse 2.1s ease-out infinite;
}

.hotspot:hover .hotspot-core,
.hotspot.is-selected .hotspot-core {
  color: #fff;
  background: var(--forest);
  transform: scale(1.08);
}

.hotspot-label {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  display: flex;
  min-width: 190px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 25, 18, 0.82);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  text-align: left;
  opacity: 0;
  transform: translate(8px, -50%);
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.hotspot-label small {
  color: var(--gold);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.hotspot:hover .hotspot-label,
.hotspot:focus-visible .hotspot-label,
.hotspot.is-selected .hotspot-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.hotspot.label-left .hotspot-label {
  right: calc(100% + 8px);
  left: auto;
  transform: translate(-8px, -50%);
}

.hotspot.label-left:hover .hotspot-label,
.hotspot.label-left:focus-visible .hotspot-label,
.hotspot.label-left.is-selected .hotspot-label {
  transform: translate(0, -50%);
}

.scene-copy {
  position: absolute;
  z-index: 4;
  bottom: clamp(50px, 7vh, 74px);
  left: clamp(25px, 5vw, 86px);
  max-width: 420px;
}

.scene-copy h2 {
  margin: 9px 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.scene-copy > span {
  display: block;
  max-width: 390px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  line-height: 1.45;
}

.single-scene-mark {
  position: absolute;
  z-index: 4;
  right: clamp(25px, 5vw, 86px);
  bottom: clamp(50px, 7vh, 74px);
  display: flex;
  min-width: 160px;
  align-items: center;
  gap: 12px;
}

.single-scene-mark strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 500;
}

.single-scene-mark span {
  width: 65px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.single-scene-mark small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
}

.drag-hint {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: clamp(18px, 2.6vw, 45px);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 7px;
  letter-spacing: 0.2em;
  pointer-events: none;
  transform: translateY(-50%) rotate(90deg) translateX(50%);
  transform-origin: right center;
}

.drag-hint span {
  font-size: 16px;
  letter-spacing: 0;
}

@keyframes scene-reveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes hotspot-pulse {
  0% { opacity: 0.85; transform: scale(0.72); }
  75%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 700px) {
  .tour-header {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand-mark { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 6px; }
  .fullscreen-button > span:last-child { display: none; }

  .tour-intro {
    top: 16%;
    left: 18px;
  }

  .tour-intro h1 {
    margin-top: 11px;
    font-size: clamp(36px, 11vw, 48px);
  }

  .intro-line { margin-top: 18px; }
  .hotspot-label { display: none; }

  .scene-copy {
    right: 18px;
    bottom: 36px;
    left: 18px;
  }

  .scene-copy > span {
    max-width: 310px;
    font-size: 13px;
  }

  .single-scene-mark,
  .drag-hint { display: none; }
}

@media (max-height: 690px) and (min-width: 701px) {
  .tour-intro { top: 18%; }
  .scene-copy { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================
   TOUR NAVIGATION
========================= */

.tour-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 42px);
  transform: translateX(-50%);
}

.tour-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: color 180ms ease;
}

.tour-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.tour-nav a:hover {
  color: #fff;
}

.tour-nav a:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .tour-nav {
    display: none;
  }
}