/* ==========================================================================
   Paraschos Studios — Kardamena, Kos
   Static rebuild of the original Wix site. Same design language, same colours,
   same photography — rebuilt as hand-written HTML/CSS for speed and SEO.
   ========================================================================== */

/* --- Fonts -------------------------------------------------------------- */
/* Jost stands in for Futura LT (headings); Cormorant Garamond matches the
   original body face exactly. Both are variable, self-hosted, woff2. */
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  src: url('../fonts/jost-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Design tokens (taken from the original Wix palette) ---------------- */
:root {
  --blue: #0312f0;      /* color_18 — accent */
  --blue-mid: #020ca0;  /* color_19 */
  --navy: #010650;      /* color_20 — headings, footer */
  --ink: #000;          /* color_15 */
  --muted: #757575;     /* color_14 */
  --line: #c7c7c7;      /* color_13 */
  --soft: #e8e6e6;      /* color_12 — key-benefits band */
  --olive: #3c330e;     /* "Key" on the home page */
  --white: #fff;

  --sans: 'Jost', 'Futura', 'Century Gothic', 'Avenir Next', system-ui, sans-serif;
  --serif: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --nav: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --container: 1040px;
  --gutter: 28px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -.005em;
}
p { margin: 0 0 1.15em; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 2px;
  font-family: var(--nav); font-size: 14px; transition: top .18s;
}
.skip-link:focus { top: 12px; }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid transparent;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 190px;
  padding-block: 18px;
}
.logo { display: inline-block; color: var(--ink); line-height: 0; }
.logo svg { width: 275px; height: auto; }

.nav { justify-self: center; }
.nav ul { display: flex; gap: 8px; list-style: none; }
.nav a {
  display: block;
  padding: 10px 12px;
  font-family: var(--nav);
  font-size: 15px;
  letter-spacing: .75px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color .18s;
}
.nav a:hover { color: var(--blue); }
.nav a[aria-current='page'] { color: #1d67cd; }

.award { justify-self: end; }
.award img { width: 179px; height: 126px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--ink);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle span { margin-inline: auto; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { transform: translateY(-7px) rotate(-45deg); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 30px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--white);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); }

