/* =========================================================
   CODELRA — style.css
   Renkler logodan: lacivert zemin, mavi + mor katmanlar.
   Yazı ailesi: Schibsted Grotesk.
   Motif: logodaki üst üste binen eğik paralelkenarlar.
   ========================================================= */

:root {
  --navy: #0b1030;      /* koyu bölümler (logo yazısı #07061a tonunda) */
  --navy-2: #16234d;    /* koyu zeminde çizgi / ikinci ton */
  --blue: #3f76f3;      /* logodaki mavi — ana buton, vurgu */
  --violet: #5146e1;    /* logodaki mor — ikincil vurgu */
  --sky: #639bf6;       /* logodaki açık mavi */
  --tint: #eef3fe;      /* açık mavi bölüm zemini */
  --ink: #07061a;       /* metin */
  --grey: #5a6278;      /* ikincil metin */
  --grey-light: #aab2cc;/* koyu zeminde ikincil metin */
  --line: #dce1ee;
  --white: #ffffff;

  --slant: 12%;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Tüm içerik fotoğrafları: kırpılır, yüklenemezse açık mavi blok görünür */
figure { background: var(--tint); }
figure img, .strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--tint);
}

/* ---------- Logo işareti: iki paralelkenar (başlık yanında) ---------- */
.head h2::before {
  content: "";
  display: block;
  width: 44px; height: 14px;
  margin-bottom: 22px;
  background:
    linear-gradient(var(--sky), var(--sky)) 0 0 / 30px 14px no-repeat,
    linear-gradient(var(--violet), var(--violet)) 14px 0 / 30px 14px no-repeat;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 15px 26px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--solid { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn--solid:hover { background: var(--violet); border-color: var(--violet); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--invert { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--invert:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ---------- Üst menü ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand__text { font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--navy); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--blue); color: var(--blue); }

.top__actions { display: flex; align-items: center; gap: 12px; }
.live { position: relative; }
.live__btn {
  font: 600 15px var(--font);
  background: var(--navy); color: var(--white);
  border: 0; border-radius: 4px;
  padding: 11px 18px; cursor: pointer;
}
.live__btn:hover { background: var(--blue); }
.live__panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: 250px; padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  box-shadow: 0 18px 40px rgba(11, 16, 48, .16);
}
.live__panel img { width: 160px; height: 160px; margin-bottom: 14px; }
.live__panel p { font-size: 14px; color: var(--grey); margin-bottom: 10px; }
.live__panel a { font-size: 14px; font-weight: 600; color: var(--blue); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .2s; }
.burger span:first-child { top: 17px; }
.burger span:last-child  { top: 25px; }
.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: tam genişlik renkli fotoğraf ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Solda okunabilirlik için lacivert perde, sağda fotoğraf açık kalır */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,16,48,.82) 0%, rgba(11,16,48,.5) 40%, rgba(11,16,48,0) 70%);
}
.hero__inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.hero__copy { max-width: 700px; }
.hero__kicker {
  display: inline-block;
  font-weight: 600; font-size: 15px;
  padding: 6px 16px 6px 14px;
  margin-bottom: 26px;
  background: var(--blue);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.hero__title {
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: .96;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 32em; font-size: 19px; color: #dfe4f3; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { transform: translateY(105%); animation: rise .8s cubic-bezier(.2,.7,.1,1) forwards; }
  .hero__title .line:nth-child(2) > span { animation-delay: .1s; }
  .hero__bg { transform: scale(1.06); animation: settle 1.6s cubic-bezier(.2,.7,.1,1) forwards; }
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes settle { to { transform: scale(1); } }

/* ---------- Rakam şeridi ---------- */
.facts-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts > div { padding: 28px 0 24px; }
.facts > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.facts dt { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
.facts dd { color: var(--grey); margin-top: 6px; font-size: 15px; }

/* ---------- Genel bölüm ---------- */
.block { padding: clamp(72px, 10vw, 120px) 0; }
.block--tint { background: var(--tint); }
.block--dark { background: var(--navy); color: var(--white); }

.head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.head h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 16px; }
.head p { font-size: 18px; color: var(--grey); max-width: 34em; }
.block--dark .head p { color: var(--grey-light); }
.head--side { margin-bottom: 0; }

.plain { list-style: none; margin: 0; padding: 0; }
.plain li { position: relative; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: 15.5px; }
.plain li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 11px; height: 8px;
  background: var(--blue);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* ---------- Hizmetler ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.service__photo {
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 6px;
  border-bottom: 5px solid var(--blue);
}
.service:nth-child(2) .service__photo { border-bottom-color: var(--violet); }
.service h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.service > p { color: var(--grey); margin-bottom: 20px; }

/* ---------- Neler dahil ---------- */
.incs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.inc { background: var(--white); border-radius: 6px; overflow: hidden; }
.inc__photo { aspect-ratio: 16 / 11; }
.inc h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; padding: 20px 22px 6px; }
.inc p { color: var(--grey); font-size: 15.5px; padding: 0 22px 24px; }

/* ---------- Fiyatlandırma ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.price h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.price__sub { color: var(--grey); margin-bottom: 28px; }
.price__amount { font-size: clamp(34px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__amount small { font-size: 15px; font-weight: 500; letter-spacing: 0; }
.price__vat { font-size: 14px; color: var(--grey); margin: 8px 0 28px; }
.price .plain { flex: 1; margin-bottom: 24px; }
.price__time { font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.price .btn { text-align: center; }

.price--pick { background: var(--navy); color: var(--white); border-color: var(--navy); }
.price--pick .price__sub, .price--pick .price__vat { color: var(--grey-light); }
.price--pick .plain li { border-top-color: var(--navy-2); }
.price--pick .plain li::before { background: #8f9dff; }
.price__flag {
  position: absolute; top: 0; left: 30px;
  transform: translateY(-50%);
  background: var(--violet); color: var(--white);
  font-size: 13px; font-weight: 700;
  padding: 5px 20px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.note { margin-top: 20px; font-size: 14px; color: var(--grey); max-width: 60em; }

/* ---------- Fotoğraf şeridi ---------- */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; height: clamp(180px, 22vw, 300px); }
.strip img:nth-child(2) { border-top: 6px solid var(--blue); }
.strip img:nth-child(3) { border-top: 6px solid var(--violet); }

