/* ---------- Tokens ---------- */
:root {
  --white: #ffffff;
  --wash: #f4f6f4;      /* cool lime-wash, not cream */
  --ink: #12283f;       /* deep Aegean ink */
  --ink-soft: #46586b;
  --sea: #1b5f78;       /* Skyrian shutter blue-green */
  --sea-dark: #144a5e;
  --pool: #7fc4cf;
  --sun: #e1a33b;       /* aktina = ray */
  --line: #d9e0e2;

  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun); outline-offset: 2px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 300; font-variation-settings: "opsz" 72; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p  { margin: 0 0 1rem; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }

/* Greek: Literata handles it, but give slightly more air */
html[lang="el"] body { letter-spacing: .005em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: 500 .95rem/1 var(--sans);
  padding: .9rem 1.4rem; border-radius: var(--radius); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-solid { background: var(--sea); color: #fff; border-color: var(--sea); }
.btn-solid:hover { background: var(--sea-dark); border-color: var(--sea-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.25rem var(--gutter); color: #fff;
}
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
.brand em { font-style: italic; font-weight: 300; }
.brand-mark { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.brand-mark circle { fill: var(--sun); stroke: none; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.site-nav a { color: #fff; text-decoration: none; font-size: .95rem; opacity: .92; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius); overflow: hidden; }
.lang-switch button { background: transparent; color: #fff; border: 0; padding: .35rem .6rem; font: 500 .8rem var(--sans); cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; margin-left: .5rem; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 9; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 1.25rem; }
.mobile-nav a { color: #fff; text-decoration: none; font: 300 2rem var(--serif); }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,40,63,.45) 0%, rgba(18,40,63,.05) 35%, rgba(18,40,63,.55) 100%); }
.hero-text { align-self: end; padding: 8rem var(--gutter) 2.5rem; max-width: 900px; margin-left: 0; }
.hero-facts { max-width: none; }
.hero-text h1 { margin-bottom: 1.25rem; text-wrap: balance; }
.hero-text p { font-size: 1.1rem; max-width: 52ch; opacity: .95; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.35); margin: 0 var(--gutter); padding: 1.25rem 0 2rem; }
.hero-facts li { display: flex; flex-direction: column; padding-right: 2.5rem; margin-right: 2.5rem; border-right: 1px solid rgba(255,255,255,.35); }
.hero-facts li:last-child { border: 0; }
.hero-facts strong { font: 300 2rem/1 var(--serif); }
.hero-facts span { font-size: .85rem; opacity: .85; margin-top: .3rem; }
@media (max-width: 600px) {
  .hero-facts { flex-wrap: wrap; gap: 1rem 0; }
  .hero-facts li { padding-right: 1.25rem; margin-right: 1.25rem; }
  .hero-facts strong { font-size: 1.5rem; }
}

/* ---------- Sections ---------- */
main > section { padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
main > section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* Villa */
.villa-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem 4rem; margin-bottom: 3rem; }
.villa-intro h2 { grid-row: span 2; }
.villa-intro p:first-of-type { font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }
@media (max-width: 800px) { .villa-intro { grid-template-columns: 1fr; } .villa-intro h2 { grid-row: auto; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-bottom: 3.5rem; }
.gallery figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--wash); cursor: zoom-in; }
.gallery .g-wide { grid-column: span 2; aspect-ratio: 8/3.05; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .g-wide { aspect-ratio: 8/3.05; } }

.villa-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.villa-details ul { list-style: none; }
.villa-details li { padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.villa-details li:last-child { border: 0; }
@media (max-width: 700px) { .villa-details { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Book */
.book { background: var(--wash); }
.book-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 4rem; margin-bottom: 2.5rem; }
@media (max-width: 800px) { .book-head { grid-template-columns: 1fr; } }
.villa-list { list-style: none; counter-reset: none; border-top: 1px solid var(--ink); }
.villa-list li { display: grid; grid-template-columns: 4rem 1fr auto; align-items: center; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.v-num { font: 300 2.6rem/1 var(--serif); color: var(--sea); }
.v-body h3 { margin: 0 0 .2rem; font-weight: 500; }
.v-body p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 600px) {
  .villa-list li { grid-template-columns: 3rem 1fr; }
  .villa-list .btn { grid-column: 2; justify-self: start; }
}
.book-note { margin-top: 1.5rem; color: var(--ink-soft); }

/* Location */
.location { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3rem; }
.location > * { margin: 0; max-width: none; }
.loc-text p { max-width: 58ch; }
.distances { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin: 2rem 0; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.distances div { border-bottom: 1px solid var(--line); padding-bottom: .75rem; }
.distances dt { font-size: .85rem; color: var(--ink-soft); }
.distances dd { margin: 0; font-family: var(--serif); font-size: 1.15rem; }
.loc-map { position: sticky; top: 2rem; align-self: start; }
.loc-map iframe { width: 100%; aspect-ratio: 4/5; border: 0; border-radius: var(--radius); background: var(--wash); }
.map-link { display: inline-block; margin-top: .6rem; font-size: .9rem; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } .loc-map { position: static; } .loc-map iframe { aspect-ratio: 4/3; } }

/* Hosts */
.hosts { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--ink); color: #fff; }
.hosts > * { margin: 0; max-width: none; }
.hosts-img { margin: 0; }
.hosts-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hosts-text p { max-width: 55ch; opacity: .92; }
.hosts blockquote { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--sun); }
.hosts blockquote p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; font-style: italic; }
.hosts cite { font-style: normal; font-size: .85rem; opacity: .8; }
@media (max-width: 860px) { .hosts { grid-template-columns: 1fr; } .hosts-img img { aspect-ratio: 16/10; } }

/* Contact */
.contact { display: grid !important; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact > * { margin: 0; max-width: none; }
address { font-style: normal; display: flex; flex-direction: column; gap: .4rem; margin-top: 1.5rem; }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--ink); padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; width: 100%;
}
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1rem; }
.form-row select { min-width: 5rem; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: .9rem; color: var(--sea); }
.form-status.error { color: #a83a2a; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr 1fr; } .form-row label:last-child { grid-column: span 2; } }

/* Footer */
.site-footer { padding: 2.5rem var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.site-footer > * { max-width: var(--max); }
.legal { margin: 0 0 .5rem; max-width: 80ch; }
.copy { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(18,40,63,.94); display: grid; place-items: center; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 2.5rem/1 var(--serif); cursor: pointer; padding: 1rem; }
.lb-close { top: .5rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }
