/* ============================================
   KALE DENETİM OSGB A.Ş. — Stil Dosyası
   Mobil öncelikli, responsive kurumsal tasarım
   Marka paleti: Lacivert + Mavi (logoya uyumlu)
   ============================================ */

:root {
  --blue-900: #0a2747;   /* en koyu lacivert — footer, hero, başlık vurgusu */
  --blue-800: #103a66;
  --blue-700: #155ba6;   /* birincil buton / link */
  --blue-600: #1d72c2;   /* eyebrow / vurgu */
  --blue-500: #2b9fe0;   /* parlak marka mavisi (KALE) */
  --blue-50:  #e9f4fc;
  --accent:   #f4b400;   /* altın/amber vurgu (CTA & ikon) */
  --ink:      #0e1f33;
  --body:     #46566a;
  --muted:    #6a7888;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f3f8fc;
  --white:    #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px -12px rgba(10, 39, 71, .20);
  --shadow-lg: 0 24px 50px -20px rgba(10, 39, 71, .32);
  --container:  1180px;
  --header-h:   72px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ÜST BİLGİ ÇUBUĞU ---------- */
.topbar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, .85);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .85);
  transition: color var(--transition);
}
.topbar__item:hover { color: var(--white); }
.topbar__item svg { color: var(--blue-500); }
.topbar__item--muted { color: rgba(255, 255, 255, .65); }
.topbar__divider { width: 1px; height: 16px; background: rgba(255, 255, 255, .15); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  transition: var(--transition);
}
.topbar__social:hover { background: var(--blue-500); }

/* ---------- NAVBAR ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 6px 24px -14px rgba(10, 39, 71, .35); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__logo { width: 44px; height: 44px; flex-shrink: 0; }
.brand__logo-full { height: 46px; width: auto; max-width: 240px; flex-shrink: 0; object-fit: contain; }
.brand__fallback { display: none; align-items: center; gap: 11px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: .3px; }
.brand__text strong span { color: var(--blue-500); }
.brand__text small { font-size: 11px; font-weight: 700; color: var(--blue-600); letter-spacing: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  border-radius: 9px;
  transition: var(--transition);
}
.nav__link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav__cta {
  margin-left: 8px;
  padding: 10px 20px;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 10px;
  transition: var(--transition);
}
.nav__cta:hover { background: var(--blue-900); transform: translateY(-1px); box-shadow: var(--shadow); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border: none;
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 0 auto;
  background: var(--blue-900);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- BUTONLAR ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 15.5px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--blue-700); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-900); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--blue-900); box-shadow: var(--shadow); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--block { width: 100%; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(10, 39, 71, .96) 0%, rgba(21, 91, 166, .92) 55%, rgba(43, 159, 224, .85) 100%),
    radial-gradient(circle at 80% 20%, rgba(244, 180, 0, .22), transparent 45%);
  color: var(--white);
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 84px 20px 96px;
}
.hero__content { max-width: 760px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 24px;
}
.badge svg { color: var(--accent); }
.hero__title {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 20px;
}
.hero__title span { color: var(--accent); }
.hero__text {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, .9);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
}
.hero__points svg { color: var(--accent); flex-shrink: 0; }

/* ---------- İSTATİSTİKLER ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -48px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.stat {
  background: var(--white);
  padding: 30px 16px;
  text-align: center;
}
.stat__num {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}
.stat__plus { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat__label { margin-top: 8px; font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- BÖLÜM GENEL ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.4px;
}
.section__sub { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

/* ---------- HAKKIMIZDA ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about__media { position: sticky; top: calc(var(--header-h) + 24px); }
.about__imgbox {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(150deg, var(--blue-700), var(--blue-500));
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .55);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about__imgbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 34px 34px;
}
.about__imgbadge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: var(--accent);
  color: var(--blue-900);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow);
}
.about__imgbadge small { font-size: .7rem; font-weight: 700; letter-spacing: 2px; }
.about__content .eyebrow { margin-bottom: 12px; }
.about__content p { margin-top: 16px; }
.about__content strong { color: var(--blue-700); }
.about__list { margin-top: 28px; display: grid; gap: 18px; }
.about__item { display: flex; gap: 14px; align-items: flex-start; }
.about__item svg { color: var(--blue-600); flex-shrink: 0; margin-top: 2px; }
.about__item h4 { font-size: 16px; font-weight: 700; color: var(--ink); }
.about__item p { margin: 2px 0 0; font-size: 14.5px; }

/* ---------- HİZMETLER ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--transition);
}
.service:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 14px;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service:hover .service__icon { background: var(--blue-700); color: var(--white); }
.service h3 { font-size: 17.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.service p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* ---------- EK HİZMETLER ---------- */
.extra { margin-top: 66px; padding-top: 56px; border-top: 1px solid var(--line); }
.extra__head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.extra__title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--ink); line-height: 1.2; }
.extra__sub { margin-top: 12px; color: var(--muted); }
.extra__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.extra__card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  transition: var(--transition);
}
.extra__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-left-color: var(--blue-600); }
.extra__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 12px;
}
.extra__card h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.extra__card p { font-size: 13.8px; color: var(--muted); line-height: 1.6; }

