/* =========================================================
   HERO SLIDER - FINAL
========================================================= */

.home-hero-full {
    position: relative;
    width: 100vw;
    max-width: none;

    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);


    height: 320px;

    overflow: hidden;
    border-radius: 0;
    isolation: isolate;
}


/* تمام اسلایدها روی هم */
.home-hero-full .hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}


/* هر اسلاید */
.home-hero-full .hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    z-index: 1;

    transition:
        opacity .8s ease,
        visibility .8s ease;
}


/* اسلاید فعال */
.home-hero-full .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* لینک */
.home-hero-full .hero-banner-link {
    display: block;

    width: 100%;
    height: 100%;

    text-decoration: none;
}


/* picture */
.home-hero-full .hero-picture {
    display: block;

    width: 100%;
    height: 100%;
}


/* تصویر */
.home-hero-full .hero-banner {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    border: 0;
    border-radius: 0;
}


/* =========================================================
   DOTS
========================================================= */

.home-hero-full .hero-dots {
    position: absolute;

    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 9px;

    z-index: 10;

    direction: ltr;
}


/* خود دکمه */
.home-hero-full .hero-dot {
    width: 11px;
    height: 11px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.65);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease,
        transform .25s ease;
}


/* نقطه فعال */
.home-hero-full .hero-dot.active {
    width: 28px;

    border-radius: 20px;

    background: #1976d2;

    transform: scale(1.02);
}


/* =========================================================
   PREV / NEXT
========================================================= */

.home-hero-full .hero-prev,
.home-hero-full .hero-next {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;

    background: rgba(15,23,42,.42);
    color: #fff;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    cursor: pointer;

    z-index: 10;

    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}


.home-hero-full .hero-prev {
    right: 22px;
}


.home-hero-full .hero-next {
    left: 22px;
}


.home-hero-full .hero-prev:hover,
.home-hero-full .hero-next:hover {
    background: #1976d2;

    border-color: #1976d2;

    transform: translateY(-50%) scale(1.06);
}


.home-hero-full .hero-prev i,
.home-hero-full .hero-next i {
    font-size: 16px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .home-hero-full {
        height: 320px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .home-hero-full {
        height: 280px;
    }

    .home-hero-full .hero-prev,
    .home-hero-full .hero-next {
        width: 40px;
        height: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .home-hero-full {
        width: 100%;

        margin-left: 0;
        margin-right: 0;


        height: 220px;

        border-radius: 14px;
    }


    .home-hero-full .hero-banner {
        border-radius: 14px;
    }


    .home-hero-full .hero-prev,
    .home-hero-full .hero-next {
        width: 34px;
        height: 34px;
    }


    .home-hero-full .hero-prev {
        right: 10px;
    }


    .home-hero-full .hero-next {
        left: 10px;
    }


    .home-hero-full .hero-prev i,
    .home-hero-full .hero-next i {
        font-size: 12px;
    }


    .home-hero-full .hero-dots {
        bottom: 10px;
        gap: 7px;
    }


    .home-hero-full .hero-dot {
        width: 9px;
        height: 9px;
    }


    .home-hero-full .hero-dot.active {
        width: 23px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .home-hero-full {
        height: 180px;
        border-radius: 12px;
    }


    .home-hero-full .hero-banner {
        border-radius: 12px;
    }


    .home-hero-full .hero-prev,
    .home-hero-full .hero-next {
        width: 30px;
        height: 30px;
    }


    .home-hero-full .hero-prev {
        right: 7px;
    }


    .home-hero-full .hero-next {
        left: 7px;
    }

}