/* Poolend — ana stil */

:root {
  --ink: #0f2a3d;
  --ink-2: #3b5161;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --white: #fffdf9;
  --blue: #1565b8;
  --pool: #2aa7c9;
  --green: #6cae3e;
  --line: rgba(15, 42, 61, .16);
  --dark: #0c2232;
  --dark-line: rgba(255, 255, 255, .14);

  --f-head: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Public Sans", system-ui, sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-stretch: 82%; line-height: 1.02; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; font-stretch: 90%; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--pool); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  font: 600 16px/1 var(--f-body); text-decoration: none;
  border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: var(--blue); border-color: var(--blue); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }

/* Üst bar */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .94);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { .top { backdrop-filter: blur(8px); } }
.top__in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo img { width: 132px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; }
.top__tel {
  font: 700 16px/1 var(--f-head); font-stretch: 85%; letter-spacing: .02em;
  text-decoration: none; padding: 11px 14px; border: 1.5px solid var(--ink); border-radius: 2px;
}
.top__tel:hover { background: var(--ink); color: var(--white); }
.burger { display: none; }

/* Giriş */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 7vw, 96px); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 10px; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; font-stretch: 78%; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font: 750 28px/1 var(--f-head); font-stretch: 80%; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.hero__photo { margin: 0; position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; }
figcaption { font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.hero__photo figcaption::before { content: "↑ "; }

/* Kayan bant */
.band { background: var(--ink); color: var(--paper); overflow: hidden; padding: 16px 0; }
.band__track { display: flex; width: max-content; animation: band 40s linear infinite; }
.band span { font: 600 18px/1 var(--f-head); font-stretch: 85%; letter-spacing: .04em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; }
.band span::after { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--green); margin-left: 56px; vertical-align: middle; transform: rotate(45deg); }
@keyframes band { to { transform: translateX(-50%); } }

/* Bölümler */
.sec { padding: var(--sec) 0; }
.sec--paper { background: var(--paper-2); }
.sec--dark { background: var(--dark); color: var(--paper); }
.sec--dark .sec__head p:not(.num), .sec--dark .contact__lead { color: rgba(244, 241, 234, .72); }
.sec__head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 920px; }
.sec__head p:not(.num) { margin-top: 16px; color: var(--ink-2); max-width: 40em; }
.sec__head--stack { grid-template-columns: 1fr; gap: 8px; }
.num { font: 600 14px/1.9 var(--f-body); letter-spacing: .1em; color: var(--blue); }
.num::before { content: "— "; }
.sec--dark .num { color: var(--pool); }