/* ---------- Süreç ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { position: relative; }
.steps__photo { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; margin-bottom: 20px; }
.steps__no {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  width: 46px; height: 38px;
  display: grid; place-items: center;
  font-size: 20px; font-weight: 800;
  background: var(--blue); color: var(--white);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.steps li:nth-child(even) .steps__no { background: var(--violet); }
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.steps p { color: var(--grey-light); font-size: 15.5px; }

/* ---------- SSS ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 19px;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: .8; color: var(--blue); transition: transform .2s; }
.faq__list details[open] summary { color: var(--blue); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 24px; color: var(--grey); max-width: 38em; }

/* ---------- Neden Codelra ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; background: var(--tint); min-height: 560px; }
.why__photo { clip-path: polygon(0 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%); }
.why__copy {
  padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(56px, 7vw, 104px) clamp(24px, 4vw, 64px);
  max-width: 620px; align-self: center;
}
.why h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 20px; }
.why__copy > p { color: var(--grey); font-size: 18px; margin-bottom: 36px; }
.why__facts { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 36px; }
.why__facts > div { padding: 16px 0; border-top: 2px solid var(--blue); }
.why__facts > div:nth-child(even) { padding-left: 20px; border-top-color: var(--violet); }
.why__facts dt { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.why__facts dd { color: var(--grey); font-size: 15px; }

/* ---------- İletişim ---------- */
.contact { position: relative; color: var(--white); background: var(--navy); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; background: rgba(11, 16, 48, .84); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.contact__logo { height: 48px; width: auto; margin-bottom: 36px; }
.contact h2 { font-size: clamp(40px, 6vw, 86px); line-height: .98; font-weight: 900; letter-spacing: -0.045em; max-width: 11em; margin-bottom: 24px; }
.contact p { color: var(--grey-light); font-size: 18px; margin-bottom: 32px; }
.contact__qr { background: var(--white); color: var(--ink); padding: 16px 16px 12px; border-radius: 6px; border-top: 5px solid var(--blue); }
.contact__qr img { width: 180px; height: 180px; }
.contact__qr p { color: var(--ink); font-size: 13px; font-weight: 600; margin: 10px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: var(--white); border-top: 1px solid var(--navy-2); }
.foot__row { display: flex; align-items: center; gap: 32px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.foot__links { display: flex; gap: 24px; margin-left: auto; }
.foot__links a { text-decoration: none; font-size: 15px; }
.foot__links a:hover { color: #8f9dff; }
.foot__copy { font-size: 14px; color: var(--grey-light); width: 100%; }
.brand--foot img { height: 30px; }
.brand--foot .brand__text { color: var(--white); }

/* ---------- Sabit WhatsApp ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366; color: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(11, 16, 48, .28);
}
.wa:hover { background: #1ebe5b; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 20px; }
  .services { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .services .service:last-child .service__photo { grid-row: span 3; margin: 0; }
  .incs { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .strip { grid-template-columns: 1fr 1fr; height: auto; }
  .strip img { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--white);
    border-bottom: 3px solid var(--blue);
    padding: 8px var(--gutter) 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .top__actions { margin-left: auto; }
  .live__btn { padding: 10px 14px; font-size: 14px; }
  .brand img { height: 28px; }

  .hero { min-height: 0; align-items: flex-end; }
  .hero::after { background: linear-gradient(0deg, rgba(11,16,48,.92) 0%, rgba(11,16,48,.7) 55%, rgba(11,16,48,.25) 100%); }
  .hero__inner { padding-top: 160px; padding-bottom: 48px; }
  .facts > div + div { padding-left: 14px; }

  .faq { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why__photo { min-height: 300px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px)); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .services, .incs, .steps { grid-template-columns: 1fr; }
  .services .service:last-child { display: block; }
  .services .service:last-child .service__photo { margin-bottom: 24px; }
  .facts dt { font-size: 26px; }
  .facts dd { font-size: 13px; }
  .price { padding: 32px 22px 26px; }
  .contact__qr { display: none; }
}
