/*
Theme Name: Seaside Light
Theme URI: https://seasidevillaelena.gr/
Author: Nick Vaitsopoulos
Author URI: mailto:info@fotopanorama.gr
Description: Πολύ ελαφρύ θέμα για τη Villa Elena στην Άφησσο του Πηλίου. Γραμμένο από τον Nick Vaitsopoulos για γρήγορη ταχύτητα, ευκολία χρήσης και εύκολη εγκατάσταση. Καθαρός κώδικας χωρίς βαριές βιβλιοθήκες, δίγλωσσο Ελληνικά / English, σελίδες βίλας, φωτογραφιών, βίντεο, εικονικής περιήγησης και επικοινωνίας, φιλικό σε κινητό και έτοιμο για SEO. Σχεδιάστηκε για να φορτώνει αμέσως, να το διαχειρίζεται εύκολα ο ιδιοκτήτης και να δείχνει τη βίλα όπως είναι: θάλασσα, φως και ησυχία.
Version: 1.5.4
Text Domain: seaside-light
*/

:root {
  --sea: #163a4a;
  --sea-mid: #1d5a6a;
  --ink: #14242c;
  --sand: #f4efe6;
  --gold: #c4a574;
  --paper: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-mid); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 36, 44, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
}
.header-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lang-switch a {
  color: var(--ink);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}
