﻿/*!made by FİKRİVUKU*/
#oraxHero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100dvh;
}

@media only screen and (min-width : 320px) and (max-width : 700px) {
    #oraxHero {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 100svh;
        max-height: 550px
    }
}



.orax-hero__slide {
    position: relative;
    width: 100%;
    height: 100vh; /* full viewport height */
    min-height: 560px;
    flex: 0 0 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}


    .orax-hero__slide img {
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        z-index: 0;
        pointer-events: none; /* video, buton vb. tıklamaları engellemesin */
    }

@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__slide img {
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
        z-index: 0;
        pointer-events: none; /* video, buton vb. tıklamaları engellemesin */
    }
}



/* Video arka plan gibi davranacak: tüm slide'ı kaplasın */
.orax-hero__slide video {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
    pointer-events: none; /* video, buton vb. tıklamaları engellemesin */
}

@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__slide video {
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
        z-index: 0;
        pointer-events: none; /* video, buton vb. tıklamaları engellemesin */
    }
}


.orax-hero__content {
    position: relative; /* z-index works on positioned elements */
    z-index: 2;
    width: 25%;
    padding: 24px;
    box-sizing: border-box;
    text-align: left; /* başlık satırlarını ortaya alır */
    color: #fff;
    top: 70%;
    left: 15%;
    background: #171717;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../../assets/img/service/bg-shape-2.png);
    border-top-right-radius: 70px
}

@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__content {
        width: 100%;
        padding: 24px;
        box-sizing: border-box;
        text-align: left; /* başlık satırlarını ortaya alır */
        color: #fff;
        top: 300px;
        left: 0%;
        background: #171717;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url(../../assets/img/service/bg-shape-2.png);
        border-radius: 0;
    }
}

.orax-hero__content h2 {
    font-size: 30px;
    color: #fff
}


@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__content h2 {
        font-size:20px;
        color:#fff
    }
}

.orax-hero__content p {
    font-size:20px;
    color: #fff
}

@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__content p {
        font-size: 14px;
        color: #fff
    }
}

/* Başlık, alt başlık ve buton için estetik ayarlar */
.orax-hero__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 700;
}

.orax-hero__subtitle {
    margin: 0 0 20px;
    font-size: clamp(14px, 1.8vw, 18px);
    opacity: .95;
    max-width: 80%;
}

/* CTA butonları */
.orax-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Eğer slide'lar wrapper flex ise, overflow/flex ayarlarını güvence altına al */
.orax-hero__slides {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
    will-change: transform;
}

.orax-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 2rem;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    padding-bottom: 10px;
    border-radius: 30px
}

@media only screen and (min-width : 320px) and (max-width : 700px) {
    .orax-hero__nav {
        position: absolute;
        top: 30%;
        transform: translateY(-50%);
        z-index: 10;
        font-size: 2rem;
        background: rgba(0,0,0,0.5);
        color: white;
        border: none;
        cursor: pointer;
        padding: 0.5rem 1rem;
        padding-bottom: 10px;
        border-radius: 30px
    }
}


.orax-hero__nav--prev {
    left: 10px;
}

.orax-hero__nav--next {
    right: 10px;
}

.orax-hero__dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    visibility: hidden
}

.orax-hero__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
}

    .orax-hero__dot.is-active {
        background: white;
    }
