/* =========================
   DADAS TR — Whole cohesive theme
   (DE hero video + 3-layer wave, clean light sections)
   ========================= */

/* ====== Tokens ====== */
:root{
  --container: 1120px;
  --radius: 14px;

  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #f6f7fb;
  --line: #e6e9f2;

  --txt: #0b1220;
  --muted: #55657d;

  --brand: #1f5bd6;     /* DE'deki mavi hissi */
  --brandDark: #1547ad;

  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);

  /* Hero overlay — DE gibi daha doğal */
  --heroLeft: rgba(0,0,0,0.52);
  --heroMid: rgba(0,0,0,0.28);
  --heroRight: rgba(0,0,0,0.14);
}

/* ====== Base ====== */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--brand); }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* ====== Typography ====== */
.kicker{
  margin: 0 0 10px;
  color: rgba(255,255,255,0.86);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}
.kicker--dark{ color: var(--muted); }

h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2{
  margin: 8px 0 10px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3{
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}
.lead{
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  max-width: 62ch;
}
.muted{ color: var(--muted); }
.small{ font-size: 12px; }

/* ====== Topbar ====== */
.topbar{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0;
}
.topbar__left{ display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }
.topbar__link{ font-size: 13px; color: var(--muted); }
.sep{ color: #9aa7bb; }

.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface2);
  color: var(--muted);
}

/* ====== Header / Nav ====== */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand{ display:flex; align-items:center; gap: 12px; }
.brand__mark{
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand);
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(31,91,214,0.25);
}
.brand__name{ font-weight: 800; letter-spacing: -0.01em; }
.brand__sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }

.nav{ display:flex; align-items:center; gap: 22px; }
.nav a{
  color: #3b4b63;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 0;
}
.nav a:hover{ color: var(--txt); }
.nav a.isActive{ color: var(--brand); border-bottom: 2px solid var(--brand); }

.navToggle{
  display:none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px;
}
.navToggle span{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--txt);
  margin: 4px 0;
}