/* Modeller */
.models { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); border-left: 1px solid var(--line); }
.model { padding: 26px 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); display: flex; flex-direction: column; }
.model__size { font: 800 44px/1 var(--f-head); font-stretch: 75%; }
.model__size small { font-size: 18px; font-weight: 600; margin-left: 4px; color: var(--ink-2); }
.model__draw { margin: 22px 0 18px; height: 170px; display: flex; align-items: center; justify-content: center; }
.model__draw svg { width: 100%; height: 100%; overflow: visible; }
.model__note { font-size: 15px; color: var(--ink-2); }
.model__meta { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-2); }
.model__meta b { color: var(--ink); font-weight: 600; }
.model .stok { color: #3b7d17; }
.model .stok::before { content: "● "; }
.models__note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* İşler */
.works { display: grid; grid-template-columns: repeat(12, 1fr); gap: 36px 18px; }
.work { margin: 0; grid-column: span 4; }
.work img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; background: #18384d; }
.work figcaption { color: var(--paper); margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.work figcaption b { font: 700 19px/1.2 var(--f-head); font-stretch: 88%; }
.work figcaption span { font-size: 14px; color: rgba(244, 241, 234, .64); }
.works__more {
  grid-column: span 4; align-self: start; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  padding: 26px; border: 1px solid var(--dark-line); text-decoration: none; min-height: 220px;
}
.works__more b { font: 750 30px/1.05 var(--f-head); font-stretch: 80%; }
.works__more span { color: rgba(244, 241, 234, .64); font-size: 15px; }
.works__more:hover { border-color: var(--pool); }

/* Süreç */
.process { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 30px/1 var(--f-head); font-stretch: 75%; color: var(--pool); grid-row: span 2; }
.steps p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.process__photos { position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ph { margin: 0; }
.ph img { width: 100%; object-fit: cover; }
.ph--a { grid-column: 1 / -1; }
.ph--a img { aspect-ratio: 4 / 3; }
.ph--b { grid-column: 2; margin-top: -90px; border: 8px solid var(--paper); }
.ph--b img { aspect-ratio: 6 / 7; }

/* Karşılaştırma */
.compare { border-top: 1.5px solid var(--ink); background: var(--white); }
.compare__row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-bottom: 1px solid var(--line); }
.compare__row > span { padding: 16px 20px; font-size: 16px; }
.compare__row > span:first-child { font-weight: 600; }
.compare__row > span:nth-child(2) { color: var(--ink-2); }
.compare__row > span:nth-child(3) { background: rgba(42, 167, 201, .08); font-weight: 500; }
.compare__row--head > span { font: 700 14px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding-top: 18px; padding-bottom: 18px; }
.compare__row--head > span:nth-child(3) { background: var(--blue); color: #fff; }

/* Hizmetler */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__photo { margin: 0; }
.split__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split__text h2 { margin-top: 8px; }
.split__text > p:not(.num) { color: var(--ink-2); margin-top: 18px; max-width: 34em; }
.services { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1.5px solid var(--ink); }
.services li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.services strong { font: 700 18px/1.3 var(--f-head); font-stretch: 88%; }
.services span { color: var(--ink-2); font-size: 16px; }

/* Yorumlar */
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; background: var(--white); padding: 26px 24px 22px; border-top: 3px solid var(--pool); }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.review footer { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.review footer b { color: var(--ink); font-weight: 600; }
.stars { color: #d69a15; letter-spacing: 2px; font-size: 14px; }

/* SSS */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 650 20px/1.3 var(--f-head); font-stretch: 90%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 28px/1 var(--f-body); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* İletişim */
.contact { padding-bottom: 0; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.contact h2 { margin-top: 8px; }
.contact__lead { margin-top: 16px; max-width: 30em; }
.contact__tel { display: inline-block; margin-top: 32px; font: 800 clamp(36px, 5vw, 56px)/1 var(--f-head); font-stretch: 75%; text-decoration: none; color: var(--pool); }
.contact__tel:hover { color: #fff; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--dark-line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 16px; }
.contact__list span { color: rgba(244, 241, 234, .55); font-size: 14px; }
.form { background: var(--paper); color: var(--ink); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; align-self: start; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form small { font-weight: 400; color: var(--ink-2); }
.form input, .form select, .form textarea {
  font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-bottom: 1.5px solid var(--ink-2);
  border-radius: 0; padding: 12px 12px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.form .is-invalid { border-bottom-color: #c0392b; }
.form button { margin-top: 6px; }
.form__hint { font-size: 13px; color: var(--ink-2); }
.map { margin-top: var(--sec); height: 360px; filter: grayscale(.4) contrast(1.05); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Alt bilgi */
.foot { background: var(--dark); color: rgba(244, 241, 234, .6); font-size: 14px; border-top: 1px solid var(--dark-line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 28px; padding-bottom: 28px; }
.foot__in p:last-child { margin-left: auto; }
.foot__credit { padding-top: 14px; padding-bottom: 18px; border-top: 1px solid var(--dark-line); font-size: 13px; }
.foot__credit a { text-decoration: none; color: rgba(244, 241, 234, .5); }
.foot__credit a:hover { color: var(--paper); }
.foot__credit b { font-weight: 600; color: rgba(244, 241, 234, .75); }

/* Fotoğraf görüntüleyici */
.work { cursor: zoom-in; }
.work img { transition: opacity .2s; }
.work:hover img { opacity: .88; }
.lb { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb[open] { display: grid; place-items: center; align-content: center; }
.lb::backdrop { background: rgba(8, 22, 33, .92); }
.lb img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; object-fit: contain; }
.lb__cap { color: var(--paper); font-size: 15px; margin-top: 12px; text-align: center; padding: 0 16px; }
.lb__btn { position: fixed; background: none; border: 0; color: var(--paper); font: 300 44px/1 var(--f-body); width: 56px; height: 56px; cursor: pointer; }
.lb__btn:hover { color: var(--pool); }
.lb__close { top: 12px; right: 12px; }
.lb__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb > * { grid-column: 1; }

/* WhatsApp butonu */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.wa-float:hover { background: #1fb457; }

/* Görünüme girerken */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Duyarlı */
@media (max-width: 1020px) {
  .models { grid-template-columns: repeat(2, 1fr); }
  .work { grid-column: span 6; }
  .works__more { grid-column: span 6; }
  .services li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 20px; transform: translateY(-120%); transition: transform .25s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .top__tel { margin-left: auto; padding: 9px 10px; font-size: 15px; }
  .burger { display: grid; gap: 6px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; padding: 0; }
  .burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero__in, .process, .split, .contact__in, .faq-wrap { grid-template-columns: 1fr; }
  .hero__photo { order: -1; }
  .hero__photo img { aspect-ratio: 4 / 3; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div { padding-right: 10px; margin-right: 10px; }
  .facts dt { font-size: 22px; }
  .sec__head { grid-template-columns: 1fr; gap: 6px; }
  .process__photos { position: static; }
  .ph--b { margin-top: -60px; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row > span:first-child { grid-column: 1 / -1; padding-bottom: 0; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }
  .compare__row--head > span:first-child { display: none; }
  .compare__row > span { padding: 12px 14px; font-size: 15px; }
  .foot__in p:last-child { margin-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .models { grid-template-columns: 1fr; }
  .work, .works__more { grid-column: 1 / -1; }
  .top__tel { display: none; }
  .burger { margin-left: auto; }
  .btn { width: 100%; }
  .contact__list li { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
