/* =========================================================
   Fetrion – Premium Dark UI Pack
   (index.php içindeki temel layout korunur; bu dosya sadece
    görünümü parlatır ve daha premium hale getirir.)
   ========================================================= */

/* Küçük tipografi iyileştirmeleri */
html, body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Ortak container (index.php'deki .wrap ile uyumlu) */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------
   HEADER & NAVBAR
   --------------------------------------------------------- */

header {
  background: radial-gradient(circle at 0 0, rgba(128,255,219,.08), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(76,201,240,.10), transparent 55%),
              rgba(8,12,23,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
}

.bar {
  min-height: 68px;
}

/* Logo bloğu */
.logo h1 {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 15px;
  color: #e5f0ff;
}

/* Menü linkleri */
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #c7d2fe;
  opacity: .9;
  padding-bottom: 6px;
  transition: color .18s ease, opacity .18s ease, transform .18s ease;
}

/* Aktif & hover durumunda alt çizgi + renk */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .22s ease;
}

nav a:hover {
  color: #e5f0ff;
  opacity: 1;
  transform: translateY(-1px);
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #ffffff;
  opacity: 1;
}

nav a.active::after {
  width: 100%;
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.heroCard {
  border-radius: 22px;
  border-color: rgba(148,163,184,.45);
  background:
    radial-gradient(circle at 0 0, rgba(128,255,219,.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(76,201,240,.14), transparent 60%),
    var(--card);
  box-shadow:
    0 24px 60px rgba(0,0,0,.75),
    0 0 0 1px rgba(15,23,42,.8);
}

.heroCard h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .01em;
}

.heroCard p.subtle {
  font-size: 15px;
}

/* Sağ taraftaki kutu */
.kutu {
  border-radius: 20px;
  border-color: rgba(148,163,184,.35);
  background: radial-gradient(circle at 0 0, rgba(148,163,184,.16), transparent 55%),
              rgba(15,23,42,.95);
  box-shadow: 0 20px 50px rgba(0,0,0,.75);
}

/* CTA butonu */
.cta {
  box-shadow: 0 14px 32px rgba(0,0,0,.65);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cta:hover {
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,.85);
}

/* ---------------------------------------------------------
   GRID / KARTLAR / REFERANSLAR
   --------------------------------------------------------- */

.section {
  margin: 40px 0;
}

/* Kartlar */
.card {
  background: linear-gradient(150deg, rgba(10,16,28,.98), rgba(15,23,42,.98));
  border-radius: 18px;
  border-color: rgba(148,163,184,.40);
  box-shadow: 0 16px 40px rgba(0,0,0,.75);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(128,255,219,.20), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(59,130,246,.18), transparent 60%);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,.9);
  border-color: rgba(129,230,217,.7);
}

.card:hover::before {
  opacity: 1;
}

.card h4 {
  font-size: 15px;
  letter-spacing: .03em;
}

/* Referans logo grid’i */
.clients {
  gap: 18px;
}

.logoBox {
  border-radius: 16px;
  border-style: solid;
  border-width: 1px;
  border-color: rgba(148,163,184,.45);
  background:
    radial-gradient(circle at 0 0, rgba(148,163,184,.24), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(15,23,42,.9), rgba(15,23,42,.95));
  box-shadow: 0 16px 38px rgba(0,0,0,.8);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #dbeafe;
  opacity: .85;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.logoBox:hover {
  transform: translateY(-3px);
  opacity: 1;
  border-color: rgba(129,230,217,.7);
  box-shadow: 0 22px 60px rgba(0,0,0,.95);
}

/* Stack / etiketler */
.stack {
  gap: 8px;
}

.tag {
  background: rgba(15,23,42,.96);
  border-color: rgba(148,163,184,.65);
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Yumuşak metin */
.subtle {
  color: var(--muted);
}

/* ---------------------------------------------------------
   WHATSAPP CHIP & FAB
   --------------------------------------------------------- */

.whatsapp {
  background: rgba(15,118,110,.2);
  border-color: rgba(45,212,191,.7);
  color: #e0fdfa;
  font-size: 14px;
  padding-inline: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.65);
  transform: translateY(0);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.whatsapp:hover {
  background: rgba(45,212,191,.24);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.85);
}

/* Yüzen WhatsApp butonu (fab) */
.fab {
  box-shadow: 0 18px 40px rgba(0,0,0,.85);
  transform: translateY(0) scale(1);
  transition: transform .18s ease, box-shadow .18s ease;
}

.fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 60px rgba(0,0,0,1);
}

/* ---------------------------------------------------------
   HR / FOOTER
   --------------------------------------------------------- */

hr.sep {
  border-top-style: dashed;
  opacity: .7;
}

/* Footer yazısı biraz daha sakin */
footer.wrap {
  font-size: 13px;
  color: rgba(148,163,184,.9);
  opacity: .9;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 980px) {
  .wrap {
    padding-inline: 18px;
  }

  .bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  header .logo h1 {
    font-size: 14px;
  }

  nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .heroCard h2 {
    font-size: 26px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .clients {
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width: 640px) {
  .wrap {
    padding-inline: 14px;
  }

  .clients {
    grid-template-columns: repeat(2,1fr);
  }

  .logoBox {
    height: 56px;
  }

  .fab {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* ===== Navbar Logo — Global Style ===== */

.nav-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;            /* JPEG kenarlarını yumuşat */
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,.65);
}

.brand-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e7efff;
}

