/* Zakros Hotels — Mediterranean boutique theme (fonts: css/fonts.css, scroll motion: css/motion.css) */

:root {
  --zk-navy: #0b1f2a;
  --zk-navy-soft: #143041;
  --zk-aegean: #1a5f7a;
  --zk-aegean-light: #2a7a9a;
  --zk-sand: #f3ebe0;
  --zk-sand-deep: #e5d8c6;
  --zk-cream: #faf7f2;
  --zk-gold: #c4a35a;
  --zk-gold-soft: #d4b87a;
  --zk-ink: #1a1a1a;
  --zk-muted: #5c6670;
  --zk-white: #ffffff;
  --zk-overlay: rgba(11, 31, 42, 0.45);
  /* Greek letters as on zakroshotels.gr: Georgia in headings (system font; Noto Serif
     Display where it is missing, e.g. Android), Open Sans in body text. */
  --zk-font-display: 'Cormorant Garamond', Georgia, 'Noto Serif Display', 'Times New Roman', serif;
  --zk-font-body: 'Source Sans 3', 'Open Sans', 'Segoe UI', sans-serif;
  --zk-header-h: 5.25rem;
  --zk-header-h-scrolled: 3.75rem;
  --zk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --zk-max: 72rem;
  --zk-gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .zk-reveal { opacity: 1 !important; transform: none !important; }
  .zk-hero__media { transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--zk-font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--zk-ink);
  background-color: var(--zk-cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 95, 122, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(196, 163, 90, 0.1), transparent 50%);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--zk-aegean); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--zk-navy); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--zk-gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--zk-font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--zk-navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin: 0 0 1em; }
.zk-lead { font-size: 1.2rem; color: var(--zk-muted); max-width: 38rem; }

.zk-wrap {
  width: min(100% - 2 * var(--zk-gutter), var(--zk-max));
  margin-inline: auto;
}

.zk-section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.zk-section--sand { background: var(--zk-sand); }
.zk-section--navy {
  background: linear-gradient(160deg, var(--zk-navy) 0%, var(--zk-navy-soft) 100%);
  color: var(--zk-white);
}
.zk-section--navy h2,
.zk-section--navy h3 { color: var(--zk-white); }
.zk-section--navy .zk-lead,
.zk-section--navy p { color: rgba(255,255,255,0.85); }

.zk-eyebrow {
  display: inline-block;
  font-family: var(--zk-font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zk-gold);
  margin-bottom: 0.75rem;
}

/* Buttons */
.zk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--zk-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--zk-ease), color 0.35s var(--zk-ease), border-color 0.35s var(--zk-ease), transform 0.35s var(--zk-ease);
}
.zk-btn:hover { transform: translateY(-1px); text-decoration: none; }
.zk-btn--gold {
  background: var(--zk-gold);
  color: var(--zk-navy);
  border-color: var(--zk-gold);
}
.zk-btn--gold:hover { background: var(--zk-gold-soft); color: var(--zk-navy); }
.zk-btn--ghost {
  background: transparent;
  color: var(--zk-white);
  border-color: rgba(255,255,255,0.55);
}
.zk-btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--zk-white); border-color: var(--zk-white); }
.zk-btn--outline {
  background: transparent;
  color: var(--zk-navy);
  border-color: var(--zk-navy);
}
.zk-btn--outline:hover { background: var(--zk-navy); color: var(--zk-white); }
.zk-btn-group { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }

/* Header */
.zk-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--zk-header-h);
  display: flex;
  align-items: center;
  transition: height 0.35s var(--zk-ease), background 0.35s var(--zk-ease), box-shadow 0.35s var(--zk-ease);
  background: transparent;
  color: var(--zk-white);
}
.zk-header.is-scrolled,
.zk-header.is-solid {
  height: var(--zk-header-h-scrolled);
  background: rgba(11, 31, 42, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.zk-header__inner {
  width: min(100% - 2 * var(--zk-gutter), var(--zk-max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.zk-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--zk-font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zk-white);
  text-decoration: none;
  white-space: nowrap;
}
.zk-logo__word span { color: var(--zk-gold); }
.zk-logo__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.45);
  transition: width 0.35s var(--zk-ease), height 0.35s var(--zk-ease);
}
.zk-header.is-scrolled .zk-logo__mark,
.zk-header.is-solid .zk-logo__mark { width: 2.25rem; height: 2.25rem; }
@media (max-width: 420px) {
  .zk-logo__word { display: none; }
}
.zk-logo:hover { color: var(--zk-white); text-decoration: none; }

/* Menu text is sized for easy reading (older guests too); it needs the full
   header width, so the logo shows only its mark until the screen is wide. */
.zk-nav {
  display: none;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 1200px) {
  .zk-nav { display: flex; }
  .zk-header__inner { width: min(100% - 2 * var(--zk-gutter), 90rem); }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .zk-logo__word { display: none; }
}
.zk-nav a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.zk-nav a:hover,
.zk-nav a.is-active {
  color: var(--zk-gold);
  border-bottom-color: var(--zk-gold);
  text-decoration: none;
}

.zk-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.zk-lang {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.zk-lang a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.4rem;
}
.zk-lang a.is-active,
.zk-lang a:hover { color: var(--zk-gold); text-decoration: none; }

.zk-book-btn {
  display: none;
  padding: 0.65rem 1.2rem;
  font-size: 0.82rem;
}
@media (min-width: 720px) {
  .zk-book-btn { display: inline-flex; }
}

.zk-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
@media (min-width: 1200px) {
  .zk-burger { display: none; }
}
.zk-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--zk-white);
  transition: transform 0.3s var(--zk-ease), opacity 0.3s;
}
.zk-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.zk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.zk-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.zk-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 31, 42, 0.97);
  padding: calc(var(--zk-header-h) + 1.5rem) var(--zk-gutter) 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--zk-ease);
  visibility: hidden;
}
.zk-mobile.is-open {
  transform: translateX(0);
  visibility: visible;
}
.zk-mobile nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.zk-mobile nav a {
  display: block;
  color: var(--zk-white);
  text-decoration: none;
  font-family: var(--zk-font-display);
  font-size: 1.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.zk-mobile .zk-lang { margin-top: 2rem; }
.zk-mobile .zk-btn { margin-top: 1.5rem; width: 100%; }

body.has-mobile-menu { overflow: hidden; }

/* Hero */
.zk-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--zk-white);
  overflow: hidden;
}
.zk-hero--short { min-height: 70vh; }
.zk-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}
.zk-hero__media img,
.zk-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.zk-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,31,42,0.35) 0%, rgba(11,31,42,0.55) 45%, rgba(11,31,42,0.85) 100%);
}
.zk-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--zk-gutter), var(--zk-max));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 10vw, 7rem);
}
.zk-hero__content h1,
.zk-hero__content .zk-hero-title {
  color: var(--zk-white);
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.zk-hero__content .zk-hero-title { font-size: clamp(3rem, 10vw, 6.5rem); letter-spacing: 0.08em; }
.zk-hero__content p {
  color: rgba(255,255,255,0.9);
  max-width: 32rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}
.zk-hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.zk-hero__scroll::after {
  content: '';
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.5);
  animation: zk-scroll-line 1.8s var(--zk-ease) infinite;
}
@keyframes zk-scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* Cards / hotels / rooms */
.zk-grid-3 {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .zk-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.zk-hotel-card,
.zk-room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  background: transparent;
  transition: transform 0.4s var(--zk-ease);
}
.zk-hotel-card:hover,
.zk-room-card:hover { transform: translateY(-4px); text-decoration: none; color: inherit; }
.zk-hotel-card__media,
.zk-room-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--zk-sand-deep);
}
.zk-room-card__media { aspect-ratio: 4 / 3; }
.zk-hotel-card__media img,
.zk-room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--zk-ease);
}
.zk-hotel-card:hover img,
.zk-room-card:hover img { transform: scale(1.05); }
.zk-hotel-card__body,
.zk-room-card__body { padding: 1.25rem 0 0; }
.zk-hotel-card__body h3,
.zk-room-card__body h3 {
  font-size: 1.65rem;
  margin-bottom: 0.35em;
}
.zk-hotel-card__body p,
.zk-room-card__body p {
  color: var(--zk-muted);
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}
.zk-room-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--zk-aegean);
  margin-bottom: 0.75rem;
}
.zk-link-more {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zk-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.zk-hotel-card:hover .zk-link-more,
.zk-room-card:hover .zk-link-more { border-bottom-color: var(--zk-gold); }

/* Split / intro */
.zk-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .zk-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .zk-split--reverse > :first-child { order: 2; }
}
.zk-split__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--zk-sand-deep);
}
.zk-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.zk-gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .zk-gallery { grid-template-columns: repeat(4, 1fr); }
}
.zk-gallery a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--zk-sand-deep);
}
.zk-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--zk-ease);
}
.zk-gallery a:hover img { transform: scale(1.06); }

/* Lightbox */
.zk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 31, 42, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.zk-lightbox.is-open { display: flex; }
.zk-lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
}
.zk-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--zk-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Map privacy */
.zk-map {
  background: var(--zk-sand);
  border: 1px solid var(--zk-sand-deep);
  min-height: 18rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.zk-map iframe {
  width: 100%;
  height: 22rem;
  border: 0;
  display: block;
}

/* Form */
.zk-form {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
}
.zk-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.zk-form input,
.zk-form textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--zk-sand-deep);
  background: var(--zk-white);
  color: var(--zk-ink);
  width: 100%;
}
.zk-form textarea { min-height: 8rem; resize: vertical; }
.zk-form button[type="submit"] {
  justify-self: start;
}

/* Contact block */
.zk-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.zk-contact-list strong {
  display: block;
  font-family: var(--zk-font-display);
  font-size: 1.25rem;
  color: var(--zk-navy);
  margin-bottom: 0.2rem;
}

/* Footer */
.zk-footer {
  background: var(--zk-navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}
.zk-footer h4 {
  color: var(--zk-gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--zk-font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}
.zk-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.zk-footer a:hover { color: var(--zk-gold); }
.zk-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 720px) {
  .zk-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
.zk-footer__brand {
  font-family: var(--zk-font-display);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zk-white);
  margin-bottom: 0.5rem;
}
.zk-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* Page chrome for non-hero pages */
.zk-page-pad { padding-top: var(--zk-header-h); }
.zk-prose { max-width: 42rem; }
.zk-prose > *:last-child { margin-bottom: 0; }

.zk-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.zk-amenities li {
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  background: var(--zk-sand);
  color: var(--zk-navy);
  letter-spacing: 0.04em;
}

/* Reveal on scroll — hidden only when JS motion is active (see base.html.twig) */
.zk-motion .zk-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--zk-ease), transform 0.8s var(--zk-ease);
}
.zk-motion .zk-reveal.is-in { opacity: 1; transform: none; }

.zk-statement {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.zk-statement h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-style: italic;
  font-weight: 500;
}

main { display: block; }
.zk-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--zk-gold);
  color: var(--zk-navy);
  padding: 0.5rem 1rem;
  z-index: 3000;
}
.zk-skip:focus { left: 0.5rem; top: 0.5rem; }
