/* ===== Akpolat Gayrimenkul İnşaat — Stil ===== */
:root {
  --ink: #0e1a24;
  --ink-2: #16262f;
  --ink-3: #22363f;
  --gold: #c8a35b;
  --gold-2: #e2c88f;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --text: #2a3338;
  --muted: #6b767c;
  --line: #e6dfd2;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(14, 26, 36, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.35rem; }
em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--sm { padding: .6rem 1.2rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* ===== Menü ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 1.1rem 0; transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(14, 26, 36, .94); backdrop-filter: blur(10px); padding: .7rem 0; box-shadow: 0 6px 30px rgba(0,0,0,.2); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; }
.brand__mark {
  width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 10px;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.6rem; color: var(--gold);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .14em; font-weight: 700; }
.brand__text small { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { color: rgba(255,255,255,.85); font-size: .92rem; }
.nav__links a:not(.btn):hover { color: var(--gold-2); }
.nav__links .btn { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ===== Giriş ===== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; padding: 130px 0 70px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  }
.hero__bg::after {
  /* mimari çizim ızgarası */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,163,91,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,163,91,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.hero__content { max-width: 1180px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 56ch; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.2rem 0 3.2rem; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2.5rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.8rem; max-width: 640px; }
.hero__stats strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--gold-2); font-weight: 600; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ===== Şerit ===== */
.strip { background: var(--gold); color: var(--ink); padding: 1.1rem 0; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.4rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; }
.strip i { width: 6px; height: 6px; background: var(--ink); transform: rotate(45deg); }

/* ===== Bölümler ===== */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section--soft { background: var(--cream); }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 3.5rem; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* ===== Hizmetler ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service p { color: var(--muted); margin: 0; }
.service--feature { grid-row: span 2; background: var(--ink); color: rgba(255,255,255,.75); border-color: var(--ink); display: flex; flex-direction: column; }
.service--feature h3 { color: #fff; font-size: 2rem; }
.service--feature p { color: rgba(255,255,255,.7); }
.service__icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(200,163,91,.12); display: grid; place-items: center; margin-bottom: 1.4rem; }
.service__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ticks { list-style: none; padding: 0; margin: auto 0 0; padding-top: 1.8rem; display: grid; gap: .7rem; }
.ticks li { display: flex; gap: .7rem; align-items: center; color: #fff; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1a24' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ===== Neden biz ===== */
.why { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.why__text p { font-size: 1.05rem; margin-bottom: 2rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--ink-2); padding: 2rem; }
.why__item span { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; letter-spacing: .1em; }
.why__item h4 { margin: .5rem 0 .4rem; }
.why__item p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.62); }

/* ===== Öncesi / Sonrası ===== */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.project { margin: 0; }
.project figcaption { padding-top: 1rem; display: flex; flex-direction: column; }
.project figcaption strong { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); font-weight: 600; }
.project figcaption span { color: var(--muted); font-size: .9rem; }

.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; }
.ba__img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ba__img--after  { background-image: linear-gradient(160deg, #6fa8c7 0%, #cfe3e9 45%, #6f9a6a 46%, #3f6b45 100%); }
.ba__img--before { background-image: linear-gradient(160deg, #b9c4c9 0%, #e7ddc9 45%, #b89a6f 46%, #8a6d48 100%); clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__img::after {
  content: attr(data-label); position: absolute; top: 14px;
  font-size: .7rem; letter-spacing: .2em; font-weight: 600; padding: .35rem .7rem; border-radius: 999px;
  background: rgba(14,26,36,.75); color: #fff; backdrop-filter: blur(4px);
}
.ba__img--before::after { left: 14px; }
.ba__img--after::after { right: 14px; background: var(--gold); color: var(--ink); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle span {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.ba__handle span::before, .ba__handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%);
}
.ba__handle span::before { left: 8px; border-right-color: var(--ink); }
.ba__handle span::after { right: 8px; border-left-color: var(--ink); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ===== Süreç ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1rem; }
.steps li span {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold);
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.4rem; color: var(--gold);
  background: var(--cream); position: relative; z-index: 1; margin-bottom: 1.2rem;
}
.steps li:not(:last-child)::before { content: ""; position: absolute; top: calc(1rem + 26px); left: 52px; right: -1.2rem; height: 1px; background: var(--line); }
.steps p { color: var(--muted); font-size: .93rem; }

/* ===== Bölgeler ===== */
.regions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.regions p { color: var(--muted); }
.regions__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.regions__list li { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; font-size: .95rem; display: flex; align-items: center; gap: .6rem; }
.regions__list li::before { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ===== SSS ===== */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.5rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.6rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.25rem; margin: 0; }

/* ===== İletişim ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 1.2rem; }
.contact__list span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.contact__list a, .contact__list p { color: #fff; margin: 0; font-size: 1.05rem; }
.contact__list a:hover { color: var(--gold-2); }
.form { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: 2.4rem; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: grid; gap: 1rem; }
.form h3 { color: var(--ink); margin-bottom: .2rem; }
.form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit; font-size: .95rem; font-weight: 400; color: var(--text);
  padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fcfbf8; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,163,91,.2); }
.form small { color: var(--muted); text-align: center; }

/* ===== Alt bilgi ===== */
.footer { background: #0a131a; color: rgba(255,255,255,.5); padding: 3rem 0; font-size: .88rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.footer__seo { max-width: 52ch; margin: 1rem 0 0; }
.footer__copy { margin: 0; }

/* ===== WhatsApp ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Görünme animasyonu ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ===== Duyarlı tasarım ===== */
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service--feature { grid-row: auto; grid-column: span 2; }
  .projects { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .steps li::before { display: none; }
  .why, .regions, .contact { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; gap: 1.5rem;
    transform: translateX(100%); transition: transform .35s ease; box-shadow: -20px 0 40px rgba(0,0,0,.3);
  }
  .nav__links a { font-size: 1.15rem; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle { position: relative; z-index: 2; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services, .projects, .why__grid { grid-template-columns: 1fr; }
  .service--feature { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .regions__list { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 1.5rem; }
  .contact__list li { grid-template-columns: 1fr; gap: .2rem; }
  .form { padding: 1.6rem; }
  .brand__text strong { font-size: 1.15rem; }
}
.ba__img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== v2: fotoğraflı hizmetler, galeri, ışık kutusu ===== */
.hero__bg { background-size: cover; background-position: center; }
.service { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service:hover .service__img img { transform: scale(1.06); }
.service__body { padding: 1.8rem 2rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 1.55rem; }
.service--feature .service__img { aspect-ratio: auto; flex: 1 1 260px; min-height: 260px; }
.service--feature .service__body { flex: 0 0 auto; }
.service--feature .ticks { margin-top: 1.4rem; padding-top: 0; }
.steps li span { background: var(--paper); }

.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--line); }
.gallery__item:nth-child(6n+1) { grid-row: span 2; }
.gallery__item:nth-child(6n+5) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #fff;
  font-family: var(--serif); font-size: 1.2rem; background: linear-gradient(transparent, rgba(14,26,36,.85));
  opacity: 0; transform: translateY(8px); transition: .35s;
}
.gallery__item:hover span, .gallery__item:focus-visible span { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,20,.94); display: flex; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-family: var(--serif); font-size: 1.3rem; margin-top: 1rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: var(--gold); color: var(--ink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 1024px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:nth-child(6n+5) { grid-column: auto; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: .6rem; }
  .gallery__item:nth-child(6n+1) { grid-row: auto; }
  .gallery__item span { opacity: 1; transform: none; font-size: 1rem; padding: 1.5rem .8rem .6rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}
