/* ÇALIK CNC — stil dosyası */

:root {
  --amber: #f0a93b;
  --amber-koyu: #d18d22;
  --siyah: #0f1115;
  --koyu-2: #171a20;
  --koyu-3: #232830;
  --gri-metin: #5b6472;
  --gri-acik: #8b95a3;
  --cizgi: #e3e7ec;
  --zemin: #ffffff;
  --zemin-2: #f6f7f9;
  --kap: 1180px;
  --gecis: .22s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--siyah);
  background: var(--zemin);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  text-transform: uppercase;
}

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

.atla {
  position: absolute; left: -9999px; top: 0;
  background: var(--siyah); color: #fff; padding: 12px 20px; z-index: 200;
}
.atla:focus { left: 12px; top: 12px; }

/* ---------- ÜST BAR ---------- */
.ust {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--gecis), box-shadow var(--gecis);
}
.ust.kayan { border-bottom-color: var(--cizgi); box-shadow: 0 4px 24px rgba(15,17,21,.05); }

.ust-ic { display: flex; align-items: center; gap: 24px; height: 76px; }
/* Logo PNG'sinde bol beyaz kenar boşluğu var; görünür alanı
   kutuya sığdırıp taşan boşluğu kırpıyoruz. */
.marka {
  flex: none; display: flex; align-items: center;
  height: 44px; overflow: hidden;
}
.marka img { width: auto; height: 122px; }

.menu { display: flex; gap: 30px; margin-left: auto; }
.menu a {
  text-decoration: none; font-size: 14px; font-weight: 600;
  color: var(--gri-metin); letter-spacing: .01em;
  position: relative; padding: 6px 0; transition: color var(--gecis);
}
.menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform var(--gecis);
}
.menu a:hover { color: var(--siyah); }
.menu a:hover::after { transform: scaleX(1); }

.ust-eylem { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 13px 22px; border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: all var(--gecis); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn-tel {
  background: var(--siyah); color: #fff; font-size: 14px; padding: 11px 18px;
}
.btn-tel:hover { background: var(--koyu-3); }

.btn-ana { background: var(--amber); color: var(--siyah); }
.btn-ana:hover { background: var(--amber-koyu); transform: translateY(-1px); }

.btn-ikincil {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.28);
}
.btn-ikincil:hover { border-color: var(--amber); color: var(--amber); }

.menu-dugme {
  display: none; width: 42px; height: 42px; border: 1px solid var(--cizgi);
  background: #fff; border-radius: 6px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-dugme span { display: block; width: 18px; height: 2px; background: var(--siyah); border-radius: 2px; }

/* ---------- HERO (katmanlı parallax) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #0b0d10;
  color: #fff;
  min-height: min(92vh, 860px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 104px;
  isolation: isolate;
}

/* katman 1 — fotoğraf: yavaş kayar + çok yavaş zoom (Ken Burns) */
.hero-foto {
  position: absolute; inset: -12% 0 -12% 0;
  z-index: -5;
  will-change: transform;
}
/* slayt kareleri üst üste; yalnız .etkin olan görünür */
.hero-kare {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s ease-in-out;
}
.hero-kare.etkin { opacity: 1; }
.hero-kare img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  transform: scale(1.06);
}
/* zoom yalnız görünen karede çalışsın */
.hero-kare.etkin img {
  animation: yavasZoom 12s ease-out forwards;
}
@keyframes yavasZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.16); }
}

/* slayt göstergesi */
.hero-gosterge {
  position: absolute; right: 32px; bottom: 36px; z-index: 2;
  display: flex; gap: 9px;
}
.hero-gosterge span {
  width: 26px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.26);
  transition: background .5s ease, width .5s ease;
}
.hero-gosterge span.etkin { background: var(--amber); width: 42px; }

/* katman 2 — karartma: metnin okunmasını her koşulda garantiler */
.hero-perde {
  position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background:
    linear-gradient(100deg,
      rgba(8,10,13,.97) 0%,
      rgba(8,10,13,.93) 26%,
      rgba(8,10,13,.72) 48%,
      rgba(8,10,13,.42) 68%,
      rgba(8,10,13,.30) 100%),
    linear-gradient(to bottom,
      rgba(8,10,13,.85) 0%,
      rgba(8,10,13,.12) 32%,
      rgba(8,10,13,.20) 70%,
      rgba(8,10,13,.92) 100%);
}

/* katman 3 — teknik ızgara: orta hızda kayar */
.hero-desen {
  position: absolute; inset: -10% 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(240,169,59,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,169,59,.10) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 22% 50%, #000 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 22% 50%, #000 5%, transparent 70%);
  will-change: transform;
}