/* ====== Buttons (DE gibi) ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn:hover{ background: var(--brandDark); color: #fff; }
.btn--sm{ padding: 10px 14px; font-size: 12px; }

.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.70);
  color: #fff;
}
.btn--ghost:hover{
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.btn--ghostDark{
  background: transparent;
  border-color: var(--line);
  color: var(--txt);
}
.btn--ghostDark:hover{
  background: var(--surface2);
  border-color: #cfd7e6;
  color: var(--txt);
}

/* ====== Sections ====== */
/* ===== Section base (sende var, uyumlu) ===== */
.section{ padding: 72px 0; }
.section--alt{
  background: var(--surface2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sectionHead{ margin-bottom: 18px; }
.sectionHead .kicker{ color: var(--muted); }
.sectionHead h2{ margin-top: 6px; }

/* ===== Contact layout ===== */
.contactGrid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

/* ===== Cards ===== */
.contactCard,
.formCard{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
  padding: 18px;
}

.contactCard__title,
.formCard__title{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ===== Contact list ===== */
.contactList{
  display: grid;
  gap: 12px;
}

.contactItem{
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(246,247,251,.55);
  border: 1px solid rgba(230,233,242,.8);
}

.contactIcon{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15,23,42,.06);
  font-size: 16px;
}

.contactLabel{
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contactValue{
  font-size: 14px;
  color: #1a2942;
  font-weight: 600;
}
.contactValue a{ color: inherit; }
.contactValue a:hover{ color: var(--brand); }

.contactDivider{
  height: 1px;
  background: var(--line);
  margin: 14px 0;
}

.contactNote{
  margin: 0 0 12px;
  line-height: 1.6;
}

.contactCta{
  width: 100%;
  justify-content: center;
}

.contactHint{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.contactHintDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(31,91,214,.25);
  border: 1px solid rgba(31,91,214,.35);
}

/* =========================================================
   TEKLİF / FORM — Orijinal (DE) gibi: lacivert zemin + 2 kolon
   ========================================================= */
.offerSection{
  background:#243f73;              /* orijinal hissi */
  padding: 90px 0;
  color:#fff;
}
.offerGrid{
  display:grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 64px;
  align-items:start;
}

/* SOL */
.offerKicker{
  margin:0 0 14px;
  font-size:12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(255,255,255,.78);
  font-weight:800;
}
.offerTitle{
  margin:0 0 18px;
  font-size: clamp(36px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.offerText{
  margin:0 0 18px;
  color: rgba(255,255,255,.82);
  line-height:1.75;
  max-width: 64ch;
}
.offerText--last{ margin-top: 26px; }
.offerLink{
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* SAĞ */
.offerRight{ width:100%; }
.offerFormHead{ margin-bottom: 18px; }
.offerFormTitle{
  margin:0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color:#fff;
}
.offerNote{
  margin:0;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.req{ color:#ff4d4f; font-weight:900; }

/* form düzeni */
.offerForm{ width:100%; }
.fRow{ margin-bottom: 18px; }
.fGrid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fLabel{
  display:block;
  margin: 0 0 8px;
  font-size: 12px;
  color: rgba(255,255,255,.85);
  font-weight: 700;
}
.fControl{
  width:100%;
  height: 46px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.22);
  background: #fff;               /* orijinalde beyaz input */
  color: #0b1220;
  outline: none;
}
.fControl:focus{
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 0 0 3px rgba(255,255,255,.18);
}
.fTextarea{
  height:auto;
  min-height: 140px;
  resize: vertical;
}

/* checkbox */
.fConsent{ margin-top: 6px; }
.chk{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 12px;
  color: rgba(255,255,255,.82);
}
.chk input{ margin-top: 3px; }

/* buton — orijinalde beyaz buton */
.btn.btn--white{
  background:#fff !important;
  color:#243f73 !important;
  border:1px solid rgba(255,255,255,.85) !important;
}
.btn.btn--white:hover{
  background: rgba(255,255,255,.92) !important;
}

/* sağ alt konum hissi */
.fActions{
  display:flex;
  justify-content:flex-end;
  padding-top: 10px;
}

/* responsive */
@media (max-width: 980px){
  .offerGrid{ grid-template-columns: 1fr; gap: 34px; }
  .fActions{ justify-content:flex-start; }
}
@media (max-width: 640px){
  .fGrid2{ grid-template-columns: 1fr; }
}


/* ====== HERO (DE-style video + 3-layer wave) ====== */
.hero--media{
  position: relative;
  overflow: hidden;

  /* ORİJİNAL GİBİ: daha yüksek hero */
  padding: 118px 0 210px;
  min-height: 640px;

  color: #fff;
  background: #0b0f17;
}

/* video layer */
.heroMedia{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.heroMedia__video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.02) brightness(0.94);
}

/* DE hissi: solda daha koyu, sağa doğru açılan overlay */
.heroMedia__overlay{
  position:absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--heroLeft) 0%,
      var(--heroMid) 52%,
      var(--heroRight) 100%
    ),
    radial-gradient(900px 520px at 20% 40%, rgba(0,0,0,0.34), transparent 62%);
}

/* content */
.hero__inner--overlay{
  position: relative;
  z-index: 2;
}
.hero__content{ max-width: 650px; }
.hero__content h1{ color:#fff; }
.hero__content .lead{ color: rgba(255,255,255,0.86); }

.hero__actions{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

/* bottom wave — 3 layers (top gray, mid light gray, bottom white) like original */
.hero--media::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 280px;                 /* ORİJİNALDEKİ GİBİ DAHA YÜKSEK */
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 100%;
  z-index: 1;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201440%20280'%20preserveAspectRatio='none'%3E%3Cpath%20fill='%23bcbcbc'%20fill-opacity='0.50'%20d='M0%2C150%20C220%2C240%20480%2C260%20720%2C230%20C980%2C198%201210%2C110%201440%2C150%20L1440%2C280%20L0%2C280%20Z'/%3E%3Cpath%20fill='%23e1e1e1'%20fill-opacity='0.62'%20d='M0%2C175%20C240%2C265%20490%2C285%20720%2C258%20C970%2C228%201210%2C138%201440%2C175%20L1440%2C280%20L0%2C280%20Z'/%3E%3Cpath%20fill='%23ffffff'%20d='M0%2C205%20C260%2C285%20510%2C292%20720%2C276%20C960%2C258%201200%2C175%201440%2C205%20L1440%2C280%20L0%2C280%20Z'/%3E%3C/svg%3E");
}

/* ====== About split ====== */
.sectionHead--split{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}
.aboutMedia img{
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(15,23,42,0.08);
}
.ctaInline{ margin-top: 16px; display:flex; gap: 10px; align-items:center; flex-wrap:wrap; }

/* ====== Services cards ====== */
.svcGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 56px;
}
.svcCard{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.svcCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15,23,42,0.10);
}
.svcCard img{
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.svcCard__body{ padding: 14px; }
.svcCard__body p{ margin: 20; color: var(--muted); line-height: 1.55; }
.svcCard--cta .btn{ margin-top: 30px; }

/* ====== Contact banner ====== */
.contactBanner{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 54px;
}
.contactBanner__actions{ display:flex; gap: 20px; flex-wrap: wrap; }
.contactBanner .kicker{ color: var(--muted); }

/* ====== Panels / Form ====== */
.grid{ display:grid; gap: 56px; }
.grid--2{ grid-template-columns: 1fr 1fr; }

.panel{
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 18px;
}
.formRow{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 12px; }
label{ font-size: 13px; color: var(--muted); font-weight: 600; }

input, textarea{
  border: 1px solid #dbe3f3;
  border-radius: 8px;
  padding: 12px 12px;
  outline: none;
  font: inherit;
  color: var(--txt);
  background: #fff;
}
input:focus, textarea:focus{
  border-color: rgba(31,91,214,0.7);
  box-shadow: 0 0 0 4px rgba(31,91,214,0.12);
}

.check{ display:flex; gap: 10px; align-items:flex-start; margin: 12px 0 14px; color: var(--muted); font-size: 13px; }
.check input{ margin-top: 3px; }
.formMsg{ margin: 10px 0 0; color: var(--muted); }


.kontaktHero{
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 90px 0;
}

/* Arka plan resim: img'yi kaplayacak şekilde arkaya al */
.kontaktHero__bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* background-size: cover eşdeğeri */
  object-position: center;
  z-index: 0;
}

/* Overlay: yazı okunurluğu */
.kontaktHero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.42) 45%,
    rgba(0,0,0,.18) 100%
  );
}

