/* ---------- VARIABLES ---------- */
:root{
  --olive:#708E63;
  --pool:#2BB4E6;
  --wood:#8A5A3A;
  --stucco:#F6F6F6;
  --charcoal:#2E2E2E;
  --ink:#222;
  --muted:#687076;

  /* Effects */
  --shadow-soft: 0 8px 26px rgba(0,0,0,.06);
  --shadow-lift: 0 14px 38px rgba(0,0,0,.12);
  --ring-olive: 0 0 0 6px rgba(112,142,99,.08);
}

/* ===== Mobile-safe reset (δεν αλλάζει desktop layout) ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { width:100%; max-width:100%; overflow-x:hidden; }
img, video { max-width:100%; height:auto; display:block; }

/* Typography */
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:#f8f9f4;
  line-height:1.55;
}
h1,h2,h3,h4,h5,h6{
  font-family:'Lato', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--charcoal);
  letter-spacing:.2px;
  margin:0 0 .5rem 0;
}
h1{ font-size:52px; font-weight:900; line-height:1.1; }
h2{ font-size:34px; font-weight:800; }
h3{ font-size:22px; font-weight:700; }
h4,h5{ font-weight:700; }
p{ margin:0 0 1rem 0; }
.small{ font-size:.9rem; }
.muted{ color:var(--muted); }

/* Focus visible for accessibility */
:focus-visible{
  outline: 3px solid var(--pool);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Layout helpers */
.container{ width:1100px; margin:0 auto; padding:0 20px; }
.container.wide{ width:1200px; }
.section{ padding:80px 0; }
.section.alt{ background:var(--stucco); }
.section-head{ margin-bottom:24px; }
.section-head.center{ text-align:center; }

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:100;
  background:#fff; border-bottom:1px solid rgba(0,0,0,.06);
  backdrop-filter:saturate(120%) blur(6px);
}
.logo-img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height:74px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand .logo-mark{ font-size:24px; }
.brand .brand-text{ font-weight:800; font-family:'Lato', sans-serif; text-transform:uppercase; letter-spacing:.6px; }
.brand.small .logo-img{ height:40px; }

