/**
 * Neden Biz — yalnızca bu sayfa (global-layout ile çakışmayı önlemek için nb- öneki)
 */

body.neden-biz-body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.neden-biz-body.loaded {
    opacity: 1;
}

/* Hero görseli header + topbar arkasına uzansın (içerik padding’i ile aşağıda kalsın) */
body.inner-page.neden-biz-body {
    padding-top: 0 !important;
}

/* Üst şerit + menü: global-layout + header-like-home.css (ana sayfa ile aynı) */

.nb-main {
    display: block;
    width: 100%;
    overflow-x: clip;
}

.nb-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}

/* Hero — üstten başlar; metin sabit header yüksekliği kadar aşağıda */
.nb-hero {
    position: relative;
    min-height: min(78vh, 820px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
    padding: clamp(150px, 22vh, 210px) 0 clamp(100px, 14vw, 140px);
}

.nb-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../resimler/neden-biz-hero.png");
    background-size: cover;
    background-position: center 65%;
    transform: scale(1.05);
    transition: transform 10s ease-out;
    z-index: 0;
}

.nb-hero__overlay {
    position: absolute;
    inset: 0;
    /* Üst: header ile aynı ton — ekstra boş koyu bant yok; metin hâlâ okunur */
    background:
        linear-gradient(180deg, rgba(3, 6, 14, 0.35) 0%, rgba(5, 8, 15, 0.2) 28%, transparent 55%),
        linear-gradient(
            180deg,
            rgba(5, 8, 15, 0.5) 0%,
            rgba(5, 8, 15, 0.32) 42%,
            #05080f 100%
        );
    z-index: 1;
}

.nb-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding-top: clamp(8px, 2vw, 24px);
}

.nb-hero__title {
    font-family: "Outfit", sans-serif;
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.12;
    color: #f8fafc;
    margin: 0 0 1.25rem;
}

.nb-hero__title span {
    color: #eab308;
}