/* ---------- NEDEN BİZ ---------- */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why__card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.why__card:hover { background: var(--blue-900); border-color: var(--blue-900); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why__card:hover h3, .why__card:hover p { color: var(--white); }
.why__card:hover p { color: rgba(255, 255, 255, .8); }
.why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--white);
  color: var(--blue-700);
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.why__card:hover .why__icon { background: var(--accent); color: var(--blue-900); }
.why__card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; transition: var(--transition); }
.why__card p { font-size: 14.5px; color: var(--muted); transition: var(--transition); }

/* ---------- CTA ŞERİDİ ---------- */
.cta {
  background:
    linear-gradient(120deg, var(--blue-900), var(--blue-600)),
    radial-gradient(circle at 90% 50%, rgba(244, 180, 0, .3), transparent 50%);
  color: var(--white);
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 54px 20px;
  flex-wrap: wrap;
}
.cta h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .85); margin-top: 6px; }

/* ---------- İLETİŞİM ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
}
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact__row:not(.contact__row--static):hover {
  border-color: var(--blue-500);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.contact__ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  color: var(--blue-700);
  border-radius: 12px;
  flex-shrink: 0;
}
.contact__row small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.contact__row strong { font-size: 15.5px; color: var(--ink); font-weight: 700; }
.contact__cta { margin-top: 4px; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 420px;
}
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- FOOTER ---------- */
.footer { background: var(--blue-900); color: rgba(255, 255, 255, .7); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 20px 48px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.footer__logo img { height: 42px; width: auto; display: block; }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text strong span { color: var(--blue-500); }
.brand--footer .brand__text small { color: var(--blue-500); }
.footer__about { margin-top: 18px; font-size: 14.5px; line-height: 1.7; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  transition: var(--transition);
}
.footer__social a:hover { background: var(--blue-500); transform: translateY(-2px); }
.footer__col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a { font-size: 14.5px; transition: var(--transition); }
.footer__col a:hover { color: var(--blue-500); padding-left: 4px; }
.footer__contact li { font-size: 14.5px; line-height: 1.5; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 20px;
  font-size: 13.5px;
}

/* ---------- SABİT BUTONLAR ---------- */
.float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.float-btn--wa { background: #25d366; }
.float-btn--wa:hover { transform: scale(1.08); }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-700);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-900); }

/* ---------- REVEAL ANİMASYONU ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__media { position: static; }
  .about__imgbox { max-width: 360px; margin: 0 auto; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .extra__grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIVE — MOBİL
   ============================================ */
@media (max-width: 768px) {
  .topbar__item--muted { display: none; }
  .topbar__right .topbar__item { display: none; } /* mobilde e-postayı gizle, sosyal ikon kalsın */
  .topbar__inner { justify-content: center; gap: 18px; height: 40px; }
  .topbar__right { margin-left: 0; }
  .topbar__item { font-size: 13px; white-space: nowrap; }

  /* backdrop-filter, fixed konumlu menü paneli için containing block
     oluşturduğundan mobilde kaldırılır; aksi halde panel tam ekranı kaplamaz. */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .98); }

  .hamburger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: 90px 22px 30px;
    background: var(--white);
    box-shadow: -10px 0 40px -10px rgba(10, 39, 71, .25);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    z-index: 99;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { padding: 13px 16px; font-size: 16px; border-radius: 10px; }
  .nav__cta { margin: 10px 0 0; text-align: center; padding: 14px; font-size: 16px; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 22, 40, .5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 98;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }

  .hero__inner { padding: 56px 20px 72px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .section { padding: 60px 0; }
  .section__head { margin-bottom: 38px; }

  .services { grid-template-columns: 1fr; }
  .extra__grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .stats { margin-top: -36px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }

  .contact__map { min-height: 320px; }
  .contact__map iframe { min-height: 320px; }

  .cta__inner { flex-direction: column; text-align: center; padding: 44px 20px; }
  .cta .btn { width: 100%; }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 20px 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .stat { padding: 24px 10px; }
  .brand__text strong { font-size: 15.5px; }
  .brand__logo-full { height: 38px; max-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