/* desktop nav */
.top-actions{ display:flex; align-items:center; gap:18px; }
.main-nav a{
  position:relative;
  text-decoration:none; color:var(--charcoal);
  margin:0 14px; font-weight:700;
  display:inline-block; padding:4px 0;
}
.main-nav a::after{
  content:"";
  position:absolute; left:0; bottom:-2px; height:2px; width:100%;
  background:linear-gradient(90deg, var(--olive), var(--pool));
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
@media (hover:hover){
  .main-nav a:hover{ color:var(--olive); }
  .main-nav a:hover::after{ transform:scaleX(1); }
}

.lang-switch .lang-btn{
  border:1px solid rgba(0,0,0,.1);
  background:#fff; padding:6px 10px; border-radius:10px; cursor:pointer;
  font-weight:700; font-family:'Lato', sans-serif;
  transition: box-shadow .2s ease, transform .08s ease, border .2s ease, color .2s ease;
}
@media (hover:hover){
  .lang-switch .lang-btn:hover{
    border-color:var(--olive); color:var(--olive); box-shadow:var(--ring-olive);
  }
}
.lang-switch .lang-btn:active{ transform:translateY(1px); }

.social-icons {
  display:flex;
  gap:12px;
  margin-left: 8px;
}
.social-icons a {
  color: var(--charcoal);
  font-size: 20px;
  transition: color .2s ease, transform .2s ease;
}
@media (hover:hover) {
  .social-icons a:hover {
    color: var(--olive);
    transform: translateY(-2px);
  }
}

/* Hamburger (hidden on desktop) */
.hamburger{
  display:none;
  position:relative;
  width:44px; height:44px;
  align-items:center; justify-content:center;
  border:1px solid rgba(0,0,0,.1);
  background:#fff; border-radius:10px; cursor:pointer;
}
.hamburger .bar{
  position:relative; display:block; width:22px; height:2px; background:var(--charcoal);
  transition: background-color .2s ease;
  border-radius:2px;
}
.hamburger .bar::before,
.hamburger .bar::after{
  content:""; position:absolute; left:0; width:22px; height:2px; background:var(--charcoal);
  transition: transform .25s ease, top .25s ease, opacity .2s ease, background-color .2s ease;
  border-radius:2px;
}
.hamburger .bar::before{ top:-7px; }
.hamburger .bar::after{ top:7px; }

/* Open state -> becomes X */
.hamburger.is-open .bar{ background:transparent; }
.hamburger.is-open .bar::before{
  top:0; transform:rotate(45deg);
}
.hamburger.is-open .bar::after{
  top:0; transform:rotate(-45deg);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hamburger .bar::before,
  .hamburger .bar::after{ transition:none; }
}

/* Mobile: μεγαλύτερο tap target */
@media (max-width:720px){
  .hamburger{ display:inline-flex; width:46px; height:46px; }
}

/* Off-canvas mobile menu */
.mobile-backdrop{
  position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:98;
}
.mobile-menu{
  position:fixed; top:0; right:0; height:100dvh; width:min(86%, 380px);
  background:#fff; border-left:1px solid rgba(0,0,0,.08); z-index:99;
  transform: translateX(100%); transition: transform .28s ease;
  display:flex; flex-direction:column; padding:14px;
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-header{ display:flex; align-items:center; justify-content:space-between; padding:6px 4px 10px; }
.close-mobile{
  border:1px solid rgba(0,0,0,.1); background:#fff; width:40px; height:40px; border-radius:10px; cursor:pointer;
}
.mobile-nav{ display:grid; gap:10px; padding:12px 4px; }
.mobile-nav a{
  display:block; padding:12px 12px; border-radius:12px; text-decoration:none; color:var(--charcoal);
  font-weight:800; border:1px solid rgba(0,0,0,.08);
}
.mobile-section{ display:grid; gap:12px; margin-top:8px; }
.lang-switch.mobile{ display:flex; gap:8px; flex-wrap:wrap; }
.w-full{ width:100%; }
.mobile-social{
  margin-top:auto; display:flex; gap:14px; justify-content:flex-start; padding:10px 4px 6px;
}
.mobile-social a{ font-size:22px; color:var(--charcoal); }

/* Hero */
.hero{ position:relative; overflow:hidden; contain:paint; }
.hero-bg{
  position:absolute; inset:0; background-size:cover; background-position:center;
  transform:scale(1.02);
  will-change: transform;
  animation: heroPan 18s ease-in-out infinite alternate;
}
.hero-overlay{
  position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25), rgba(0,0,0,.35));
}
.hero-inner{ position:relative; padding:140px 0 120px 0; color:#fff; }
.hero-title{ color:#fff; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.hero-sub{ font-size:18px; max-width:680px; text-shadow:0 2px 12px rgba(0,0,0,.3); }

/* call-to-action micro lift */
.hero-ctas{ margin-top:22px; display:flex; gap:14px; }

/* Photo strip */
.photo-strip{
  display:flex; gap:10px; padding:10px; background:#fff; border-top:1px solid rgba(0,0,0,.06);
}
.photo-strip img{
  height:130px; width:33.333%; object-fit:cover; border-radius:14px;
  box-shadow:0 6px 24px rgba(0,0,0,.12);
  transition: transform .35s ease, box-shadow .3s ease;
  will-change: transform;
}
@media (hover:hover){
  .photo-strip img:hover{
    transform: translateY(-4px) scale(1.02) rotate(-.2deg);
    box-shadow: var(--shadow-lift);
  }
}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 18px; border-radius:12px; text-decoration:none; font-weight:800;
  transition:transform .08s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border .2s ease;
  border:1px solid transparent; cursor:pointer;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--pool); color:#fff; box-shadow:0 6px 22px rgba(43,180,230,.35); }
@media (hover:hover){
  .btn-primary:hover{ background:#14a5da; box-shadow:0 12px 32px rgba(43,180,230,.45); }
}
.btn-secondary{ background:var(--olive); color:#fff; box-shadow:0 6px 22px rgba(112,142,99,.35); }
@media (hover:hover){
  .btn-secondary:hover{ background:#5f7954; box-shadow:0 12px 32px rgba(112,142,99,.45); }
}
.btn-ghost{ background:#fff; color:var(--charcoal); border-color:rgba(0,0,0,.18); }
@media (hover:hover){
  .btn-ghost:hover{ color:var(--olive); border-color:var(--olive); box-shadow:var(--ring-olive); }
}

/* Cards */
.cards-3{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; }
.card{
  border:1px solid rgba(0,0,0,.08); border-radius:18px; overflow:hidden; background:#fff;
  box-shadow:var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}
.card-media{ height:220px; background-size:cover; background-position:center; transition: transform .5s ease; }
.card-body{ padding:18px; }
@media (hover:hover){
  .card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(112,142,99,.25);
  }
  .card:hover .card-media{ transform: scale(1.05); }
}

/* Amenities */
.grid-amenities{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-top:16px;
}
.amenity{
  background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:16px; padding:16px 18px;
  display:flex; flex-direction:column; gap:6px;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.amenity .ico{ font-size:26px; }
.amenity .ico i { font-size: 26px; color: var(--olive); transition: transform .25s ease, text-shadow .25s ease; }
@media (hover:hover){
  .amenity:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(112,142,99,.22);
  }
  .amenity:hover .ico i{
    transform: translateY(-2px);
    text-shadow: 0 8px 18px rgba(112,142,99,.35);
  }
}

/* About */
.about-wrap{ display:grid; grid-template-columns:1.2fr .8fr; gap:28px; align-items:center; }
.about-media img{
  width:100%; height:100%; object-fit:cover; border-radius:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  transition: transform .4s ease, box-shadow .35s ease;
  will-change: transform;
}
@media (hover:hover){
  .about-media img:hover{
    transform: scale(1.02);
    box-shadow: 0 18px 46px rgba(0,0,0,.18);
  }
}
.about-ctas{ display:flex; gap:12px; margin-top:12px; }

/* Footer */
.footer{ margin-top:80px; background:#0f1412; color:#f2f2f2; padding:50px 0 24px; }
.footer .brand .brand-text{ color:#fff; }
.footer h5{ margin-bottom:10px; color:#fff; font-family:'Lato', sans-serif; letter-spacing:.4px; }
.foot-links{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.foot-links a{ color:#c9d1c8; text-decoration:none; }
@media (hover:hover){
  .foot-links a:hover{ color:#91a991; }
}
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:30px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.08); margin-top:26px; padding-top:16px; display:flex; align-items:center; justify-content:space-between; }

/* Cookie banner (glassy) */
.cookie-banner{
  position:fixed; left:20px; bottom:20px; z-index:60;
  max-width:560px; background:rgba(255,255,255,.9); border:1px solid rgba(0,0,0,.1); border-radius:16px;
  box-shadow:0 18px 50px rgba(0,0,0,.18); display:none;
  backdrop-filter: blur(8px) saturate(120%);
}
.cookie-inner{ padding:16px; display:flex; gap:16px; align-items:center; }
.cookie-text p{ margin:.2rem 0 0 0; color:var(--muted); }
.cookie-actions{ margin-left:auto; display:flex; gap:10px; }

/* Photo + hero animations */
@keyframes heroPan{
  0%{ transform: scale(1.04) translateY(0); }
  100%{ transform: scale(1.08) translateY(-8px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

/* Small desktop safety */
@media (max-width: 1200px){
  .container{ width:100%; }
  .container.wide{ width:100%; }
}

/* ---------- MOBILE & TABLET RESPONSIVE ---------- */

/* Tablet and down */
@media (max-width: 992px){
  /* shrink headings a bit */
  h1{ font-size:42px; }
  h2{ font-size:28px; }
  .hero-inner{ padding:120px 0 100px; }

  .cards-3{ grid-template-columns:repeat(2, 1fr); }
  .grid-amenities{ grid-template-columns:repeat(2, 1fr); }
  .about-wrap{ grid-template-columns:1fr; }
  .about-media{ order:2; }
  .about-text{ order:1; }

  .footer-grid{ grid-template-columns:1fr 1fr; }
}

/* Mobile */
@media (max-width: 720px){
  .top-actions{ display:none; }          /* hide desktop actions */
  .hamburger{ display:inline-flex; width:46px; height:46px; } /* μεγαλύτερο tap target */

  /* πιο σκούρο overlay για αναγνωσιμότητα */
  .hero-overlay{
    background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.28), rgba(0,0,0,.45));
  }
  .hero-inner{ padding:90px 0 80px; }
  .hero-title{ font-size:34px; line-height:1.15; }
  .hero-sub{ font-size:16px; max-width:92vw; }

  /* Photo strip ως ασφαλές carousel (χωρίς overflow) */
  .photo-strip{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:85%;
    gap:10px;
    padding:10px;
    margin:0;
    background:#f6f8f4;
    border-top:1px solid rgba(0,0,0,.1);
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
  }
  .photo-strip img{
    width:100%;
    height:48vw; max-height:260px;
    object-fit:cover;
    border-radius:16px;
    scroll-snap-align:center;
  }

  /* Κάρτες: σταθερή αναλογία εικόνας μόνο σε mobile */
  @supports (aspect-ratio: 1){
    .card-media{ height:auto; aspect-ratio:16/10; }
  }

  .cards-3{ grid-template-columns:1fr; }
  .grid-amenities{ grid-template-columns:1fr; gap:14px; }
  .amenity{ padding:14px 16px; border-color:rgba(0,0,0,.12); }
  .amenity .ico i{ font-size:24px; }

  /* About: μη σταθερό ύψος εικόνας για να μην κόβεται */
  .about-wrap{ gap:18px; }
  .about-media img{ width:100%; height:auto; border-radius:16px; }

  .section{ padding:56px 0; }

  .footer-grid{ grid-template-columns:1fr; gap:18px; }
  .foot-bottom{ flex-direction:column; gap:10px; align-items:flex-start; }

  .cookie-banner{ left:12px; right:12px; bottom:12px; max-width:none; }

  /* Off-canvas mobile menu (καλύτερη αντίθεση & scroll) */
  .mobile-backdrop{ background:rgba(0,0,0,.5); }
  .mobile-menu{
    width:min(90%, 420px);
    background:linear-gradient(180deg, #fff 0%, #f6f8f4 100%);
    box-shadow:-28px 0 44px rgba(0,0,0,.22);
    padding:calc(14px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
    border-left:0;
    overflow-y:auto;
  }
  .mobile-menu::before{
    content:""; position:absolute; inset:0 auto 0 0; width:1px;
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.3));
    pointer-events:none;
  }
  .mobile-nav{ gap:12px; padding:12px 0; }
  .mobile-nav a{
    font-size:18px; line-height:1.2;
    padding:14px 14px;
    border-radius:14px;
    background:#fff;
    border:1px solid rgba(16,24,20,.18);
    box-shadow:0 1px 1px rgba(0,0,0,.03);
  }
  .lang-switch.mobile{ gap:10px; flex-wrap:wrap; }
  .lang-switch.mobile .lang-btn{
    background:#fff; border:1px solid rgba(16,24,20,.18);
    padding:8px 12px; border-radius:12px; font-weight:800;
  }
  .lang-switch.mobile .lang-btn[aria-pressed="true"]{
    border-color:var(--olive);
    box-shadow:0 0 0 3px rgba(112,142,99,.18);
  }
  .mobile-section .btn{
    height:48px; font-size:16px; border-radius:14px;
    border:1px solid rgba(0,0,0,.06);
  }

  /* Topbar πιο καθαρό σε mobile */
  .topbar{
    border-bottom:1px solid rgba(0,0,0,.12);
    backdrop-filter:saturate(130%) blur(10px);
  }

  /* Logo λίγο μικρότερο για να μη στριμώχνεται */
  .logo-img{ height:52px; }
}

/* Ultra-small phones */
@media (max-width: 380px){
  .hero-title{ font-size:32px; }
  .photo-strip img{ height:52vw; }
}

/* Utility when mobile menu open to prevent background scroll */
body.no-scroll{
  height:100dvh; overflow:hidden;
}

/* Scroll-snap helper */
.scroll-snap{ scroll-padding:10px; }

/* Hide extra bars if markup has 3 spans */
.hamburger .bar:not(:first-child){ display:none; }

