/* ============================================================
   ARV Properties · Saronida — arvproperties.gr
   ============================================================ */

/* ---------- Fonts (self-hosted, latin + greek) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 79%; /* optically match Cormorant Garamond's small body */
  src: url('fonts/noto-serif-display-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Noto Serif Display';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 79%;
  src: url('fonts/noto-serif-display-italic-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0e1216;
  --ink-2: #151b21;
  --ink-3: #1d252d;
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --white: #ffffff;
  --bronze: #b3905e;
  --bronze-soft: #c8ab7f;
  --sea: #26506b;
  --text: #2b3138;
  --text-soft: #6a7078;
  --text-inv: #e9e4da;
  --text-inv-soft: #a9a396;
  --hairline: rgba(14, 18, 22, 0.12);
  --hairline-inv: rgba(233, 228, 218, 0.16);
  --serif: 'Cormorant Garamond', 'Noto Serif Display', Georgia, serif;
  --sans: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --maxw: 76rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--bronze); color: var(--white); }

/* ---------- Language toggle mechanics ---------- */
html[data-lang="en"] .el { display: none !important; }
html[data-lang="el"] .en { display: none !important; }

/* Greek italics read as handwriting at display sizes: keep accents upright */
.el em { font-style: normal; }

/* ---------- Shared ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronze);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: 0.01em; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 1rem; color: var(--ink); }
.section-head p { margin-top: 1.25rem; color: var(--text-soft); max-width: 40rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-header.is-solid {
  background: rgba(14, 18, 22, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--hairline-inv);
}
.brand {
  display: flex; align-items: baseline; gap: 0.6rem;
  text-decoration: none; color: var(--text-inv);
}
.brand .mono {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
}
.brand .word {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); }
.site-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 228, 218, 0.85);
  transition: color 0.25s ease;
}
.site-nav a:hover { color: var(--bronze-soft); }
.lang-switch {
  display: flex; align-items: center; gap: 0.15rem;
  border: 1px solid var(--hairline-inv);
  border-radius: 999px;
  padding: 0.2rem;
}
.lang-switch button {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(233, 228, 218, 0.7);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.lang-switch button.is-active { background: var(--bronze); color: var(--white); }
@media (max-width: 760px) {
  .site-nav a.nav-link { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(4.5rem, 14vw, 6rem); /* reserve space for the fixed header */
  color: var(--text-inv);
  isolation: isolate;
  overflow: hidden;
}
.hero .bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: url('render-villas.jpg');
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translateY(0); }
  to { transform: scale(1.12) translateY(-1.4%); }
}
@media (prefers-reduced-motion: reduce) { .hero .bg { animation: none; } }
.hero .shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,18,22,0.55) 0%, rgba(14,18,22,0.15) 34%, rgba(14,18,22,0.42) 66%, rgba(14,18,22,0.9) 100%);
}
.hero-inner { padding-bottom: clamp(3rem, 8vw, 6rem); }
.hero .badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid rgba(200, 171, 127, 0.5);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-soft);
  background: rgba(14, 18, 22, 0.35);
  backdrop-filter: blur(6px);
}
.hero .badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bronze-soft);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  margin-top: 1.6rem;
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  font-weight: 500;
  color: var(--white);
  max-width: 15em;
  text-wrap: balance;
}
.hero h1 em { color: var(--bronze-soft); }
.hero .lede {
  margin-top: 1.4rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: rgba(233, 228, 218, 0.88);
}
.hero-stats {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline-inv);
  border-top: 1px solid var(--hairline-inv);
  border-bottom: 1px solid var(--hairline-inv);
}
.hero-stats .stat {
  background: rgba(14, 18, 22, 0.45);
  backdrop-filter: blur(8px);
  padding: 1.15rem 1.2rem;
}
.hero-stats .num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--white);
  line-height: 1.1;
}
.hero-stats .lbl {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-inv-soft);
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Vision ---------- */
.vision { background: var(--paper); }
.vision .cols {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.vision .statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  color: var(--ink);
}
.vision .statement em { color: var(--bronze); }
.vision .side p + p { margin-top: 1.2rem; }
.vision .side p { color: var(--text-soft); }
.vision .side .sig {
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}
@media (max-width: 860px) { .vision .cols { grid-template-columns: 1fr; } }

/* ---------- Residences ---------- */
.residences { background: var(--paper-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.feature {
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  transition: background 0.35s ease;
}
.feature:hover { background: var(--paper); }
.feature .icon { width: 2.1rem; height: 2.1rem; color: var(--bronze); }
.feature h3 { margin-top: 1.1rem; font-size: 1.35rem; color: var(--ink); }
.feature p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-soft); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.render-band { margin-top: clamp(3rem, 7vw, 5rem); }
.render-frame {
  position: relative;
  overflow: hidden;
}
.render-frame img { width: 100%; height: clamp(320px, 55vw, 620px); object-fit: cover; object-position: center 30%; }
.render-frame .caption {
  position: absolute; left: 0; bottom: 0;
  padding: 0.7rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 228, 218, 0.85);
  background: rgba(14, 18, 22, 0.55);
  backdrop-filter: blur(6px);
}