.lang-switch a.is-active {
  color: var(--sea);
  border-bottom-color: var(--gold);
}
.site-footer .lang-switch {
  margin-top: 10px;
}
.site-footer .lang-switch a { color: #f4efe6; }
.site-footer .lang-switch a.is-active { color: #c4a574; border-bottom-color: #c4a574; }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  color: var(--sea);
  text-decoration: none;
  letter-spacing: .04em;
}
.logo-mark {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text small {
  font-family: system-ui, sans-serif;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sea-mid);
  font-weight: 700;
}
.footer-brand .logo { color: #f4efe6; }
.footer-brand .brand-text small { color: #c4a574; }
.footer-brand a { display: inline-flex; align-items: center; gap: 8px; }
.footer-brand svg { width: 18px; height: 18px; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #f4efe6 !important;
  display: grid;
  place-items: center;
}
.icon-btn svg { width: 22px; height: 22px; display: block; }
.icon-btn:hover { background: #c4a574; color: #163a4a !important; }
.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  color: var(--sea);
}
.icon-wrap svg { width: 26px; height: 26px; display: block; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
}
.nav a:hover, .nav .current-menu-item a { color: var(--sea-mid); }
.nav li:last-child a {
  background: var(--sea);
  color: #fff !important;
  padding: .55rem 1rem;
  border-radius: 999px;
}
.btn {
  display: inline-block;
  background: var(--sea);
  color: #fff !important;
  text-decoration: none;
  padding: .85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn-gold { background: var(--gold); color: var(--ink) !important; }

.hero {
  min-height: 78vh;
  display: grid;
  place-items: end start;
  padding: 48px 0 56px;
  background:
    linear-gradient(180deg, rgba(15, 32, 40, .15), rgba(15, 32, 40, .55)),
    var(--hero) center/cover no-repeat;
  color: var(--sand);
}
.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 16ch;
  display: inline-block;
  padding: 18px 22px;
  background: rgba(16, 38, 47, .55);
  border: 2px solid var(--gold);
  box-shadow: inset 0 0 0 6px rgba(196, 165, 116, .25);
}
.hero .kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
  background: rgba(232, 215, 184, .92);
  border-radius: 999px;
  font-family: system-ui, sans-serif;
  font-weight: 700;
}
.hero p { margin: 0 0 22px; font-size: 1.28rem; max-width: 42ch; }
.hero--short { min-height: 56vh; }

.notes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.notes--3 { grid-template-columns: repeat(3, 1fr); }
.note {
  padding: 16px 18px;
  border-radius: 16px;
  font-size: .98rem;
  line-height: 1.55;
  border: 2px solid transparent;
  color: var(--ink);
}
.note strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--sea);
}
.note--sand { background: #f4efe6; border-color: #e0d3bc; }
.note--sea { background: #e4f1f4; border-color: #9ec4cd; }
.note--gold { background: #f7ead0; border-color: #c4a574; }
.note--peach { background: #fde8dc; border-color: #e8b59a; }
.note--mint { background: #e6f3ea; border-color: #9cc9ad; }
.note--lilac { background: #eee8f5; border-color: #c5b4d8; }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 10px;
}
.mosaic a:first-child { grid-row: 1 / span 2; }
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: 14px;
}
.mosaic a {
  border-radius: 14px;
  height: 100%;
  box-shadow: 0 10px 24px rgba(20, 36, 44, .08);
}

.room-row {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
  margin: 32px 0;
}
.room-row--rev { grid-template-columns: 1.1fr .9fr; }
.room-photo,
.room-photo a,
.room-photo img {
  height: 100%;
  min-height: 240px;
}
.room-photo img {
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: 18px;
}
.room-copy {
  padding: 22px 24px;
  border-radius: 18px;
  border: 2px solid transparent;
}
.room-copy .kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 12px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: var(--sea);
}
.room-copy h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 1.55rem;
  color: var(--sea);
  margin: 0 0 10px;
}
.room-copy p { margin: 0 0 10px; font-size: 1.05rem; }
.room-copy .tiny {
  margin: 0;
  font-size: .92rem;
  opacity: .85;
}

.section { padding: 84px 0; }
.headline {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 42rem;
}
.headline .kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sea);
  background: #e8d7b8;
  border-radius: 999px;
  font-family: system-ui, sans-serif;
  font-weight: 700;
}
.headline h1,
.headline h2,
.section-title,
.photo-block h2,
.photo-block h3,
.page-main > .wrap > h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--sea);
  margin: 0 auto 18px;
  display: inline-block;
  padding: 14px 28px;
  background:
    linear-gradient(#fffdf8, #fffdf8) padding-box,
    linear-gradient(135deg, #c4a574, #1d5a6a 55%, #163a4a) border-box;
  border: 3px solid transparent;
  box-shadow: 0 12px 28px rgba(22, 58, 74, .12);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.2;
}
.photo-block h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.cta .headline h2,
.cta .section-title {
  color: var(--sand);
  background:
    linear-gradient(#163a4a, #163a4a) padding-box,
    linear-gradient(135deg, #e8d7b8, #c4a574) border-box;
}
.lede {
  font-size: 1.28rem;
  max-width: 46rem;
  margin: 0 auto 8px;
  color: #2c3d46;
  line-height: 1.8;
}
.headline--left { text-align: left; margin-left: 0; margin-right: 0; }
.headline--left h1,
.headline--left h2 { display: inline-block; margin-left: 0; }
.grid-2 .lede { margin-left: 0; text-align: left; }
.photo-block { margin-top: 56px; text-align: center; }
.photo-block .gallery { text-align: left; }
.photo-block > p {
  margin: 0 auto 22px;
  color: #2c3d46;
  font-size: 1.2rem;
  max-width: 44rem;
  line-height: 1.8;
}

.grid-3, .grid-2, .gallery {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1.1fr .9fr; align-items: center; }
.gallery { grid-template-columns: repeat(4, 1fr); }
.card, .gallery a {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 36, 44, .06);
}
.card { padding: 28px; }
.card h3 { margin: 0 0 12px; font-size: 1.25rem; color: var(--sea); }
.card p { margin: 0; color: #2c3d46; font-size: 1.08rem; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.gallery.mosaic {
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 190px 190px;
  gap: 10px;
}
.gallery.mosaic img {
  aspect-ratio: auto;
  height: 100%;
}
.gallery.room-photo {
  display: block;
  margin-top: 0;
  grid-template-columns: 1fr;
}

.cta {
  background: var(--sea);
  color: var(--sand);
  text-align: center;
}
.cta h2 { color: var(--sand); }
.site-footer {
  background: #10262f;
  color: #d7e0e4;
  padding: 36px 0;
  font-size: .95rem;
}
.site-footer a { color: #f4efe6; }
.footer-credit {
  margin: 10px 0 0;
  font-size: .78rem;
  letter-spacing: .02em;
  color: rgba(215, 224, 228, .62);
}
.footer-credit a {
  color: rgba(244, 239, 230, .72);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: #c4a574; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
}
.page-main { padding: 56px 0 80px; text-align: center; }
.page-main .gallery { text-align: left; }
.page-main .lede { margin-bottom: 12px; }
.page-body {
  text-align: left;
  max-width: 46rem;
  margin: 28px auto 0;
  font-size: 1.2rem;
  line-height: 1.85;
  color: #2c3d46;
}
.page-body p { margin: 0 0 1.15em; font-size: 1.2rem; }
.video-grid { display: grid; gap: 20px; }
.video-grid iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 16px; }
.video-card {
  margin: 36px 0;
  padding: 8px 0 28px;
  border-bottom: 1px solid rgba(22, 58, 74, .08);
}
.video-card:last-of-type { border-bottom: 0; }
.video-card h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--sea);
  margin: 0 auto 14px;
  display: inline-block;
  padding: 12px 22px;
  background:
    linear-gradient(#fffdf8, #fffdf8) padding-box,
    linear-gradient(135deg, #c4a574, #1d5a6a 55%, #163a4a) border-box;
  border: 3px solid transparent;
  box-shadow: 0 12px 28px rgba(22, 58, 74, .12);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}
.video-card > p {
  max-width: 44rem;
  font-size: 1.12rem;
  color: #2c3d46;
  margin: 0 0 18px;
  line-height: 1.75;
}
.video-frame {
  background: #10262f;
  border-radius: 20px;
  padding: 8px;
  border: 3px solid #c4a574;
  box-shadow: 0 16px 36px rgba(22, 58, 74, .14);
}
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 12px;
  display: block;
}
.wvt-panorama-wrapper, .wvt-panorama { width: 100%; min-height: 72vh; }
.wvt-panorama { height: 72vh; border-radius: 16px; overflow: hidden; }
.tour-stage {
  margin-top: 24px;
  background: #10262f;
  border-radius: 22px;
  padding: 10px;
  border: 3px solid #c4a574;
  box-shadow: 0 18px 40px rgba(22, 58, 74, .18);
}
.tour-stage .wvt-panorama-wrapper,
.tour-stage .wvt-panorama,
.tour-stage [id^="wvt_"] {
  min-height: 72vh;
  height: 72vh !important;
  padding-bottom: 0 !important;
  border-radius: 14px;
  overflow: hidden;
}
.tour-stage .wvt-panorama-content { height: 100%; }

.photo-block { margin-top: 56px; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 22, 28, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #f4efe6;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
}
.lightbox__close { top: 12px; right: 12px; font-size: 2.8rem; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  border-radius: 18px;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  min-height: 150px;
}
.contact-card__label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sea-mid);
}
.contact-card strong {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--sea);
  word-break: break-word;
}
.contact-card span:last-child {
  font-size: .95rem;
  color: #2c3d46;
  line-height: 1.5;
}
.inquiry-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: start;
}
.inquiry-notice {
  background: #fde8dc;
  border: 2px solid #c45c3a;
  color: #5a2416;
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.6;
}
.inquiry-notice strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.inquiry-ok, .inquiry-err {
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
}
.inquiry-ok { background: #e6f3ea; border: 2px solid #6aa87d; color: #1d4a2c; }
.inquiry-err { background: #fde8dc; border: 2px solid #c45c3a; color: #5a2416; }
.inquiry-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.inquiry-form { position: relative; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.inquiry-form label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--sea);
  margin-bottom: 12px;
}
.inquiry-form input,
.inquiry-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid #d7cbb8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--sea-mid);
}
.form-hint {
  font-size: .95rem;
  color: #5a2416;
  background: #f7ead0;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 4px 0 16px;
}
.inquiry-form .btn { margin: 0 10px 10px 0; }
.inquiry-side img { border-radius: 18px; width: 100%; }
.tiny-side {
  margin: 14px 0 0;
  font-size: .95rem;
  color: #2c3d46;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 40;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  padding: .5rem .8rem;
  background: var(--sea);
  color: #fff;
}

@media (max-width: 800px) {
  .grid-3, .grid-2, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery.mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px 140px;
  }
  .notes, .notes--3 { grid-template-columns: 1fr 1fr; }
  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 140px 140px;
  }
  .mosaic a:first-child { grid-column: 1 / span 2; grid-row: auto; }
  .room-row, .room-row--rev { grid-template-columns: 1fr; }
  .contact-cards, .inquiry-layout, .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; place-items: end center; text-align: center; }
  .hero h1, .hero p { max-width: none; }
  .nav { justify-content: flex-end; }
}
