/* =========================================================
   IANOS — Vasiliki beach bar, pool & restaurant
   Mobile-first, light Mediterranean theme. No framework.
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  /* Brand palette (from the logo: deep Mediterranean blue + white) */
  --blue:        #1f5470;   /* primary deep Mediterranean blue */
  --blue-dark:   #163d52;
  --blue-ink:    #122e3d;   /* headings / dark text */
  --turquoise:   #2f9e9b;   /* sea turquoise accent */
  --gold:        #d9a441;   /* soft sunset gold accent */
  --gold-soft:   #e7c98a;

  /* Warm neutrals */
  --cream:       #faf6ef;   /* page background */
  --sand:        #f1e7d6;   /* warm sand */
  --stone:       #e9e3d8;   /* light stone */
  --white:       #ffffff;

  --text:        #2c3b43;
  --text-soft:   #586a73;
  --line:        #e4dccf;

  --shadow-sm: 0 2px 10px rgba(18, 46, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(18, 46, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(18, 46, 61, 0.16);

  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --maxw: 1140px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --header-h: 68px;
}

/* ---- 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;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--turquoise); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--blue-ink); line-height: 1.1; font-weight: 600; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); letter-spacing: .5px; }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
p  { margin: 0 0 1rem; }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.section--tint { background: var(--white); }
.section--sand { background: linear-gradient(180deg, var(--sand), var(--cream)); }
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--turquoise);
  margin: 0 0 .6rem;
}
.section__head { max-width: 640px; margin-bottom: 2.2rem; }
.section__head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-soft); }
.muted { color: var(--text-soft); }
.center { text-align: center; }
.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: 8px; top: -60px; background: var(--blue); color: #fff;
  padding: .6rem 1rem; border-radius: 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 8px; color: #fff; }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 2px; border-radius: 4px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--gold { background: var(--gold); color: var(--blue-ink); }
.btn--gold:hover { background: var(--gold-soft); color: var(--blue-ink); }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.26); color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, .82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; color: var(--blue); }
.brand svg, .brand img { height: 42px; width: auto; }
.brand .brand__mark { height: 40px; }
.nav__links { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; border-radius: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--blue-ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown menu */
.nav__panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--cream); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: grid; gap: .2rem; padding: .8rem var(--gutter) 1.4rem;
  transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.nav.open .nav__panel { transform: scaleY(1); opacity: 1; pointer-events: auto; }
.nav__panel a {
  padding: .85rem .4rem; font-size: 1.1rem; font-family: var(--font-serif);
  color: var(--blue-ink); border-bottom: 1px solid var(--line);
}
.nav__panel a[aria-current="page"] { color: var(--turquoise); }
.nav__panel .btn { margin-top: .8rem; justify-content: center; }

@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__links { display: flex; align-items: center; gap: .3rem; }
  .nav__links a {
    padding: .5rem .85rem; border-radius: 999px; color: var(--blue-ink);
    font-weight: 600; font-size: .96rem; transition: background .2s, color .2s;
  }
  .nav__links a:hover { background: var(--stone); color: var(--blue); }
  .nav__links a[aria-current="page"] { color: var(--turquoise); }
  .nav__links .btn { margin-left: .5rem; color: #fff; }
  .nav__links .btn:hover { color: #fff; }
  .nav__panel { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(18,46,61,.15) 0%, rgba(18,46,61,.20) 40%, rgba(18,46,61,.72) 100%),
    var(--hero-img, linear-gradient(135deg, #2f7fa3 0%, #1f5470 55%, #163d52 100%));
  background-size: cover; background-position: center;
}
.hero__inner { padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.3); max-width: 14ch; }
.hero__sub { font-size: 1.2rem; max-width: 46ch; color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.3); margin-bottom: 1.6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.hero__badges span {
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
}
.hero__scroll {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.8); font-size: 1.4rem; animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,8px); } }

/* Client-supplied hero banner (logo, headline, tagline & buttons baked into the image).
   Desktop only; a dedicated mobile/tablet hero is handled separately. */
.hero-banner { background: var(--blue-ink); display: block; }
.hero-banner__wrap { position: relative; line-height: 0; max-width: 1983px; margin-inline: auto; }
.hero-banner__img { width: 100%; height: auto; display: block; }
/* Invisible clickable hotspots aligned to the baked-in buttons (percentages of the image) */
.hero-hotspot { position: absolute; display: block; z-index: 2; border-radius: 999px; }
.hero-hotspot:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.hs-menu { left: 31.8%; top: 83.8%; width: 10.3%; height: 6.7%; }
.hs-wa   { left: 44.2%; top: 83.8%; width: 11.6%; height: 6.7%; }
.hs-find { left: 57.4%; top: 83.8%; width: 11.0%; height: 6.7%; }
@media (max-width: 1023px) { .hero-banner { display: none; } }

