:root {
    --slider-bottom-gap: 4.4vh;
}

@media(max-width:767px) {
    :root {
        --slider-bottom-gap: 2.4vh;
    }
}


/* ============================================================
       HERO SECTION — tam ekran
       ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 600px;
    background-color: var(--neutral-F5F5F5);
    overflow: hidden;
}

    .hero-section .mega-card,
    .hero-section .mega-card_img_wrapper {
        background-color: rgb(255 255 255 / 20%);
    }

/* ============================================================
       SWIPER
       ============================================================ */
.hero-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.swiper-slide {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-position: center;
    background-size: cover;
    background: url("../../img/slider-transparent-bg.svg") center/cover no-repeat;
}

.slide-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.slide-inner {
    width: 100%;
    margin: clamp(50px,9vw,80px) auto var(--slider-bottom-gap) auto;
    padding-bottom: var(--slider-bottom-gap);
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

    .slide-inner img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .slide-inner .slogan-pill {
        background-color: rgba(255, 255, 255, 0.2);
        color: var(--neutral-FFFFFF);
        backdrop-filter: blur(10px);
    }


/* ============================================================
       TİPOGRAFİ
       ============================================================ */
.slide-overline {
    font-size: var(--df-text-fs-44);
    font-weight: var(--fw-bold);
    color: var(--neutral-FFFFFF);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

.slide-headline {
    font-size: var(--df-text-fs-60);
    font-weight: var(--fw-bold);
    color: var(--red-D11019);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    min-height: 1.35em;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.slide-headline--center {
    justify-content: center;
}

.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: var(--red-D11019);
    margin-left: 3px;
    flex-shrink: 0;
    animation: blink 0.85s step-end infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.slide-body {
    font-size: var(--df-text-fs-18);
    color: var(--neutral-FFFFFF);
    line-height: 24px;
    max-width: 40ch;
}

.slide-body--center {
    max-width: clamp(300px,60vw,850px);
    text-align: center;
}

/* ============================================================
       SLIDE 1 — MÜŞTERİLER
       ============================================================ */
.s1-body {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    align-items: center;
    gap: 0 80px;
}

.s1-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 18px;
}

    .s1-left .slide-headline {
        max-width: 500px;
    }

.s1-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.s1-imgs {
    height: 100%;
    position: relative;
    display: flex;
    justify-content: end;
}

.s1-bg-img-container {
    max-width: clamp(200px,42vw,420px);
    width: 100%;
    height: 100%;
    margin-right: clamp(30px,7.5vw,100px);
    position: relative;
}

.s1-img1,
.s1-img2,
.s1-img3 {
    position: absolute;
    aspect-ratio: 300 / 215;
}

    .s1-img1 img,
    .s1-img2 img,
    .s1-img3 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.s1-img1 {
    width: clamp(154px, 20vw, 300px);
    top: clamp(20px, 2.5vw, 60px);
    left: clamp(-200px, -12vw, -75px);
}

.s1-img2 {
    width: clamp(90px, 14vw, 190px);
    top: clamp(20px, 2.5vw, 60px);
    right: clamp(-100px, -6vw, -30px);
}

.s1-img3 {
    width: clamp(128px, 20vw, 300px);
    bottom: clamp(20px, 2.5vw, 60px);
    right: clamp(-100px, -6vw, -30px);
}

.s1-arrow {
    position: absolute;
    bottom: 0;
    left: -40%;
    transform: translateX(50%);
}

    .s1-arrow img {
        width: clamp(85px,12vw,160px)
    }

.s1-zoom {
    cursor: pointer;
    outline: none;
}

    .s1-zoom .mega-card_img_wrapper {
        overflow: hidden;
    }

    .s1-zoom img {
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .s1-zoom:hover img,
    .s1-zoom:focus-visible img {
        transform: scale(1.06);
    }

    .s1-zoom:focus-visible {
        box-shadow: 0 0 0 3px var(--red-D11019);
    }

.zoom-overlay {
    position: absolute;
    z-index: 3000;
    background-size: cover;
    background-position: center;
    background-color: var(--neutral-F5F5F5);
    pointer-events: none;
    overflow: hidden;
    will-change: left, top, width, height;
}

/* ============================================================
   SLAYT GİRİŞ ANİMASYONLARI
   ============================================================ */
.anim-item {
    opacity: 0;
    will-change: transform, opacity;
}

    .anim-item.a-up {
        transform: translateY(42px);
    }

    .anim-item.a-down {
        transform: translateY(-42px);
    }

    .anim-item.a-left {
        transform: translateX(-80px);
    }

    .anim-item.a-right {
        transform: translateX(80px);
    }

    .anim-item.a-zoom {
        transform: scale(0.8);
    }

.swiper-slide.intro-in .anim-item {
    opacity: 1;
    transform: none;
    transition: opacity 1s ease var(--d, 0ms), transform 1.1s cubic-bezier(0.16, 0.84, 0.3, 1) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
    .anim-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .swiper-slide:not(.intro-in) .s2-circles .anim-item {
        opacity: 1;
    }

    /* sol-orta */
    .swiper-slide:not(.intro-in) .s2-circles .mega-card:nth-child(1) {
        transform: translate(-120%, -2vh);
    }

    /* sağ-üst (biraz aşağı) */
    .swiper-slide:not(.intro-in) .s2-circles .mega-card:nth-child(3) {
        transform: translate(150%, -26vh);
    }

    /* sağ-alt */
    .swiper-slide:not(.intro-in) .s2-circles .mega-card:nth-child(2) {
        transform: translate(150%, 8vh);
    }
}

@media (max-width:992px) {
    .s1-body {
        padding: 40px 0;
        gap: 0 40px;
    }

    .s1-body {
        padding: 0;
        gap: 3vh 0;
        flex-direction: column;
    }

    .s1-left {
        height: auto;
        gap: 4vh 0;
    }

    .s1-titles {
        gap: 0;
    }

    .s1-imgs {
        flex-direction: column;
        align-items: end;
        flex: 1;
        min-height: auto;
        gap: 40px;
    }

    .s1-arrow {
        bottom: 0%;
        left: -25%;
    }
}

@media (max-width:575px) {

    .s1-imgs {
        gap: 20px;
    }

    .s1-arrow {
        bottom: -5%;
        left: -45%;
    }
}


/* ============================================================
       SLIDE 2 — TEDARİKÇİLER
       ============================================================ */
.s2-body {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

    .s2-body .slogan-pill {
        margin-bottom: 60px;
        color:var(--neutral-1A1818);
    }

.s2-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    margin-bottom: 40px;
}

.s2-titles .slide-headline{
    color:var(--neutral-FFFFFF);
}

.s2-titles .slide-headline .typing-cursor{
    background-color:var(--neutral-FFFFFF);
}

.s2-circles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    width: 100%;
}

    .s2-circles .mega-card {
        width: clamp(130px, 25vw, 300px);
        aspect-ratio: 1;
        position: relative;
        flex-shrink: 0;
        overflow: visible;
    }

        .s2-circles .mega-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .s2-circles .mega-card:nth-child(1),
        .s2-circles .mega-card:nth-child(3) {
            margin-top: clamp(-120px, -14vw, -160px);
        }
        .s2-circles .mega-card:nth-child(2){
            margin-top: clamp(-10px, -2vw, -40px);
        }

            .s2-circles .mega-card:nth-child(1)::after {
                content: "";
                position: absolute;
                width: clamp(70px,13vw,180px);
                aspect-ratio: 200 / 190;
                top: -30%;
                left: -20%;
                background: url("../../img/kirpik-sol.svg") no-repeat center;
                background-size: contain;
                z-index: 2;
                pointer-events: none;
            }

        .s2-circles .mega-card:nth-child(2)::after {
            content: "";
            position: absolute;
            width: clamp(40px,3.5vw,72px);
            aspect-ratio: 1;
            top: 4%;
            right: -2%;
            border-radius: 50%;
            background: var(--neutral-E0E0E0);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            background-image: url("../../img/mg-fire-icon.svg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 45%;
            box-shadow: 0 0 0 8px rgb(255 255 255 / .35);
            z-index: 3;
        }

        .s2-circles .mega-card:nth-child(3)::after {
            content: "";
            position: absolute;
            width: clamp(80px,16vw,210px);
            aspect-ratio: 200 / 190;
            top: -35%;
            right: -25%;
            background: url("../../img/kirpik-sag.svg") no-repeat center;
            background-size: contain;
            z-index: 2;
            pointer-events: none;
        }

/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 992px) {
    .s2-body {
        justify-content: space-around;
    }

    .s2-circles .mega-card:nth-child(1), .s2-circles .mega-card:nth-child(3) {
        margin-top: -140px;
    }

    .s2-body .slogan-pill {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .s2-body {
        justify-content: space-between;
    }

    .s2-circles .mega-card:nth-child(1), .s2-circles .mega-card:nth-child(3) {
        margin-top: -80px;
    }

    .s2-titles {
        gap: 0;
    }

    .s2-circles {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-areas:
            "left top"
            ". bottom";
        justify-content: center;
        align-items: center;
        row-gap: 0px;
        column-gap: 70px;
    }

        .s2-circles .mega-card:nth-child(1) {
            grid-area: left;
            margin-bottom: -120px
        }

        .s2-circles .mega-card:nth-child(2) {
            grid-area: bottom;
            right: 50%;
        }

        .s2-circles .mega-card:nth-child(3) {
            grid-area: top;
        }

        .s2-circles .mega-card:nth-child(1)::after {
            top: -25%;
            left: -20%;
        }

        .s2-circles .mega-card:nth-child(3)::after {
            top: -31%;
            right: -20%;
        }

        .s2-circles .mega-card:nth-child(2)::after {
            top: 3%;
            border-width: 4px;
        }
}

@media (max-width:577px) {

    .s2-circles {
        grid-template-columns: repeat(2, 150px);
        row-gap: 12px;
        column-gap: 0px;
    }

        .s2-circles .mega-card:nth-child(2) {
            grid-area: bottom;
            right: 0;
        }

        .s2-circles .mega-card:nth-child(1)::after {
            top: -20%;
            left: -18%;
        }

        .s2-circles .mega-card:nth-child(3)::after {
            top: -22%;
            right: -20%;
        }

        .s2-circles .mega-card:nth-child(2)::after {
            top: 3%;
            border-width: 4px;
        }
}

/* ============================================================
       SLIDE 3 — SOSYAL / SUBSCRIBE
       ============================================================ */
.s3-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 0;
}

    .s3-body .slide-body {
        max-width: 100%;
    }

.s3-right .mega-card {
    width: 100%;
    max-width: clamp(260px,35vw,470px);
    position: relative;
    overflow: visible;
}

.s3-left {
    display: flex;
    flex-direction: column;
    gap: clamp(16px,2.8vw,38px);
}

.s3-right {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    gap: 0;
    position: relative;
}

.s3-position-p-wrapper {
    position: absolute;
    top: -140px;
    left: -75px;
}


    .s3-position-p-wrapper p {
        margin-left: -10px;
        margin-bottom:10px;
        max-width: clamp(280px,26vw,350px);
        font-size: var(--df-text-fs-14);
        color:var(--neutral-FFFFFF);
    }

    .s3-position-p-wrapper .s3-arrow {
        width: clamp(80px,15vw,200px);
        position: relative;
        z-index: 1;
    }

@media (max-width:991px) {
    .s3-body {
        height: 100%;
        align-items:center;
        flex-direction: column;
        justify-content: space-between;
        gap: 0;
    }

    .s3-left {
        height: fit-content;
    }

    .s3-right {
        height: clamp( (calc(clamp(220px,42vw,470px) + 50px)),40vw, (calc(clamp(300px,35vw,470px) + 140px)))
    }
}

@media (max-width:575px) {
    .s3-body {
        align-items: initial;
    }

    .s3-position-p-wrapper {
        top: -90px;
        left: -30px;
    }

    .s3-right .mega-card {
        max-height: 160px;
    }
}

/* ============================================================
       SLIDE 4 — ORTALI TASARIM
       ============================================================ */

.s4-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    gap: 38px;
}

.s4-titles {
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: center;
}

/* ============================================================
       SLIDE 4 — SOLA DAYALI TASARIM
       ============================================================ */

.s5-body {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100%;
    gap: 38px;
}

.s5-titles {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

    .s5-titles .slide-body {
        max-width: none;
    }

/* ============================================================
       NAVIGATOR
       ============================================================ */
.slider-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    padding: var(--slider-bottom-gap) 0px;
    pointer-events: none;
}

.nav-footer-text {
    font-size: var(--df-text-fs-14);
    color: var(--neutral-FFFFFF);
    line-height: 1.6;
    pointer-events: auto;
}

.nav-bottom-row {
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: auto;
}

.progress-lines {
    display: flex;
    width: 100%;
    gap: 16px;
}

.p-line {
    position: relative;
    flex: 1;
    height: 4px;
    background: rgb(255 255 255 / 12%);
    border-radius: 999px;
    overflow: hidden;
    cursor: pointer;
    transition: height 0.3s ease, background 0.3s ease;
}

    .p-line.active {
        height: 4px;
        background: linear-gradient(90deg, rgb(255 255 255 / 20%) 0%, rgb(255 255 255 / 44%) 100%);
    }

    .p-line.done {
        background: rgba(255, 255, 255, 0.55);
    }

.p-fill {
    display: block;
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1a1818 0%, #d11019 100%);
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

@media(max-width:991px) {
    .slider-nav {
        padding: var(--slider-bottom-gap) 30px var(--slider-bottom-gap) 60px;
    }
}

@media(max-width:575px) {
    .slider-nav {
        padding: var(--slider-bottom-gap) 30px;
    }
}
