/* ============================================
   ATIKLER FLAKE — NEDEN BİZ  |  v3
   Prefix: .nbiz__  — çakışma yok
   ============================================ */

/* ── Değişkenler ── */
.nbiz__section {
  --red:    #d21218;
  --dark:   #121e2d;
  --light:  #f4f6f8;
  --white:  #ffffff;
  --muted:  #6b7a8d;
  --border: rgba(18,30,45,.10);
}

/* ── Bölüm kapsayıcı ── */
.nbiz__section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--light);
  padding: 100px 0 0;
}

/* ── Dekoratif arka plan deseni ── */
.nbiz__section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 8% 20%, rgba(210,18,24,.06) 0%, transparent 45%),
    radial-gradient(circle at 92% 80%, rgba(18,30,45,.05) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ── Max-width kapsayıcı ── */
.nbiz__wrap {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ══════════════════════════════
   ÜSTTE: Başlık + Açıklama
══════════════════════════════ */
.nbiz__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.nbiz__head-left { max-width: 600px; }

.nbiz__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.nbiz__tag::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
}

.nbiz__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  color: var(--dark);
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.nbiz__title em {
  font-style: normal;
  color: var(--red);
}

.nbiz__rule {
  display: block;
  width: 56px; height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* Sağ görsel kart */
.nbiz__head-visual {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(18,30,45,.18);
}

.nbiz__head-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.nbiz__head-visual:hover img {
  transform: scale(1.05);
}

/* Üst kırmızı köşe şerit */
.nbiz__head-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--red);
  z-index: 2;
}

/* Alt karartma + metin */
.nbiz__visual-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 32px 20px 18px;
  background: linear-gradient(to top, rgba(18,30,45,.85) 0%, transparent 100%);
  z-index: 2;
}

.nbiz__visual-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}

.nbiz__visual-title {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.3;
}

/* ══════════════════════════════
   KART IZGARASI
══════════════════════════════ */
.nbiz__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(18,30,45,.10);
}

/* Tek kart */
.nbiz__card {
  position: relative;
  padding: 44px 34px 40px;
  border-right: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22,1,.36,1),
              box-shadow .4s ease,
              background .3s ease;
  cursor: default;
  background: var(--white);
}

.nbiz__card:last-child { border-right: none; }

/* Hover lift efekti */
.nbiz__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(18,30,45,.14);
  background: var(--white);
  z-index: 2;
}

/* Kırmızı üst çizgi — hover'da genişler */
.nbiz__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--red);
  transition: width .4s cubic-bezier(.22,1,.36,1);
}

.nbiz__card:hover::before { width: 100%; }

/* Büyük numara (dekoratif) */
.nbiz__card-num {
  position: absolute;
  top: 16px; right: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(18,30,45,.04);
  pointer-events: none;
  transition: color .3s;
  user-select: none;
}

.nbiz__card:hover .nbiz__card-num {
  color: rgba(210,18,24,.07);
}

/* İkon çemberi */
.nbiz__icon-wrap {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(210,18,24,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  transition: background .3s, transform .4s cubic-bezier(.22,1,.36,1);
}

.nbiz__card:hover .nbiz__icon-wrap {
  background: var(--red);
  transform: scale(1.1) rotate(-6deg);
}

.nbiz__icon-wrap svg {
  width: 28px; height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s;
}

.nbiz__card:hover .nbiz__icon-wrap svg { stroke: #fff; }

/* Kart başlık */
.nbiz__card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
  margin: 0 0 12px;
  letter-spacing: -.3px;
  transition: color .3s;
}

.nbiz__card:hover .nbiz__card-title { color: var(--red); }

/* Kart açıklama */
.nbiz__card-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Alt çizgi detay */
.nbiz__card-line {
  display: block;
  width: 32px; height: 2px;
  background: rgba(210,18,24,.3);
  border-radius: 1px;
  transition: width .4s cubic-bezier(.22,1,.36,1), background .3s;
}

.nbiz__card:hover .nbiz__card-line {
  width: 56px;
  background: var(--red);
}

/* ══════════════════════════════
   ALT BANT — istatistikler
══════════════════════════════ */
.nbiz__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
}

.nbiz__stat {
  padding: 32px 34px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nbiz__stat:last-child { border-right: none; }

.nbiz__stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
  letter-spacing: -1px;
}

.nbiz__stat-num span {
  font-size: 1.4rem;
  color: rgba(255,255,255,.5);
}

.nbiz__stat-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ══════════════════════════════
   SCROLL ANİMASYONLARI
══════════════════════════════ */
.nbiz__anim {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1);
}

.nbiz__anim.nbiz--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger gecikmeler */
.nbiz__card:nth-child(1) { transition-delay: .05s; }
.nbiz__card:nth-child(2) { transition-delay: .15s; }
.nbiz__card:nth-child(3) { transition-delay: .25s; }
.nbiz__card:nth-child(4) { transition-delay: .35s; }

.nbiz__stat:nth-child(1) { transition-delay: .10s; }
.nbiz__stat:nth-child(2) { transition-delay: .20s; }
.nbiz__stat:nth-child(3) { transition-delay: .30s; }
.nbiz__stat:nth-child(4) { transition-delay: .40s; }

/* ══════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════ */
@media (max-width: 1100px) {
  .nbiz__wrap { padding: 0 30px; }

  .nbiz__grid,
  .nbiz__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .nbiz__grid > .nbiz__card:nth-child(2) { border-right: none; }
  .nbiz__grid > .nbiz__card:nth-child(3) {
    border-top: 1px solid var(--border);
  }
  .nbiz__grid > .nbiz__card:nth-child(4) {
    border-right: none;
    border-top: 1px solid var(--border);
  }

  .nbiz__stats > .nbiz__stat:nth-child(2) { border-right: none; }
  .nbiz__stats > .nbiz__stat:nth-child(3) {
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .nbiz__stats > .nbiz__stat:nth-child(4) {
    border-right: none;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .nbiz__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

  .nbiz__head-visual { width: 100%; height: 200px; }
}

/* ══════════════════════════════
   RESPONSIVE — MOBİL
══════════════════════════════ */
@media (max-width: 640px) {
  .nbiz__section { padding: 64px 0 0; }
  .nbiz__wrap { padding: 0 16px; }

  .nbiz__title { font-size: 1.7rem; }

  .nbiz__grid,
  .nbiz__stats {
    grid-template-columns: 1fr;
    border-radius: 12px 12px 0 0;
  }

  .nbiz__stats { border-radius: 0 0 12px 12px; }

  .nbiz__grid > .nbiz__card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .nbiz__grid > .nbiz__card:last-child { border-bottom: none; }

  .nbiz__stats > .nbiz__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nbiz__stats > .nbiz__stat:last-child { border-bottom: none; }

  .nbiz__card { padding: 32px 24px 28px; }
  .nbiz__stat { padding: 24px 24px; }
}