/* İçerik önde */
.kontaktHero .container{
  position: relative;
  z-index: 2;
}

.kontaktHero__inner{
  max-width: 720px;
  color: #fff;
}

.kicker--light{ color: rgba(255,255,255,.80); }

.kontaktHero h2{
  margin: 10px 0 12px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.kontaktHero__line{
  width: 64px;
  height: 3px;
  background: rgba(255,255,255,.75);
  margin: 10px 0 18px;
}

.kontaktHero__text{
  margin: 0 0 22px;
  max-width: 62ch;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
}

.kontaktHero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.kontaktHero .btn--ghost{
  border-color: rgba(255,255,255,.75);
  color: #fff;
}
.kontaktHero .btn--ghost:hover{
  border-color: #fff;
  background: rgba(255,255,255,.10);
}

@media (max-width: 760px){
  .kontaktHero{ min-height: 460px; padding: 70px 0; }
  .kontaktHero::before{
    background: linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.35) 100%);
  }
}




/* ====== Footer ====== */
.footer{ padding: 30px 0 10px; }
.footer__inner{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line);
}
.footer__title{
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  font-weight: 800;
}
.footer a{ display:block; color: #3b4b63; font-size: 14px; margin: 8px 0; }
.footer a:hover{ color: var(--txt); }
.footer__bottom{
  border-top: 1px solid var(--line);
  padding: 12px 0;
  color: var(--muted);
  font-size: 13px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
}

/* ====== Cookie ====== */
.cookie{
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  max-width: 980px;
  margin: 0 auto;
  display:none;
  z-index: 80;
}
.cookie__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}
.cookie__actions{ display:flex; gap: 10px; flex-wrap: wrap; }

/* ====== Responsive ====== */
@media (max-width: 980px){
  .sectionHead--split{ grid-template-columns: 1fr; }
  .svcGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2{ grid-template-columns: 1fr; }
  .footer__inner{ grid-template-columns: 1fr; }
  .contactBanner{ flex-direction: column; align-items: flex-start; }

  .hero--media{
    padding: 104px 0 200px;
    min-height: 600px;
  }
  .hero--media::after{ height: 260px; }
}

@media (max-width: 760px){
  .navToggle{ display:block; }
  .nav{
    position: absolute;
    right: 20px;
    top: 74px;
    width: min(320px, calc(100% - 40px));
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,0.15);
  }
  .nav a{ padding: 10px 10px; border-radius: 10px; }
  .nav a:hover{ background: var(--surface2); }
  .nav.isOpen{ display:flex; }

  .hero--media{
    padding: 92px 0 190px;
    min-height: 560px;
  }
  .hero--media::after{ height: 240px; }
}

@media (max-width: 640px){
  .svcGrid{ grid-template-columns: 1fr; }

  .hero--media{
    padding: 88px 0 180px;
    min-height: 540px;
  }
  .hero--media::after{ height: 220px; }
}

/* =========================
   HERO WAVE — Orijinal PNG ile (tek görsel)
   ========================= */

/* Hero ana konteyner (video + overlay + içerik + dalga) */
.hero--media{
  position: relative;
  overflow: hidden;

  /* Video yüksekliği kontrolü (ekrana sığmama sorununu çözer) */
  min-height: 650px;
  padding-bottom: 0; /* alttan şişmesin */
}

/* Dalga PNG yüksekliği: 1920x383 oranı => 383/1920 = 0.1995 */
.hero--media{
  --waveH: clamp(220px, 19.95vw, 383px);
}

/* Video gerçekten hero yüksekliğine otursun */
.hero--media video,
.hero--media .hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay varsa onun da “inset:0” olduğundan emin ol */
.hero--media .hero__overlay{
  position: absolute;
  inset: 0;
}

/* İçerik dalganın üstünde kalsın */
.hero--media .hero__inner,
.hero--media .hero__inner--overlay{
  position: relative;
  z-index: 5;
}

/* Dalga altındaki alanın beyaz kalması için (isteğe bağlı ama önerilir) */
.hero__waveBase{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  /* Dalganın altını kapatacak kadar */
  height: calc(var(--waveH) * 0.55);

  background: #fff;
  z-index: 3;
  pointer-events: none;
}

/* Asıl dalga PNG */
.hero__wave{
  position: absolute;
  left: 0;
  bottom: -1px;

  width: 100%;
  height: auto;          /* kritik: PNG oranını bozmadan ölçekler */
  display: block;

  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* Mobil kısaltma */
@media (max-width: 760px){
  .hero--media{
    min-height: 560px;
    --waveH: clamp(170px, 28vw, 320px);
  }
}