.page-hero {
  position: relative; color: #fff; padding-block: clamp(3.5rem, 10vw, 7rem);
  background:
    linear-gradient(180deg, rgba(18,46,61,.45), rgba(18,46,61,.65)),
    var(--hero-img, linear-gradient(135deg, #2f7fa3, #1f5470 60%, #163d52));
  background-size: cover; background-position: center;
}
.page-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.page-hero p { color: rgba(255,255,255,.92); max-width: 54ch; font-size: 1.12rem; }

/* ---- Status banner (today) ---- */
.status-banner { background: var(--blue-ink); color: #fff; }
.status-banner .container {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center;
  padding-block: .7rem; font-size: .92rem;
}
.status-banner strong { color: var(--gold-soft); font-weight: 700; letter-spacing: .03em; }
.status-banner .chip { display: inline-flex; align-items: center; gap: .45rem; }
.status-banner .dot { width: 9px; height: 9px; border-radius: 50%; background: #5fcf8a; box-shadow: 0 0 0 3px rgba(95,207,138,.25); }
.status-banner .dot--off { background: #e08f6a; box-shadow: 0 0 0 3px rgba(224,143,106,.25); }

/* ---- Intro / split ---- */
.split { display: grid; gap: clamp(1.6rem, 5vw, 3.4rem); align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; background: var(--stone);
}

/* ---- Highlights grid ---- */
.cards { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--turquoise), var(--blue)); color: #fff;
  margin-bottom: .9rem; font-size: 1.4rem;
}
.card h3 { margin-bottom: .3rem; }
.card p { margin: 0; color: var(--text-soft); font-size: .98rem; }

/* ---- Reviews ---- */
.reviews { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
}
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review p { font-family: var(--font-serif); font-size: 1.22rem; color: var(--blue-ink); line-height: 1.4; }
.review__author { font-size: .9rem; color: var(--text-soft); font-weight: 600; }
.review__author span { color: var(--turquoise); }

/* ---- Gallery ---- */
.gallery {
  display: grid; gap: .6rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .8rem; } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--stone); border: 0; padding: 0; cursor: pointer;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: .7rem .8rem .6rem;
  background: linear-gradient(180deg, transparent, rgba(18,46,61,.7));
  color: #fff; font-size: .8rem; opacity: 0; transition: opacity .2s; text-align: left;
}
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; }
.gallery--home .gallery__item:nth-child(n+9) { display: none; }
@media (min-width: 980px) { .gallery--home .gallery__item:nth-child(n+9) { display: block; } }

/* Placeholder tiles (used until real photos are added) */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: rgba(255,255,255,.85); font-size: 1.8rem;
  background: linear-gradient(135deg, #57a3b8, #1f5470);
}
.ph[data-theme="food"]   { background: linear-gradient(135deg, #e0b15a, #c9803f); }
.ph[data-theme="sunset"] { background: linear-gradient(135deg, #f0a86b, #d9663f); }
.ph[data-theme="drinks"] { background: linear-gradient(135deg, #6fbfa3, #2f9e9b); }
.ph[data-theme="venue"]  { background: linear-gradient(135deg, #8fb0bd, #4a6d7c); }
.ph[data-theme="family"] { background: linear-gradient(135deg, #7fb0c9, #3a6f93); }
.ph[data-theme="sea"]    { background: linear-gradient(135deg, #5fc6c9, #2a8f9e); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  background: rgba(18,46,61,.92); align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox .ph { max-width: 92vw; max-height: 82vh; border-radius: 12px; width: auto; aspect-ratio: 4/3; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; display: grid; place-items: center;
}
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* ---- Menu ---- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(250,246,239,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: flex; gap: .5rem; overflow-x: auto; padding: .7rem var(--gutter);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: 0 0 auto; padding: .45rem .95rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--blue-ink);
  font-weight: 600; font-size: .9rem;
}
.menu-nav a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.menu-cat { scroll-margin-top: calc(var(--header-h) + 60px); margin-bottom: 2.6rem; }
.menu-cat__head { display: flex; align-items: baseline; gap: .8rem; border-bottom: 2px solid var(--gold); padding-bottom: .4rem; margin-bottom: 1.1rem; }
.menu-cat__head h2 { margin: 0; }
.menu-cat__desc { color: var(--text-soft); font-style: italic; font-size: .95rem; }
.menu-list { display: grid; gap: .1rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: baseline;
  padding: .7rem 0; border-bottom: 1px dashed var(--line);
}
.menu-item__name { font-weight: 600; color: var(--blue-ink); }
.menu-item__tags { font-size: .68rem; font-weight: 700; letter-spacing: .05em; color: var(--turquoise); margin-left: .5rem; text-transform: uppercase; }
.menu-item__price { font-family: var(--font-serif); font-size: 1.25rem; color: var(--blue); font-weight: 600; white-space: nowrap; }
.menu-item__price small { font-size: .8rem; color: var(--text-soft); }
.menu-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--text-soft); margin-top: 1.5rem; }

/* ---- Facilities feature list ---- */
.feature-list { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.feature p { margin: 0; color: var(--text-soft); font-size: .96rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.contact-list { display: grid; gap: 1rem; }
.contact-list a, .contact-list div { display: flex; gap: .9rem; align-items: center; color: var(--text); }
.contact-list .ci { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--sand); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; }
.contact-list .label { font-size: .78rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: .08em; }
.contact-list .value { font-weight: 600; color: var(--blue-ink); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; color: var(--text-soft); }
.hours-table tr.today td { color: var(--blue); font-weight: 700; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---- CTA strip ---- */
.cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 6vw, 4rem) var(--gutter); box-shadow: var(--shadow-md);
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.4rem; }

/* ---- Footer ---- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.82); padding-block: 3rem 2rem; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .brand__mark { height: 46px; color: #fff; margin-bottom: .8rem; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 38ch; font-size: .95rem; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.footer ul { display: grid; gap: .5rem; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.4rem; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }

/* Floating WhatsApp */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md); font-size: 1.6rem;
  transition: transform .15s;
}
.fab-wa:hover { transform: scale(1.08); color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
