/* =========================
   CSS Variables
   ========================= */
:root{
  --bg:#ffffff; --bg-alt:#f7f8fa; --body-text:#111; --muted:#555;
  --text-on-hero:#fff;
  --header-bg: rgba(255,255,255,0.82);
  --header-border:#eaeaea;
  --header-height: 64px;
  --radius:12px; --shadow:0 8px 24px rgba(0,0,0,.15);

  --cta-bg:#ff5a5f; --cta-hover:#e14b50; --cta-text:#fff;

  /* HERO tune */
  --hero-height: 80vh;
  --hero-height-md: 70vh;
  --hero-height-sm: 60vh;
  --hero-image: url('images/hero.jpg');
  --overlay-opacity:.45;
  --hero-pos-y: 75%;
  --title-size:3rem; --subtitle-size:1.4rem;
  --title-size-md:2.3rem; --subtitle-size-md:1.15rem;
  --title-size-sm:1.8rem; --subtitle-size-sm:1rem;
}

/* Reset / base */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
html, body { overflow-x: hidden; }
body{
  font-family: system-ui, -apple-system, 'Inter', Roboto, Segoe UI, Arial, sans-serif;
  color: var(--body-text);
  background: var(--bg);
  padding-top: var(--header-height);
  scroll-behavior:smooth;
}
img{max-width:100%;display:block}
.container{width:min(1100px, 92%); margin:0 auto}
.visually-hidden{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Anchor hedefleri header’a çarpmadan */
.hero, .section { scroll-margin-top: calc(var(--header-height) + 10px); }

/* Header */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 9999;
  backdrop-filter: blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-height);
}
.nav-wrap{display:flex;align-items:center;gap:.6rem;justify-content:flex-start;height:100%}
.brand{font-weight:800;letter-spacing:.2px;white-space:nowrap}
.spacer{flex:1}
.nav{display:flex;gap:1rem;align-items:center}
.nav-link{color:#333;text-decoration:none;font-weight:600;padding:.4rem .6rem;border-radius:8px}
.nav-link:hover{background:#f0f2f5}
.theme-switch button{background:transparent;border:1px solid var(--header-border);border-radius:10px;padding:.38rem .6rem;cursor:pointer}
.lang-switch select{background:transparent;border:1px solid var(--header-border);border-radius:10px;padding:.38rem .6rem;cursor:pointer;color:#111}

/* Burger (SOL) — DÜZELTME */
.burger{
  display:none;                 /* 760px altı: inline-flex'e geçiyoruz */
  background:transparent;
  border:1px solid var(--header-border);
  border-radius:12px;
  width:42px; height:38px;
  padding:8px 9px;
  align-items:center; 
  justify-content:center;
  /* kritik: çizgileri alt alta diz */
  flex-direction: column; 
  gap: 5px;
  cursor:pointer;
}
.burger span{
  width:22px; 
  height:2px; 
  background:#111; 
  border-radius:2px;
  margin:0;                    /* önceki marginleri kaldır */
}

/* HERO */
.hero{
  position:relative;width:100%;height:var(--hero-height);
  background: var(--hero-image) no-repeat center var(--hero-pos-y)/cover;
  display:flex;align-items:center;justify-content:center;text-align:center;color:var(--text-on-hero);
}
.hero .overlay{position:absolute;inset:0;background:rgba(0,0,0,var(--overlay-opacity));z-index:1}
.hero-content{position:relative;z-index:2;max-width:900px;padding:0 1rem}
.hero-content h1{font-size:var(--title-size);line-height:1.08;margin-bottom:1rem;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero-content p{font-size:var(--subtitle-size);opacity:.95;margin-bottom:1.8rem}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap;justify-content:center}
.cta-btn{
  display:inline-block;padding:.9rem 1.4rem;border-radius:10px;
  background:var(--cta-bg);color:var(--cta-text);text-decoration:none;font-weight:800;
  box-shadow: var(--shadow); transition:transform .16s ease, background .25s ease;
}
.cta-btn:hover{background:var(--cta-hover);transform:translateY(-1px)}
.cta-blue   { --cta-bg:#0077b6; --cta-hover:#035a8a }
.cta-coral  { --cta-bg:#ff5a5f; --cta-hover:#e14b50 }
.cta-emerald{ --cta-bg:#10b981; --cta-hover:#0d9668 }

/* Sections */
.section{padding:72px 0}
.section:nth-child(even){background:var(--bg-alt)}
.section h2{text-align:center;font-size:2rem;margin-bottom:1rem}
.section p{color:var(--muted);text-align:center;max-width:900px;margin:0 auto}

/* Gallery */
.gallery .grid{
  margin-top:24px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:14px;
}
.gallery .thumb{
  border-radius:12px; cursor:pointer; object-fit:cover; aspect-ratio: 4/3;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}
.gallery .thumb:hover{transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.16)}

/* Google map */
.gmap-embed{margin-top:16px;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);height:380px}
.gmap-embed iframe{width:100%;height:100%;border:0}

/* Reviews (kısaltılmış) */
.reviews .rvw-head{display:grid;grid-template-columns:220px 1fr;gap:24px;align-items:center;max-width:1000px;margin:8px auto 28px}
.reviews .rvw-bars{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reviews .rvw-bars .item{display:grid;grid-template-columns:140px 1fr 48px;align-items:center;gap:10px}
.reviews .rvw-bars .track{height:8px;background:#eee;border-radius:999px;overflow:hidden}
.reviews .rvw-bars .fill{height:100%;background:#111;border-radius:999px}
.rvw-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1000px;margin:0 auto}
.rvw-grid .card{display:grid;grid-template-columns:64px 1fr;gap:12px;background:#fff;border:1px solid #eee;border-radius:12px;padding:14px}

/* Chips (amenities) */
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.4rem 0 1rem;justify-content:center}
.chip{
  display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .6rem;border-radius:999px;
  background:#eef2f7;border:1px solid #e2e8f0;font-size:.95rem;color:#1f2937;
}

/* Lightbox */
.lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,.88);
  display:none;align-items:center;justify-content:center;z-index:99999;
  width:100vw;height:100svh;overscroll-behavior:contain;touch-action:none;
}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:86vh;border-radius:12px;box-shadow:0 12px 48px rgba(0,0,0,.5)}
.lightbox .close{
  position:absolute;top:18px;right:22px;background:transparent;border:0;
  color:#fff;font-size:42px;cursor:pointer
}
.lightbox .nav{position:absolute;top:50%;transform:translateY(-50%);background:transparent;border:0;color:#fff;font-size:48px;cursor:pointer;padding:.2rem .6rem}
.lightbox .prev{left:18px}
.lightbox .next{right:18px}
.lb-caption{position:absolute;bottom:64px;left:50%;transform:translateX(-50%);padding:.4rem .7rem;background:rgba(0,0,0,.55);color:#fff;border-radius:8px;max-width:90vw;text-align:center}
.lb-thumbs{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;max-width:92vw;overflow-x:auto;padding:6px;background:rgba(0,0,0,.35);border-radius:10px}
.lb-thumbs img{width:64px;height:48px;object-fit:cover;border-radius:6px;opacity:.7;cursor:pointer;border:2px solid transparent}
.lb-thumbs img.active{opacity:1;border-color:#fff}
body.lightbox-open{overflow:hidden}

/* Responsive */
@media (max-width: 980px){
  .gallery .grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 760px){
  .container{padding-inline:12px}
  .hero{height:var(--hero-height-md)}
  .hero-content h1{font-size:var(--title-size-md)}
  .hero-content p{font-size:var(--subtitle-size-md)}
  .burger{display:inline-flex}

  /* Soldan açılan çekmece menü */
  .nav{
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 12px; right: auto;
    width: clamp(190px, 62vw, 300px);
    background:#fff;border:1px solid var(--header-border);
    border-radius:12px;flex-direction:column;gap:.2rem;padding:.6rem;display:none;margin:0;
    box-shadow:0 10px 30px rgba(0,0,0,.15); z-index:10050;
  }
  .nav.open{display:flex}

  .hero{height:var(--hero-height-md)}
}
/* 760px ve altı görünür olsun */
@media (max-width: 760px){
  .burger{ display:inline-flex; }
}
@media (max-width: 520px){
  .hero{height:var(--hero-height-sm)}
  .hero-content h1{font-size:var(--title-size-sm)}
  .hero-content p{font-size:var(--subtitle-size-sm)}
  .cta-row{flex-direction:column}
  .gallery .grid{grid-template-columns:1fr}
}

/* Dark theme */
body.dark{
  --bg:#0f172a;--body-text:#e5e7eb;--muted:#94a3b8;--bg-alt:#0b1223;
  --header-bg:rgba(17,24,39,0.75);--header-border:#1f2937;
}
body.dark .nav-link{color:#e5e7eb}
body.dark .gallery .thumb{box-shadow:0 4px 14px rgba(0,0,0,.3)}
body.dark .rvw-grid .card{background:#111827;border-color:#1f2937}
body.dark .rvw-bars .track{background:#253245}
body.dark .rvw-bars .fill{background:#e5e7eb}
body.dark .chip{background:#0f172a;border-color:#1f2937;color:#e5e7eb}
body.dark .lang-switch select{background:#0f172a;color:#e5e7eb;border-color:#1f2937}
body.dark .theme-switch button{border-color:#1f2937;color:#e5e7eb}
body.dark .burger span{ background:#e5e7eb; }
@media (max-width:760px){
  body.dark .nav{ background:#111827; border-color:#1f2937 }
}
/* small helpers */
.muted{color:#777}
.divider{height:1px;background:#e6e6e6;margin:24px auto;max-width:980px;border-radius:1px}
body.dark .divider{background:#243244}

