/*=========================================================
=                  ESEL ROBOTİK HERO SLIDER               =
=========================================================*/

/* Slider */

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    max-height: 850px;
    overflow: hidden;
    background: #071428;
}

/* Slide */

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease;
}

    .slide.active {
        opacity: 1;
        visibility: visible;
    }

    /* Resim */

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: zoomSlider 8s linear infinite;
    }

    /* Overlay */

    .slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(7,15,36,.82) 0%, rgba(7,15,36,.65) 45%, rgba(7,15,36,.45) 100% );
        z-index: 1;
    }

/* İçerik */

.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
}

.slide-inner {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 60px;
}

/* Alt Başlık */

.slide-subtitle {
    color: #19d3ff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeUp .6s;
}

/* Başlık */

.slide-title {
    color: #fff;
    font-size: 68px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    animation: fadeUp .8s;
}

/* Açıklama */

.slide-text {
    max-width: 650px;
    color: #d9d9d9;
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 35px;
    animation: fadeUp 1s;
}

/* Buton Alanı */

.slide-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    animation: fadeUp 1.2s;
}

/* Mavi Buton */

.btn-slider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: 10px;
    background: #12c9f7;
    color: #081220;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: .3s;
}

    .btn-slider:hover {
        transform: translateY(-4px);
        background: #25dcff;
    }

/* Şeffaf Buton */

.btn-slider-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.4);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    transition: .3s;
}

    .btn-slider-outline:hover {
        background: #fff;
        color: #071428;
    }

/* Sağ Sol Buton */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 20;
    transition: .3s;
}

    .slider-btn:hover {
        background: #12c9f7;
        color: #071428;
    }

.prev {
    left: 35px;
}

.next {
    right: 35px;
}

/* Dots */

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 35px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: .3s;
}

    .dot.active {
        width: 45px;
        border-radius: 30px;
        background: #12c9f7;
    }

/* Yazı Animasyonu */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resim Zoom */

@keyframes zoomSlider {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}

/* Tablet */

@media(max-width:992px) {

    .slider {
        height: 80vh;
    }

    .slide-inner {
        padding: 0 35px;
    }

    .slide-title {
        font-size: 46px;
    }

    .slide-text {
        font-size: 18px;
    }

    .slider-btn {
        width: 55px;
        height: 55px;
    }
}

/* Telefon */

@media(max-width:768px) {

    .slider {
        height: 650px;
    }

    .slide-inner {
        padding: 0 25px;
    }

    .slide-title {
        font-size: 34px;
    }

    .slide-subtitle {
        font-size: 16px;
    }

    .slide-text {
        font-size: 17px;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-slider,
    .btn-slider-outline {
        width: 100%;
        justify-content: center;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

/* Küçük Telefon */

@media(max-width:480px) {

    .slide-title {
        font-size: 28px;
    }

    .slide-text {
        font-size: 15px;
    }

    .slide-subtitle {
        font-size: 14px;
    }
}


/* SLİDER SOOOOOOOOOOOOOOOOOOOOOON */