/* ---------- Location ---------- */
.location { background: var(--paper); }
.location .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.location .cols p + p { margin-top: 1.2rem; }
.location .cols p { color: var(--text-soft); }
.dist-list { border-top: 1px solid var(--hairline); }
.dist-list .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0.2rem;
  border-bottom: 1px solid var(--hairline);
}
.dist-list .place { font-size: 0.95rem; color: var(--ink); }
.dist-list .val {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--bronze);
  white-space: nowrap;
}
@media (max-width: 860px) { .location .cols { grid-template-columns: 1fr; } }

/* ---------- Sea ---------- */
.sea {
  position: relative;
  background: linear-gradient(175deg, var(--ink) 0%, #12222e 55%, #16303f 100%);
  color: var(--text-inv);
  overflow: hidden;
}
.sea::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(90rem 40rem at 85% 115%, rgba(38, 80, 107, 0.55), transparent 60%);
  pointer-events: none;
}
.sea .wrap { position: relative; }
.sea .section-head h2 { color: var(--white); }
.sea .section-head p { color: var(--text-inv-soft); }
.sea-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.sea-card {
  border: 1px solid var(--hairline-inv);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: rgba(233, 228, 218, 0.03);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.sea-card:hover { background: rgba(233, 228, 218, 0.07); border-color: rgba(200, 171, 127, 0.45); }
.sea-card .icon { width: 2.1rem; height: 2.1rem; color: var(--bronze-soft); }
.sea-card h3 { margin-top: 1.1rem; font-size: 1.35rem; color: var(--white); }
.sea-card p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-inv-soft); }
.sea .note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--text-inv-soft);
  font-style: italic;
  max-width: 42rem;
}
.sea a {
  color: var(--bronze-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 171, 127, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.sea a:hover { color: var(--white); border-color: var(--white); }
@media (max-width: 860px) { .sea-cards { grid-template-columns: 1fr; } }

/* ---------- Soon ---------- */
.soon { background: var(--paper); text-align: center; }
.soon .inner { max-width: 42rem; margin: 0 auto; }
.soon h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-top: 1rem; color: var(--ink); }
.soon p { margin-top: 1.3rem; color: var(--text-soft); }
.soon .contact {
  margin-top: 2.2rem;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 3rem;
  row-gap: 0.3rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0.8rem 2.2rem;
}
.soon .contact a {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--bronze);
  text-decoration: none;
  transition: color 0.25s ease;
}
.soon .contact a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-inv-soft);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.site-footer .top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--hairline-inv);
}
.site-footer .bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.6rem;
  font-size: 0.78rem;
}
.site-footer a { color: var(--text-inv-soft); text-decoration: none; transition: color 0.25s ease; }
.site-footer a:hover { color: var(--bronze-soft); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 0.9rem 1.6rem; }
.site-footer .gemi { display: block; margin-top: 0.35rem; opacity: 0.75; letter-spacing: 0.04em; }

@media (max-width: 640px) {
  .site-footer .top { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .site-footer .links { flex-direction: column; gap: 0.7rem; }
  .site-footer .bottom { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  transform: translateY(140%);
  z-index: 90;
  width: min(94vw, 26rem);
  background: var(--ink-2);
  color: var(--text-inv);
  border: 1px solid var(--hairline-inv);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  padding: 1.4rem 1.5rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}
.cookie-notice.is-open { transform: translateY(0); opacity: 1; }
.cookie-notice h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze-soft);
}
.cookie-notice p { margin-top: 0.6rem; font-size: 0.85rem; line-height: 1.6; color: var(--text-inv-soft); }
.cookie-notice p a { color: var(--bronze-soft); }
.cookie-notice .actions { margin-top: 1rem; display: flex; gap: 0.8rem; align-items: center; }
.btn {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.68rem 1.5rem;
  cursor: pointer;
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--bronze-soft); border-color: var(--bronze-soft); }
.btn.ghost { background: transparent; color: var(--text-inv-soft); border-color: var(--hairline-inv); }
.btn.ghost:hover { color: var(--white); background: transparent; }

/* ---------- Privacy page ---------- */
.page-hero {
  background: var(--ink);
  color: var(--text-inv);
  padding: clamp(8rem, 16vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); margin-top: 1rem; }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.7rem; color: var(--ink); margin-top: 2.8rem; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 0.9rem; color: var(--text); }
.legal ul { margin: 0.9rem 0 0 1.2rem; }
.legal li { margin-top: 0.45rem; }
.legal a { color: var(--bronze); }
.legal .updated { font-size: 0.85rem; color: var(--text-soft); font-style: italic; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.9rem; }
.legal th, .legal td { text-align: left; padding: 0.7rem 0.8rem; border: 1px solid var(--hairline); vertical-align: top; }
.legal th { background: var(--paper-2); font-weight: 600; }