.link-more {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.link-more::after {
  content: ''; width: 12px; height: 12px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.link-more:hover::after { transform: rotate(45deg) translate(3px, -3px); }

/* --- Hero slideshow ----------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: #0b1220; }
.hero__slides { position: relative; height: clamp(430px, 65.5vw, 944px); }
/* Slides start at display:none so the browser never fetches slides 2-4 on
   first paint; the script mounts each one just before it is needed. */
.hero__slide {
  position: absolute; inset: 0;
  display: none;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero__slide.is-mounted { display: block; }
.hero__slide.is-active { opacity: 1; }
/* <picture> must be stretched too: the img's height:100% resolves against its
   direct parent, and an auto-height <picture> would collapse it back to auto
   (which left a gap under the photo on narrow screens). */
.hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__cta {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.hero__dots {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; gap: 16px; z-index: 3;
}
.hero__dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9); background: transparent;
  cursor: pointer; transition: background .2s, transform .2s;
}
.hero__dots button[aria-selected='true'] { background: #fff; transform: scale(1.3); }

/* --- Sections ----------------------------------------------------------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--soft { background: rgba(232, 230, 230, .8); }

.eyebrow-title {
  font-size: clamp(30px, 3.9vw, 56px);
  color: var(--blue);
  margin-bottom: 6px;
}
.display-title {
  font-size: clamp(40px, 5.55vw, 80px);
  color: var(--ink);
  margin-bottom: .5em;
}
.section-title {
  font-size: clamp(30px, 3.9vw, 56px);
  color: var(--navy);
}
.section-title--sm { font-size: clamp(26px, 2.65vw, 38px); color: var(--blue-mid); }
.section-title--split .a { color: var(--olive); }
.section-title--split .b { color: var(--blue); }

.lead { max-width: 76ch; font-size: 19px; line-height: 1.8; }

.intro-actions { display: flex; justify-content: flex-end; margin: 26px 0 34px; }

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-row img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Key benefits ------------------------------------------------------- */
.benefits { max-width: 860px; margin-top: 34px; }
.benefits--right { margin-left: auto; }
.benefits ul { list-style: none; }
.benefits li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1.4;
}
.benefits li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.benefits li strong { font-weight: 600; }
.title-right { text-align: right; }

/* --- Page banner (About / Gallery) -------------------------------------- */
.page-banner { position: relative; }
.page-banner img { width: 100%; object-fit: cover; }
.page-banner__title {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  text-align: center;
  color: var(--navy);
  font-size: clamp(30px, 3.9vw, 56px);
  font-family: var(--sans); font-weight: 700;
  text-shadow: 0 2px 22px rgba(255,255,255,.85), 0 0 40px rgba(255,255,255,.7);
  padding-inline: 20px;
}
.band { display: block; }
.band img { width: 100%; height: clamp(240px, 34vw, 500px); object-fit: cover; }

/* --- Prose -------------------------------------------------------------- */
.prose { max-width: 78ch; font-size: 20px; }
.prose--muted { color: var(--muted); }
.prose p + p { margin-top: 0; }

/* --- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 40px;
}
.contact-list { list-style: none; font-size: 22px; line-height: 1.55; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 30px; }
.contact-list svg { width: 24px; height: 24px; flex: none; margin-top: .34em; fill: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--blue); }

/* --- Forms -------------------------------------------------------------- */
.form { font-family: var(--sans); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field--code { grid-column: span 1; }
.form label {
  font-size: 14px; line-height: 1.4; color: var(--ink);
  margin-bottom: 9px; font-weight: 400;
}
.form label .req { color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 10px;
  height: 37px;
  width: 100%;
  transition: border-color .18s;
}
.form textarea { height: 86px; resize: vertical; padding-top: 8px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--navy); outline: none; }
.form select { appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.28 4.9'%3E%3Cpath d='M4.64 4.9a.5.5 0 0 1-.34-.14L.16.86A.5.5 0 0 1 .84.14L4.64 3.71 8.44.14a.5.5 0 0 1 .69.72L4.98 4.76a.5.5 0 0 1-.34.14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 9px; }
.field--phone { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
.field--phone > div { display: flex; flex-direction: column; }
.form-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 22px; }
.form button[type='submit'] {
  font-family: var(--sans); font-size: 14px; letter-spacing: .3px;
  background: var(--blue-mid); color: #fff;
  border: 0; padding: 12px 40px; cursor: pointer;
  transition: background .2s;
}
.form button[type='submit']:hover { background: var(--blue); }
.form button[type='submit'][disabled] { opacity: .6; cursor: progress; }
.form-status { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--blue-mid); min-height: 20px; }
.form-status.is-error { color: #b00020; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Enquiry layout ----------------------------------------------------- */
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.enquiry-intro { font-size: 16px; color: var(--muted); line-height: 1.75; }
.enquiry-intro img { margin-top: 28px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* --- Map facade --------------------------------------------------------- */
.map { margin-top: clamp(40px, 5vw, 64px); }
.map__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 584;
  min-height: 300px;
  background: #e8eaed;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__facade {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center;
  cursor: pointer; border: 0; width: 100%;
  background:
    repeating-linear-gradient(45deg, #eef1f4 0 22px, #e7ebef 22px 44px);
  font-family: var(--sans); font-size: 15px; color: var(--navy);
}
.map__facade svg { width: 42px; height: 42px; fill: var(--navy); }
.map__facade span { text-decoration: underline; }

/* --- Gallery ------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery__item {
  position: relative;
  grid-column: span 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: #eee;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 3 / 2;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.045); }
/* collage rhythm — mirrors the mixed tile sizes of the original Wix gallery */
.gallery__item--wide { grid-column: span 4; }
.gallery__item--wide img { aspect-ratio: 16 / 9; }
.gallery__item--tall img { aspect-ratio: 4 / 5; }

/* --- Lightbox ----------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(8, 10, 20, .94);
  display: none;
  align-items: center; justify-content: center;
  padding: 40px 16px 72px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 96vw); max-height: 84vh; width: auto; object-fit: contain; }
.lightbox__btn {
  position: absolute; background: none; border: 0; color: #fff;
  cursor: pointer; padding: 14px; line-height: 0;
}
.lightbox__btn svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }
.lightbox__close { top: 10px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: 1px; }
body.no-scroll { overflow: hidden; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 40px;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  align-items: flex-start; justify-content: space-between;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px;
  font-family: var(--nav); font-size: 13px; letter-spacing: .6px; text-transform: uppercase; }
.footer-credit { font-size: 12px; }
.footer-credit .brand { font-family: var(--sans); font-weight: 500; }
.footer-credit .fixer { font-family: Arial, sans-serif; }
.footer-credit .fixer b { font-family: 'Arial Black', Arial, sans-serif; font-weight: 900; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
  .header-inner { grid-template-columns: auto auto; min-height: 0; row-gap: 0; }
  .logo svg { width: 200px; }
  .award { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .nav {
    grid-column: 1 / -1; justify-self: stretch;
    display: none; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 8px;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #f0f0f0; }
  .contact-grid, .enquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery__item--wide { grid-column: span 4; }
}
@media (max-width: 700px) {
  body { font-size: 18px; }
  :root { --gutter: 20px; }
  .card-row { grid-template-columns: 1fr; gap: 16px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field--phone { grid-template-columns: 110px minmax(0, 1fr); }
  .intro-actions { justify-content: flex-start; }
  .benefits, .title-right { text-align: left; }
  .benefits--right { margin-left: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery__item, .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall img, .gallery__item--wide img { aspect-ratio: 3 / 2; }
  .lightbox__prev { left: 0; } .lightbox__next { right: 0; }
  .footer-inner { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .hero__dots, .map, .lightbox { display: none !important; }
  body { font-size: 12pt; }
}
