@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* Rea Hotel — a simple, modern refresh (2026-09-23).
   Navy header and footer so the white logo sits as intended; bright white and sea-mist pages; the old
   site's turquoise as the single accent. Google Sans (with Greek) throughout. */
:root {
  --navy: #15263a;
  --navy-2: #1d3450;
  --sea: #10b8c7;          /* the old site's brand turquoise */
  --sea-d: #0b7682;        /* dark enough for text and buttons on white */
  --mist: #f1f7f8;
  --white: #ffffff;
  --ink: #15263a;
  --body: #3b4755;
  --muted: #5e6b78;
  --line: #dde7ea;
  --sans: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 14px;
  --header-h: 4.75rem;
  --wrap: min(1240px, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1.0625rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea-d); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.2rem; background: var(--white); color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.label { margin: 0 0 .6rem; font: 500 .82rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sea-d); }
.h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); line-height: 1.05; }
.h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); line-height: 1.1; }
.h3 { font-size: 1.3rem; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.55; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border: 2px solid var(--sea-d); border-radius: 999px; background: var(--sea-d); color: #fff; font: 500 1rem/1 var(--sans); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn .ico { width: 1.05rem; height: 1.05rem; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sea); border-color: var(--sea); color: var(--ink); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.8rem; min-height: var(--header-h); width: var(--wrap); margin-inline: auto; }
.brand img { width: 118px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .15rem; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem; border-radius: 999px; color: #dbe6ee; text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.nav a[aria-current="page"] { background: rgba(16, 184, 199, .18); color: #fff; }
.header-tools { display: flex; align-items: center; gap: .5rem; }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-weight: 500; }
.lang:hover { background: #fff; color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; margin: auto; background: #fff; transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-header.is-open .nav-toggle .bars { background: transparent; }
.site-header.is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero: the pool with REA in its tiles, text on a navy panel below the photo's centre */
.hero { position: relative; }
.hero-photo { margin: 0; height: min(78vh, 780px); min-height: 24rem; overflow: hidden; background: var(--mist); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-panel { position: relative; width: var(--wrap); margin: clamp(-11rem, -14vw, -6rem) auto 0; }
.hero-panel-in { width: min(38rem, 100%); padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r); background: var(--navy); color: #dbe6ee; box-shadow: 0 30px 60px -30px rgba(21, 38, 58, .6); }
.hero-panel .label { color: var(--sea); }
.hero-panel .h1 { color: #fff; margin-bottom: .9rem; }
.hero-panel .lede { color: #dbe6ee; margin-bottom: 1.5rem; }

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-mist { background: var(--mist); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }

.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.intro .prose p + p { margin-top: 1rem; }
.perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin: 1.8rem 0 0; padding: 0; }
.perks li { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: 12px; background: var(--mist); color: var(--ink); font-weight: 500; }
.perks .ico { color: var(--sea-d); }

.stays { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.stay { display: block; border-radius: var(--r); overflow: hidden; background: var(--white); color: inherit; text-decoration: none; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(21, 38, 58, .45); }
.stay figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.stay img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.stay:hover img { transform: scale(1.03); }
.stay-body { padding: 1.4rem 1.5rem 1.6rem; }
.stay-body small { display: block; margin-bottom: .3rem; color: var(--sea-d); font-weight: 500; }
.stay-body .h3 { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.stay-body .h3 .ico { color: var(--sea-d); transition: transform .2s var(--ease); }
.stay:hover .h3 .ico { transform: translateX(4px); }

.pool { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.pool-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
.pool-photos .tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.pool-photos .tile { aspect-ratio: 4 / 3; }
.pool-text { display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--r); background: var(--mist); }
.pool-text h3 { font-size: 1.15rem; margin-bottom: .3rem; }

.info { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; padding: .9rem 0; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--sea-d); transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 0 1.2rem; }
.dist { padding: 1.6rem; border-radius: var(--r); background: var(--navy); color: #dbe6ee; }
.dist h3 { color: #fff; font-size: 1.1rem; margin-bottom: .8rem; }
.dist dl { margin: 0; }
.dist div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dist div:last-child { border-bottom: 0; }
.dist dd { margin: 0; color: var(--sea); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }

.band { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--navy); color: #dbe6ee; text-align: center; }
.band .h2 { color: #fff; margin-bottom: .7rem; }
.band p { max-width: 34rem; margin: 0 auto 1.6rem; }
.band .row { justify-content: center; }

/* Inner pages */
.phead { position: relative; }
.phead-photo { margin: 0; height: clamp(15rem, 38vw, 26rem); overflow: hidden; background: var(--mist); }
.phead-photo img { width: 100%; height: 100%; object-fit: cover; }
.phead-card { position: relative; width: var(--wrap); margin: clamp(-6rem, -8vw, -3.5rem) auto 0; }
.phead-card-in { width: min(46rem, 100%); padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--r); background: var(--white); box-shadow: 0 24px 50px -30px rgba(21, 38, 58, .45); }
.phead .crumbs { margin-bottom: .9rem; }
.phead .h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); margin-bottom: .7rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: var(--muted); }

.lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.list-card { padding: 1.5rem; border-radius: var(--r); background: var(--mist); }
.list-card h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.list-card ul { list-style: none; margin: 0; padding: 0; }
.list-card li { display: flex; align-items: flex-start; gap: .55rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.list-card li:last-child { border-bottom: 0; }
.list-card .ico { width: 1rem; height: 1rem; margin-top: .3rem; color: var(--sea-d); }

.blocks { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.block:nth-child(even) figure { order: 2; }
.block figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); }
.block figure img { width: 100%; height: 100%; object-fit: cover; }
.block h2 { margin-bottom: 1rem; }
.block p + p { margin-top: .9rem; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--mist); }
.card + .card { margin-top: 1.2rem; }
.card .h3 { margin-bottom: .7rem; }
.big-actions { display: grid; gap: .8rem; margin-top: 1.4rem; }
.big-actions a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 1px 0 var(--line); }
.big-actions a:hover { box-shadow: 0 0 0 2px var(--sea); }
.big-actions .ico { width: 1.4rem; height: 1.4rem; color: var(--sea-d); }
.big-actions small { display: block; color: var(--muted); font-size: .88rem; }
.big-actions strong { display: block; font-size: 1.15rem; }
.dl { margin: 0; }
.dl div { display: flex; flex-wrap: wrap; gap: .2rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.dl dt { min-width: 8.5rem; color: var(--muted); }
.dl dd { margin: 0; color: var(--ink); font-weight: 500; }

/* Gallery: balanced columns, natural proportions */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter { min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 .98rem/1 var(--sans); cursor: pointer; }
.filter:hover { border-color: var(--sea-d); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-grid { columns: 3 16rem; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile { break-inside: avoid; margin-bottom: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile.is-entering { animation: tile-in .45s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.6rem; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--mist); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(12, 22, 34, .96); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: 10px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: #dbe6ee; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; color: #b9c8d4; font-weight: 500; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }

/* Footer */
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; background: var(--navy); color: #c3d0db; font-size: .98rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); padding-bottom: 2.2rem; }
.footer-brand img { width: 118px; margin-bottom: 1rem; }
.footer-h { margin: 0 0 .8rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); font-weight: 500; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .35rem; }
.site-footer p + p { margin-top: .8rem; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1000px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-tools { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h)); display: none; margin: 0; padding: 1rem max(1rem, calc((100vw - 1240px) / 2)) 3rem; background: var(--navy); overflow-y: auto; }
  .site-header.is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: .3rem; }
  .nav a { width: 100%; min-height: 3.5rem; padding: 0 1.1rem; font-size: 1.15rem; background: var(--navy-2); border-radius: 12px; }
  .intro, .pool, .info, .contact-grid, .block { grid-template-columns: minmax(0, 1fr); }
  .block:nth-child(even) figure { order: 0; }
  .lists { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .stays, .lists, .perks, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { height: 58vh; min-height: 18rem; }
  .hero-panel { margin-top: -3.5rem; }
  .header-tools .btn { display: none; }
  .lb-stage { inset: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin: 0; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
}