.nb-hero__lead {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: #e2e8f0;
    line-height: 1.65;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* İstatistikler — grid her zaman uygulanır */
.nb-stats-wrap {
    position: relative;
    z-index: 5;
    margin-top: clamp(-3rem, -6vw, -4.5rem);
    margin-bottom: 0;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.nb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(234, 179, 8, 0.28);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.nb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.875rem;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(0.75rem, 2vw, 1.25rem);
    min-height: 200px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nb-stat:last-child {
    border-right: none;
}

.nb-stat__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(234, 179, 8, 0.14);
    border: 1px solid rgba(234, 179, 8, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fde047;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.nb-stat__value {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    color: #f8fafc;
    margin: 0;
}

.nb-stat__value .nb-counter {
    color: #eab308;
}

.nb-stat__value .nb-suf {
    color: #eab308;
    font-weight: 800;
}

.nb-stat--plain .nb-stat__value {
    color: #eab308;
}

.nb-stat__label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1.45;
    max-width: 18ch;
}

/* Beyaz bant: giriş + sütunlar */
.nb-light {
    background: #ffffff;
    padding-bottom: clamp(4rem, 10vw, 7.5rem);
}

.nb-intro {
    padding: clamp(3.5rem, 8vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.nb-intro__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.nb-kicker {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e11d48;
    margin-bottom: 1rem;
}

.nb-intro h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin: 0 0 1.5rem;
}

.nb-intro h2 span {
    color: #e11d48;
}

.nb-intro p {
    font-size: 1.0625rem;
    color: #475569;
    line-height: 1.75;
    margin: 0 0 1.25rem;
}

.nb-intro__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

/* Ortak blok başlıkları + program kartları */
.nb-block-head {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
    max-width: 720px;
}

.nb-block-head--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.nb-block-head h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.nb-block-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
}

.nb-services {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
    border-top: 1px solid #e2e8f0;
}

.nb-services__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.nb-service-card {
    display: block;
    padding: clamp(1.35rem, 3vw, 1.85rem);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nb-service-card:hover {
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.nb-service-card__icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    color: #b45309;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.nb-service-card h3 {
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.nb-service-card p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
}

.nb-service-card__more {
    font-size: 0.88rem;
    font-weight: 700;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nb-service-card:hover .nb-service-card__more {
    color: #92400e;
}

/* 6 sütun */
.nb-pillars-head {
    margin-bottom: 2.5rem;
}

.nb-pillars-head .nb-kicker {
    color: #ca8a04;
}

.nb-pillars-head h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.nb-pillars-lead {
    margin: 0.85rem 0 0;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
}

.nb-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.nb-pillar {
    position: relative;
    padding: 2rem 2rem 2rem 1.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.nb-pillar:hover {
    border-color: rgba(234, 179, 8, 0.45);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.nb-pillar__num {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-family: "Outfit", sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    pointer-events: none;
}

.nb-pillar h3 {
    position: relative;
    z-index: 1;
    font-family: "Outfit", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.nb-pillar h3 i {
    color: #eab308;
    font-size: 1.1rem;
}

.nb-pillar p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.65;
}

/* Süreç */
.nb-process {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #f1f5f9;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.nb-process .nb-container {
    text-align: center;
}

.nb-process h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.nb-process__lead {
    margin: 0 auto 2.5rem;
    max-width: 680px;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.65;
}

.nb-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    text-align: center;
}

.nb-process-step {
    padding: 0 0.5rem;
}

.nb-process-step strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border: 2px solid #eab308;
    border-radius: 50%;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #b45309;
}

.nb-process-step h4 {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

.nb-process-step p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* SSS */
.nb-faq {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 3vw, 2rem);
    border-top: 1px solid #e2e8f0;
}

.nb-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.nb-faq__item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 0.65rem;
    background: #fff;
    overflow: hidden;
}

.nb-faq__item summary {
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 0.98rem;
    color: #0f172a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nb-faq__item summary::-webkit-details-marker {
    display: none;
}

.nb-faq__item summary::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 800;
    color: #ca8a04;
    flex-shrink: 0;
}

.nb-faq__item[open] summary::after {
    content: "−";
}

.nb-faq__item p {
    margin: 0;
    padding: 0 1.15rem 1.15rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #64748b;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

/* CTA */
.nb-cta {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.nb-cta h2 {
    font-family: "Outfit", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: #f8fafc;
    margin: 0 0 0.75rem;
}

.nb-cta p {
    color: #94a3b8;
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.nb-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    background: linear-gradient(135deg, #eab308, #ca8a04);
    color: #0f172a;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nb-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(234, 179, 8, 0.35);
}

/* Reveal */
.nb-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nb-reveal.nb-reveal--in {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1024px) {
    .nb-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible;
    }

    .nb-stat {
        border: 1px solid rgba(234, 179, 8, 0.22);
        border-radius: 16px;
        background: rgba(15, 23, 42, 0.96);
        min-height: auto;
        border-right: 1px solid rgba(234, 179, 8, 0.22);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    }

    .nb-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .nb-hero {
        min-height: 100dvh;
        min-height: 100svh;
        box-sizing: border-box;
        padding-top: calc(env(safe-area-inset-top, 0px) + var(--topbar-height, 42px) + 76px);
        padding-left: clamp(16px, 4vw, 24px);
        padding-right: clamp(16px, 4vw, 24px);
        padding-bottom: clamp(2.5rem, 8vh, 4rem);
        align-items: center;
        justify-content: center;
    }

    .nb-hero__bg {
        background-position: center center;
    }

    .nb-stats-wrap {
        margin-top: clamp(-1.75rem, -3vw, -2.25rem);
        padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }

    .nb-stat {
        gap: 0.5rem;
        padding: 0.9rem 1rem;
        min-height: 0;
    }

    .nb-stat__icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .nb-stat__value {
        font-size: clamp(1.4rem, 5vw, 1.85rem);
    }

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

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

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

    .nb-process-steps {
        grid-template-columns: 1fr;
    }
}