/* katman 4 — amber parıltı: nefes alır */
.hero-parilti {
  position: absolute; z-index: -2; pointer-events: none;
  right: -6%; top: 18%; width: 62%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(240,169,59,.20) 0%, transparent 62%);
  filter: blur(38px);
  animation: nefes 7.5s ease-in-out infinite alternate;
}
@keyframes nefes {
  from { opacity: .55; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.1); }
}

.hero-ic { position: relative; z-index: 1; }

/* içerik giriş animasyonu */
.bel {
  opacity: 0; transform: translateY(26px);
  animation: belir .85s cubic-bezier(.16,.84,.36,1) forwards;
  animation-delay: var(--gecikme, 0s);
}
@keyframes belir {
  to { opacity: 1; transform: translateY(0); }
}

/* aşağı kaydır göstergesi */
.hero-kaydir {
  position: absolute; left: 50%; bottom: 30px; z-index: 2;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none; color: var(--gri-acik);
}
.hero-kaydir-cizgi {
  width: 1px; height: 46px; background: linear-gradient(to bottom, transparent, var(--amber));
  position: relative; overflow: hidden;
}
.hero-kaydir-cizgi::after {
  content: ''; position: absolute; left: 0; top: -46px;
  width: 1px; height: 46px; background: linear-gradient(to bottom, transparent, #fff);
  animation: kaydirAk 2.1s ease-in-out infinite;
}
@keyframes kaydirAk {
  0%   { top: -46px; }
  60%  { top: 46px; }
  100% { top: 46px; }
}
.hero-kaydir-yazi {
  font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.hero-kaydir:hover { color: var(--amber); }

.hero-etiket {
  display: inline-block; margin: 0 0 22px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(240,169,59,.35); border-radius: 100px;
  padding: 7px 16px;
}
.hero h1 {
  font-size: clamp(44px, 7.4vw, 84px); max-width: 15ch; margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
}
.hero h1 .vurgu {
  color: var(--amber);
  text-shadow: 0 0 42px rgba(240,169,59,.35);
}
.hero-alt {
  font-size: clamp(16px, 2vw, 19px); color: #cdd4dd;
  max-width: 54ch; margin: 0 0 34px;
  text-shadow: 0 1px 16px rgba(0,0,0,.6);
}
.hero-btnlar { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-sayilar {
  display: flex; flex-wrap: wrap; gap: 44px;
  list-style: none; margin: 62px 0 0; padding: 30px 0 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-sayilar li { display: flex; flex-direction: column; }
.hero-sayilar strong {
  font-family: 'Barlow Condensed', sans-serif; font-size: 40px;
  line-height: 1; color: var(--amber);
}
.hero-sayilar span { font-size: 14px; color: var(--gri-acik); margin-top: 6px; }

/* ---------- BÖLÜM ORTAK ---------- */
.bolum { padding: 92px 0; }
.bolum-koyu { background: var(--siyah); color: #fff; }
.bolum:not(.bolum-koyu) + .bolum:not(.bolum-koyu) { padding-top: 0; }

.bolum-etiket {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 14px;
}
.bolum-baslik { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 18px; max-width: 20ch; }
.bolum-giris { font-size: 17px; color: var(--gri-metin); max-width: 62ch; margin: 0 0 48px; }
.bolum-koyu .bolum-giris { color: #b9c1cc; }

/* ---------- KARTLAR ---------- */
.kartlar {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.kart {
  background: var(--zemin-2); border: 1px solid var(--cizgi);
  border-radius: 10px; padding: 30px 26px;
  transition: transform var(--gecis), box-shadow var(--gecis), border-color var(--gecis);
}
.kart:hover {
  transform: translateY(-4px); border-color: var(--amber);
  box-shadow: 0 12px 34px rgba(15,17,21,.08);
}
.kart-ikon {
  width: 48px; height: 48px; border-radius: 8px;
  background: var(--siyah); color: var(--amber);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.kart-ikon svg { width: 25px; height: 25px; stroke: currentColor; }
.kart h3 { font-size: 23px; margin-bottom: 10px; }
.kart p { margin: 0; font-size: 15px; color: var(--gri-metin); }

/* ---------- GALERİ ---------- */
.bolum-galeri { background: var(--zemin-2); }

.galeri {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.galeri-oge {
  padding: 0; border: 1px solid var(--cizgi); background: #fff;
  border-radius: 8px; overflow: hidden; cursor: zoom-in;
  transition: transform var(--gecis), box-shadow var(--gecis), border-color var(--gecis);
}
.galeri-oge img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: contain;
  background: #fff; display: block;
}
.galeri-oge:hover {
  transform: translateY(-3px); border-color: var(--amber);
  box-shadow: 0 10px 26px rgba(15,17,21,.10);
}
.galeri-oge:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.galeri-not {
  margin: 34px 0 0; font-size: 16px; color: var(--gri-metin);
  text-align: center; font-style: italic;
}

/* büyütme katmanı */
.buyutec {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,17,21,.92);
  display: none; align-items: center; justify-content: center;
  padding: 28px; cursor: zoom-out;
}
.buyutec.acik { display: flex; }
.buyutec img {
  max-width: min(92vw, 720px); max-height: 90vh;
  object-fit: contain; background: #fff;
  border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.buyutec-kapat {
  position: absolute; top: 18px; right: 22px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08);
  color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.buyutec-kapat:hover { background: rgba(255,255,255,.18); }

/* ---------- ÖZELLİKLER ---------- */
.ozellikler {
  display: grid; gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.ozellik { position: relative; padding-top: 26px; border-top: 2px solid var(--koyu-3); }
.ozellik-no {
  font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--amber); letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.ozellik h3 { font-size: 25px; margin-bottom: 12px; }
.ozellik p { margin: 0; font-size: 15.5px; color: #b9c1cc; }

/* ---------- BÖLGELER ---------- */
.bolgeler {
  display: grid; gap: 18px; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.bolgeler li {
  border-left: 3px solid var(--amber); padding: 16px 20px;
  background: var(--zemin-2); border-radius: 0 8px 8px 0;
}
.bolgeler strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  font-size: 25px; text-transform: uppercase; line-height: 1.2;
}
.bolgeler span { font-size: 14px; color: var(--gri-metin); }

/* ---------- İLETİŞİM ---------- */
.iletisim-duzen {
  display: grid; gap: 52px;
  grid-template-columns: 1fr 1fr; align-items: start;
}
.iletisim-liste { margin: 0 0 34px; display: grid; gap: 24px; }
.iletisim-liste dt {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px;
}
.iletisim-liste dd { margin: 0; font-size: 16px; color: #dfe4ea; }
.iletisim-liste a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(240,169,59,.5); }
.iletisim-liste a:hover { color: var(--amber); }

.harita {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--koyu-3);
  min-height: 460px; background: var(--koyu-2);
}
.harita iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- ALT BİLGİ ---------- */
.alt { background: #fff; border-top: 1px solid var(--cizgi); padding: 44px 0; }
.alt-ic { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.alt-logo-kutu { height: 40px; overflow: hidden; display: flex; align-items: center; }
.alt-logo { height: 111px; width: auto; }
.alt-metin { margin: 0; font-size: 15px; color: var(--gri-metin); }
.alt-telif { margin: 0; font-size: 13.5px; color: var(--gri-acik); }

/* ---------- WHATSAPP YÜZEN ---------- */
.wa-yuzen {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,.4);
  transition: transform var(--gecis);
}
.wa-yuzen svg { width: 30px; height: 30px; fill: currentColor; }
.wa-yuzen:hover { transform: scale(1.07); }

/* ---------- DUYARLI ---------- */
@media (max-width: 900px) {
  .iletisim-duzen { grid-template-columns: 1fr; }
  .harita, .harita iframe { min-height: 340px; }
}

@media (max-width: 780px) {
  .menu-dugme { display: flex; }
  .btn-tel span { display: none; }
  .btn-tel { padding: 11px 13px; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--cizgi);
    flex-direction: column; gap: 0; padding: 8px 24px 18px;
    display: none;
  }
  .menu.acik { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--cizgi); font-size: 16px; }
  .menu a:last-child { border-bottom: 0; }
  .hero { padding: 92px 0 88px; min-height: auto; }
  .hero-kare img { object-position: 68% 50%; }
  .hero-gosterge { right: 24px; bottom: 22px; }
  .hero-perde {
    background:
      linear-gradient(to bottom,
        rgba(8,10,13,.90) 0%,
        rgba(8,10,13,.62) 30%,
        rgba(8,10,13,.72) 65%,
        rgba(8,10,13,.95) 100%);
  }
  .hero-sayilar { gap: 30px; margin-top: 44px; }
  .hero-sayilar strong { font-size: 33px; }
  .hero-kaydir { display: none; }
  .bolum { padding: 66px 0; }
  .hero-btnlar .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .bel { opacity: 1; transform: none; }
  .hero-kare img { transform: scale(1.06); }
  .hero-kare { opacity: 0; }
  .hero-kare.etkin { opacity: 1; }
  .hero-parilti { opacity: .7; }
  .hero-gosterge { display: none; }
}
