/* Çeşme Villa Forever — tasarım belirteçleri */
:root {
  --ink: #14212B;        /* koyu deniz laciverti: metin, koyu zeminler */
  --ink-70: #4A5964;
  --ink-40: #8E9AA3;
  --line: #D9DED9;
  --white: #FFFFFF;
  --sand: #EFE9DD;       /* açık kum: bölüm ritmi */
  --sand-deep: #E3D9C4;
  --aegean: #1B7A8C;     /* Ege turkuazı: bağlantı, vurgu */
  --aegean-deep: #12596A;
  --bougainvillea: #D9467A; /* begonvil: tek eylem rengi */
  --bougainvillea-deep: #B8305F;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.6; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aegean); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--aegean-deep); }
:focus-visible { outline: 3px solid var(--aegean); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(34px, 4.6vw, 54px); }
h3 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Düğmeler */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1.5px solid transparent; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
  cursor: pointer; font-family: var(--body); line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bougainvillea); color: #fff; }
.btn-primary:hover { background: var(--bougainvillea-deep); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff; }

/* Üst bar */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-header.is-solid { background: rgba(20,33,43,.92); backdrop-filter: blur(8px); padding: 10px 0; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 150px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; opacity: .92; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav-call a { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 8px 16px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 15px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,33,43,.55) 0%, rgba(20,33,43,.15) 40%, rgba(20,33,43,.55) 100%); }
.hero-in { position: relative; text-align: center; padding: 100px var(--gutter) 90px; max-width: 820px; width: 100%; }
.hero-mark { position: relative; width: min(78vw, 440px); aspect-ratio: 1; margin: 0 auto 6px; display: grid; place-items: center; }
.diamond {
  position: absolute; inset: 0; margin: auto; width: 70.7%; aspect-ratio: 1; rotate: 45deg;
  border: 1.5px solid rgba(255,255,255,.8); pointer-events: none;
}
.hero-logo { width: 74%; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); }
.hero-line { font-family: var(--display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; margin: 0 auto 30px; max-width: 24ch; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; width: 1px; height: 46px; background: linear-gradient(#fff0, #fff); opacity: .8; }

/* Tek sahne animasyonu */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo, .hero-line, .hero-actions { opacity: 0; translate: 0 14px; animation: rise .9s var(--ease) forwards; }
  .hero-line { animation-delay: .25s; }
  .hero-actions { animation-delay: .45s; }
  .diamond { opacity: 0; scale: .92; animation: diamond 1.4s var(--ease) .1s forwards; }
  @keyframes rise { to { opacity: 1; translate: 0 0; } }
  @keyframes diamond { to { opacity: 1; scale: 1; } }
}

/* Bölümler */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { max-width: 58ch; color: var(--ink-70); margin: 0; }
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.two-col-rev > figure { order: -1; }
.lead h2 { max-width: 16ch; }
.lead p { max-width: 58ch; color: var(--ink-70); font-size: 17.5px; }

.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.facts li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.facts strong { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.1; }
.facts span { color: var(--ink-70); font-size: 15px; }

.wide { margin: clamp(48px, 7vw, 96px) 0 0; }
.wide img { width: 100%; max-height: 72vh; object-fit: cover; }
.wide figcaption { font-size: 14px; color: var(--ink-40); padding: 12px var(--gutter) 0; }

/* Video */
.section-dark { background: var(--ink); color: #fff; }
.video-wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.video-text h2 { max-width: 12ch; }
.video-text p { color: rgba(255,255,255,.72); max-width: 32ch; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-play { border: 0; padding: 0; background: #000; cursor: pointer; display: block; }
.video-play img { object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-play:hover img { opacity: 1; }
.video-btn { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.video-btn svg { margin-left: 4px; }
.video-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

/* Karşılaştırma tablosu */
.compare { border-top: 1.5px solid var(--ink); margin-bottom: 44px; }
.compare-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr 1.3fr 1.3fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--sand-deep); align-items: baseline; }
.compare-head { font-size: 13.5px; color: var(--ink-70); font-weight: 500; }
.compare-row span:first-child { font-family: var(--display); font-size: 28px; font-weight: 500; }
.compare-row b { font-weight: 600; }

/* Sekmeler ve planlar */
.tablist { display: flex; gap: 6px; border-bottom: 1px solid var(--sand-deep); margin-bottom: 32px; }
.tablist [role="tab"] {
  background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 18px;
  font: 500 16px/1 var(--body); color: var(--ink-70); cursor: pointer;
}
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.plan-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.plan-spec h3 { display: flex; flex-direction: column; gap: 2px; margin: 0 0 10px; }
.plan-spec h3 small { font-family: var(--body); font-size: 14px; color: var(--ink-70); font-weight: 500; }
.plan-spec dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0 0 28px; font-size: 15.5px; }
.plan-spec dt { color: var(--ink-70); }
.plan-spec dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.plan-spec .note { font-size: 14.5px; color: var(--ink-70); border-left: 2px solid var(--aegean); padding-left: 12px; }
.plan-imgs { display: grid; gap: 22px; }
.plan-imgs figure { margin: 0; background: #fff; padding: 10px; border: 1px solid var(--sand-deep); }
.plan-imgs figcaption { font-size: 14px; color: var(--ink-70); padding: 8px 4px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--sand-deep); }
.cta-row p { margin: 0; font-family: var(--display); font-size: 24px; }

/* Galeri */
.filters { display: flex; gap: 6px; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: 500 14.5px var(--body); color: var(--ink-70); cursor: pointer; }
.filters button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 10px; }
.gallery .g { display: block; overflow: hidden; background: var(--sand); }
.gallery .g.tall { grid-row: span 2; }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery .g:hover img { transform: scale(1.03); }
.gallery .g.is-hidden { display: none; }

/* Konum */
.map { margin: 0; }
.map img { width: 100%; border: 1px solid var(--sand-deep); background: #fff; }
.distances { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; margin: 22px 0 26px; border-top: 1px solid var(--sand-deep); padding-top: 18px; max-width: 460px; }
.distances dt { color: var(--ink-70); }
.distances dd { margin: 0; font-family: var(--display); font-size: 22px; text-align: right; }
.addr { color: var(--ink-70); }

/* İletişim */
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.contact-list a { font-family: var(--display); font-size: 26px; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--aegean); }
.contact-list span { font-size: 13.5px; color: var(--ink-40); }
.form { background: var(--sand); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-70); }
.field input, .field select, .field textarea {
  font: 400 16px var(--body); padding: 12px 14px; border: 1px solid var(--sand-deep); background: #fff; color: var(--ink); border-radius: var(--radius); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aegean); outline-offset: 1px; border-color: var(--aegean); }
.field .is-invalid { border-color: var(--bougainvillea); }
.consent { font-size: 14px; color: var(--ink-70); margin: 0; }
.consent input { margin-right: 6px; }
.form-msg { margin: 0; font-size: 14.5px; min-height: 1.4em; color: var(--aegean-deep); }

/* Alt bilgi */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 36px; }
.footer-in { display: grid; gap: 10px; }
.footer-in img { width: 150px; }
.footer-in p { margin: 0; font-size: 15px; color: var(--ink-70); }
.footer-in .fine { font-size: 13px; color: var(--ink-40); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(20,33,43,.92); }
.lb-dialog { position: relative; width: min(96vw, 1400px); height: 92vh; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 6px; }
.lb-dialog figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; min-width: 0; }
.lb-dialog img { max-width: 100%; max-height: calc(92vh - 48px); object-fit: contain; }
.lb-dialog figcaption { color: #fff; font-size: 14.5px; padding: 12px 0 0; opacity: .85; }
.lb-close, .lb-prev, .lb-next { background: none; border: 0; color: #fff; font: 300 44px/1 var(--display); cursor: pointer; padding: 8px; opacity: .8; }
.lb-close { position: absolute; top: -6px; right: 0; font-size: 36px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }

/* Sabit WhatsApp */
.float-call { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; text-decoration: none; padding: 12px 16px 12px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.float-call:hover { color: #fff; background: #1FB85A; }

/* Duyarlılık */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .plan-grid { grid-template-columns: 1fr; }
  .video-wrap { grid-template-columns: 1fr; }
  .video-text h2, .video-text p { max-width: none; }
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(20,33,43,.97); padding: 12px var(--gutter) 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul.is-open { display: flex; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-call a { border: 0; padding: 12px 0; }
  .site-header { background: rgba(20,33,43,.92); padding: 10px 0; }
  .compare-row { grid-template-columns: .8fr 1fr 1fr 1.2fr 1.2fr; font-size: 14.5px; gap: 8px; }
  .compare-row span:first-child { font-size: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .facts { grid-template-columns: 1fr; }
  .hero-in { padding-top: 100px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .compare-head span:nth-child(2), .compare-head span:nth-child(3), .compare-row span:nth-child(2), .compare-row span:nth-child(3) { display: none; }
  .compare-row { grid-template-columns: .8fr 1.2fr 1.2fr; }
  .lb-dialog { grid-template-columns: 32px 1fr 32px; }
  .float-call span { display: none; }
  .float-call { padding: 12px; }
}
@media print { .site-header, .float-call, .scroll-cue, .lightbox { display: none !important; } .hero { min-height: auto; } }
