/* ========== Temel ========== */
:root {
  --ink: #111111;
  --ink-2: #1e1e1e;
  --gold: #e0a526;
  --gold-light: #f5c842;
  --gold-dark: #9a6a12; /* beyaz zeminde okunabilir altın (yazılar için) */
  --gold-gradient: linear-gradient(135deg, #f7d465 0%, #e0a526 55%, #b87d14 100%);
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --text: #1f1f1f;
  --muted: #6b6760;
  --bg: #ffffff;
  --soft: #f7f5f0;
  --border: #ebe6db;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}

/* ========== Butonlar ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--gold-gradient); color: var(--ink); box-shadow: 0 6px 18px rgba(224, 165, 38, .35); }
.btn--accent:hover { background: var(--gold-light); color: var(--ink); box-shadow: 0 8px 24px rgba(224, 165, 38, .5); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }

/* ========== Header ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; }
.logo img { height: 66px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-weight: 500; color: var(--ink); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: var(--gold); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  background:
    radial-gradient(circle at 78% 45%, rgba(224, 165, 38, .22), transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
.hero h1 span { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.08rem; color: #cfcac0; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8rem 0 1.4rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: #e8e3d8; font-size: .92rem; }

.hero__logo {
  width: 100%;
  max-width: 540px;
  height: auto;
  margin-left: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
}

/* ========== Bölümler ========== */
.section { padding: 90px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #c9c5bc; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--gold-light); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section__head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section__head p { color: var(--muted); }
.section--dark .section__head p { color: #9a968e; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Hizmet kartları */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(224, 165, 38, .14);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Araçlarımız galerisi (dikey fotoğraf + video) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d9d3c6;
}
.gallery__item picture { display: block; height: 100%; }
.gallery__item img,
.gallery__item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.gallery__item img { cursor: zoom-in; }
.gallery__item video { cursor: pointer; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(10, 10, 10, .85));
  color: #fff;
  font-weight: 600;
  pointer-events: none;
}

/* Paketleme kartları */
.pack-card {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 12px 24px 28px;
  text-align: center;
}
.pack-card img { width: 100%; height: auto; margin-bottom: 6px; }
.pack-card h3 { font-size: 1.15rem; }
.pack-card p { color: var(--muted); font-size: .95rem; margin: 0; }

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 90vh;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 10px; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--ink);
  font-size: 1.8rem; line-height: 1;
  cursor: pointer;
}

/* Neden biz */
.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(224, 165, 38, .18);
}
.feature__num { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; }
.feature p { margin: 0; font-size: .94rem; }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 60px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--ink);
  font-weight: 700;
  display: grid; place-items: center;
}
.steps strong { display: block; color: #fff; }
.steps span { font-size: .9rem; color: #9a968e; }

/* Teklif formu */
.quote { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.quote__text h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.quote__text p { color: var(--muted); }
.quote__phone { display: inline-block; font-size: 1.8rem; font-weight: 800; color: var(--ink); border-bottom: 3px solid var(--gold); }

.form {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.form input, .form select, .form textarea {
  font: inherit;
  font-size: 16px; /* iOS zoom'u engeller */
  padding: .75rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--soft);
  color: var(--text);
  width: 100%;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form textarea { resize: vertical; }
.form__error { color: #dc2626; font-size: .9rem; margin: 0; }
.form .is-invalid { border-color: #dc2626; }

/* SSS */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 30px 18px 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400;
  color: var(--gold-dark);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* İletişim */
.contact__item {
  display: flex; align-items: center; gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
  transition: box-shadow .25s, transform .25s;
}
.contact__item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact__item small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.contact__icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  display: grid; place-items: center;
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__icon--wa { background: var(--wa); color: #fff; }

/* Footer */
.footer { background: #0a0a0a; color: #9a968e; font-size: .92rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 50px;
}
.footer__brand img { width: 200px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; margin: 0; }
.footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.footer h3::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2px;
  background: var(--gold);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer__contact a { color: #e8e3d8; font-weight: 500; }

.footer__bottom { border-top: 1px solid rgba(224, 165, 38, .2); padding: 20px 0 100px; font-size: .85rem; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }

/* ========== Blog ========== */
.page-hero {
  background:
    radial-gradient(circle at 85% 30%, rgba(224, 165, 38, .2), transparent 50%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #cfcac0;
  padding: 56px 0 50px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .4em; }
.page-hero__sub { margin: 0; color: #cfcac0; }
.breadcrumb { font-size: .85rem; margin-bottom: 14px; color: #9a968e; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

.section--post { padding-top: 56px; }
.post { font-size: 1.04rem; }
.post > p:first-child { font-size: 1.12rem; color: var(--text); }
.post h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); margin-top: 2em; }
.post p, .post li { color: #3d3a35; }
.post ul, .post ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post li { margin-bottom: .5em; }
.post li::marker { color: var(--gold-dark); font-weight: 700; }
.post a:not(.btn) { color: var(--gold-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.post a:not(.btn):hover { color: var(--ink); }

.cta-box {
  margin-top: 3em;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #cfcac0;
  border: 1px solid rgba(224, 165, 38, .35);
}
.cta-box h2 { color: #fff; margin-top: 0; }
.cta-box p { color: #cfcac0; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.post-card__link { display: flex; flex-direction: column; height: 100%; padding: 26px; }
.post-card__meta { font-size: .8rem; color: var(--muted); margin-bottom: .6em; }
.post-card h3 { font-size: 1.12rem; }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-card__more { margin-top: auto; font-weight: 600; color: var(--gold-dark); font-size: .92rem; }

.districts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.districts__col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.districts__col h3 { font-size: 1.15rem; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.districts__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
}
.districts__col a {
  display: block;
  padding: 6px 0;
  font-size: .9rem;
  color: var(--text);
  transition: color .2s;
}
.districts__col a:hover { color: var(--gold-dark); }
.districts__more { text-align: center; margin: 36px 0 0; }

/* ========== Sabit WhatsApp butonu ========== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
  min-width: 60px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s, background .2s;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--wa);
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
.wa-float__label { padding-right: 4px; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .grid--4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .logo img { height: 54px; }

  .burger { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 10px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 30px rgba(0, 0, 0, .12);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a:not(.btn)::after { display: none; }
  .nav__call { margin-top: 16px; }

  .hero { padding: 50px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__logo { max-width: 340px; margin: 0 auto; }

  .quote { grid-template-columns: 1fr; gap: 30px; text-align: center; }

  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery__item:first-child { grid-column: span 2; aspect-ratio: 4 / 5; }

  .section { padding: 64px 0; }
  .districts { grid-template-columns: 1fr; }
  .page-hero { padding: 40px 0 36px; }
  .section__head { margin-bottom: 36px; }
}

@media (max-width: 600px) {
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .districts__col ul { grid-template-columns: 1fr; }
  .cta-box { padding: 24px; }
  .cta-box__actions .btn { width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 50px; text-align: center; }
  .footer__brand img { margin: 0 auto 18px; }
  .footer__brand p { margin: 0 auto; }
  .footer h3::after { left: 50%; transform: translateX(-50%); }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  /* Mobilde WhatsApp butonu sadece ikon */
  .wa-float { right: 16px; bottom: 16px; padding: 0; justify-content: center; width: 58px; height: 58px; min-width: 0; }
  .wa-float__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
