@import url('./constants.css');


* {
    box-sizing: border-box;
}
.content-home img {
    max-width: 100%;
}
a {
    text-decoration: none;
}
.icon {
    display: inline-block;
    width: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}
.wrapper {
    width: 100%;
    height: 100vh;
    min-height: 750px;
    background-size: cover;
    position: relative;
    overflow: hidden;
    display: flex;
}
.product-slider__cart {
    background-color: transparent;
    border: none;
    color: #fff;
    min-height: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: auto;
    margin-bottom: 50px;
    margin-right: 40px;
    cursor: pointer;
}
@media screen and (max-width: 992px) {
    .wrapper {
        height: auto;
        min-height: 100vh;
    }
}

@media screen and (max-width: 575px) {
    .home-product-img {
       display:none;
    }
}
.content-home {
    height: 600px;
    width: 80%;
    max-width: 1250px;
    display: flex;
    align-items: center;
    position: relative;
    margin: 40px auto;
}
@media screen and (max-width: 1200px) {
    .content-home {
        max-width: 920px;
    }
}
@media screen and (max-width: 992px) {
    .content-home {
        max-width: 920px;
        margin-top: 100px;
        height: auto;

    }
}
@media screen and (max-width: 767px) {
    .content-home {
        margin-top: 20px;
    }
}
@media screen and (max-width: 576px) {
    .content-home {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
.bg-shape {
    height: 100%;
    background-image: linear-gradient(-45deg, #F5F5F7 0%, #D4D4D7 100%);
    box-shadow: 0px 30px 139px 0px rgba(10, 22, 31, 0.26);
    border-radius: 30px;
    padding: 45px 40px;
    width: 50%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
@media screen and (max-width: 1200px) {
    .bg-shape {
        width: 45%;
    }
}
@media screen and (max-width: 992px) {
    .bg-shape {
        width: 90%;
        height: 290px;
        align-items: flex-start;
        padding: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 767px) {
    .bg-shape {
        padding: 30px;
        width: 95%;
        border-radius: 20px;
    }
}
@media screen and (max-width: 576px) {
    .bg-shape {
        height: 200px;
        padding: 30px;
    }
}
.bg-shape img {
    object-fit: contain;
    width: 510px;
    display: block;
    object-position: left center;
    opacity: 0.2;
    transform: rotate(-90deg) translateY(-50%);
    max-width: inherit;
    left:-20px;
    position: absolute;
}
@media screen and (max-width: 1200px) {
    .bg-shape img {
        width: 430px;
        left: 10px;
    }
}
@media screen and (max-width: 992px) {
    .bg-shape img {
        transform: none;
        width: 100%;
        position: relative;
        left: auto;
        margin-left: auto;
        margin-right: auto;
        object-fit: contain;
        height: 100%;
        object-position: top center;
    }
}
.next, .prev {
    z-index: 22;
    display: inline-flex;
    border: none;
    width: 61px;
    height: 61px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    position: absolute;
    top: 50%;
    outline: none;
    cursor: pointer;
}
.next.disabled, .prev.disabled {
    cursor: not-allowed;
}
.next:focus, .prev:focus {
    outline: none;
}
@media screen and (max-width: 992px) {
    .next, .prev {
        top: 170px;
    }
}
.prev {
    left: -30%;
    transform: translate(-100%, -50%);
}
@media screen and (max-width: 1200px) {
    .prev {
        left: -21%;
    }
}
@media screen and (max-width: 992px) {
    .prev {
        left: 0;
        transform: translate(-50%, -50%);
    }
}
@media screen and (max-width: 576px) {
    .prev {
        transform: translate(20%, -50%);
    }
}
.next {
    right: 0;
    transform: translate(50%, -50%);
}
@media screen and (max-width: 576px) {
    .next {
        transform: translate(-20%, -50%);
    }
}
.product-slider {
    width: 75%;
    height: 85%;
    border-radius: 30px;
    box-shadow: 0 28px 79px 0 rgba(10, 22, 31, 0.35);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
@media screen and (max-width: 1200px) {
    .product-slider {
        width: 80%;
    }
}
@media screen and (max-width: 992px) {

    .product-slider {
        width: 80%;
        left: 40%;
        transform: translateX(-50%);
        height: auto;
        position: relative;
        top: 0;
        margin-top: 170px;
        margin-bottom: 100px;
    }

    .product-slider br {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .product-slider {
        border-radius: 20px;
    }
}
@media screen and (max-width: 576px) {
    .product-slider {
        width: 85%;
        margin-top: 130px;
    }
}
.product-slider__wrp {
    height: 100%;
}
.product-slider__item {
    position: relative;
    height: 100%;
    width: 100%;
}
@media screen and (max-width: 992px) {
    .product-slider__item {
        height: auto;
    }
}
.product-slider__item.swiper-slide-active .product-slider__content > * {
    opacity: 1;
    transform: none;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(1) {
    transition-delay: 0s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(2) {
    transition-delay: 0.2s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(3) {
    transition-delay: 0.4s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(5) {
    transition-delay: 0.8s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(6) {
    transition-delay: 1s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(7) {
    transition-delay: 1.2s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(8) {
    transition-delay: 1.4s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(9) {
    transition-delay: 1.6s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(10) {
    transition-delay: 1.8s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(11) {
    transition-delay: 2s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(12) {
    transition-delay: 2.2s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(13) {
    transition-delay: 2.4s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(14) {
    transition-delay: 2.6s;
}
.product-slider__item.swiper-slide-active .product-slider__content > *:nth-child(15) {
    transition-delay: 2.8s;
}
.product-slider__item.swiper-slide-active circle {
    animation: progress 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0.75;
}
.product-slider__card {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.5s;
    overflow: hidden;
    position: relative;
    border-radius: 30px;
    background-color: var(--grey-color);
}
@media screen and (max-width: 992px) {
    .product-slider__card {
        align-items: flex-start;
    }
}
@media screen and (max-width: 767px) {
    .product-slider__card {
        border-radius: 20px;
    }
}
.product-slider__cover {
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media screen and (max-width: 767px) {
    .product-slider__cover {
        border-radius: 20px;
    }
}
.product-slider__content {
    color: #fff;
    padding-top: 1px;
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 250px;
    padding-right: 80px;
}
@media screen and (max-width: 1200px) {
    .product-slider__content {
        padding-left: 220px;
    }
}
@media screen and (max-width: 992px) {
    .product-slider__content {
        padding: 20px 60px 100px;
        padding-top: 280px;
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    .product-slider__content {
        padding: 20px 30px 50px;
        padding-top: 300px;
    }
}
@media screen and (max-width: 576px) {
    .product-slider__content {
        padding-top: 220px;
        padding-left: 15px;
        padding-right: 15px;
    }
}
.product-slider__title {
    font-family: "Poppins", serif;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 900;
    font-size:35px;
    line-height: 1.2em;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(55px);
    transition: all 0.5s;
}
@media screen and (max-width: 1200px) {
    .product-slider__title {
        font-size: 22px;
    }
}
@media screen and (max-width: 576px) {
    .product-slider__title {
        font-size: 1.2rem;
    }
}
.product-slider__price {
    font-family: "Poppins", serif;
    font-weight: 400;
    display: block;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(55px);
    transition: all 0.5s;
}
@media screen and (max-width: 1200px) {
    .product-slider__price {
        font-size: .8rem;
    }
}
@media screen and (max-width: 576px) {
    .product-slider__price {
        font-size: .6rem;
    }
}


@media screen and (max-width: 768px) {
    .product-slider__cart {
        margin-right: 30px;
    }
}
@media screen and (max-width: 576px) {
    .product-slider__cart {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }
}
.product-slider__fav {
    display: flex;
    flex-direction: column;
    color: #888e94;
    background: none;
    border: none;
    position: relative;
    padding-left: 25px;
    outline: none;
    cursor: pointer;
}
.product-slider__fav:focus {
    outline: none;
}

.product-slider__fav .heart.is-active {
    transition-duration: 1s;
    background-position: -2800px 0;
}
.product-slider__bottom {
    margin-top: 40px;
    min-height: 150px;
    opacity: 1;
    transform: translateY(55px);
    transition: all 0.5s;
    justify-content: space-between;
    flex-direction: column;
    display: flex;
}
.product-ctr {
    display: flex;
    align-items: center;
    min-height: 150px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(55px);
    transition: all 0.5s;
}
@media screen and (max-width: 992px) {
    .product-ctr {
        justify-content: center;
    }
}
.product-ctr .hr-vertical {
    width: 1px;
    background: #9fa3a7;
    align-self: stretch;
    margin: 0 35px;
    flex-shrink: 0;
    opacity: 0.5;
}
@media screen and (max-width: 767px) {
    .product-ctr {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }
    .product-ctr .hr-vertical {
        width: 100%;
        margin: 35px 0;
        height: 1px;
    }
}
@media screen and (max-width: 767px) {
    .product-labels {
        width: 100%;
    }
}
.product-labels__checkbox {
    display: none;
}
.product-labels__checkbox:checked + .product-labels__txt {
    border-color: #cc3743;
    padding: 10px 13px;
}
.product-labels__title {
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 16px;
    margin-bottom: 10px;
}
.product-labels__group {
    display: flex;
    margin-bottom: 15px;
}
@media screen and (max-width: 992px) {
    .product-labels__group {
        justify-content: center;
    }
}
.product-labels__group:last-child {
    margin-bottom: 0;
}
.product-labels__item {
    margin: 5px;
    cursor: pointer;
}
.product-labels__item:first-child {
    margin-left: 0;
}
.product-labels__txt {
    display: block;
    border: 2px solid transparent;
    font-size: 14px;
    padding: 10px 20px;
    padding-left: 0;
    border-radius: 50px;
    transition: all 0.3s;
    letter-spacing: 2px;
}
@keyframes progress {
    0% {
        stroke-dasharray: 0 100;
    }
}
.product-inf {
    text-align: center;
}
@media screen and (max-width: 767px) {
    .product-inf {
        width: 100%;
    }
}
.product-inf__percent {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-family: 'Dosis', sans-serif;
    position: relative;
}
.product-inf__percent circle {
    transform: rotate(180deg) scaleY(-1);
    transform-origin: 50%;
}
.product-inf__percent-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.product-inf__title {
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 18px;
}
.home-product-img {
    position: absolute;
    z-index: 2;
    width: 500px;
    left: 25%;
    transform: translateX(-45%);
    max-height: 500px;
    height: 100%;
    pointer-events: none;
}
@media screen and (max-width: 1200px) {
    .home-product-img {
        width: 430px;
        left: 20%;
    }
}
@media screen and (max-width: 992px) {
    .home-product-img{
        width: 430px;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        height: 350px;
    }
}
@media screen and (max-width: 767px) {
    .home-product-img {
        width: 100%;
        max-width: 400px;
        top: 30px;
        height: 390px;
    }
}
@media screen and (max-width: 576px) {
    .home-product-img {
        max-width: 300px;
        height: 300px;
    }
}
.product-img__item {
    display: flex;
    align-items: center;
    position: absolute;
    pointer-events: none;
    user-select: none;
    top: 50%;
    right: 50px;
    transform: translateY(-50%) translateX(-130px);
    opacity: 0;
    transition: all 0.3s;
    width: 75%;
    object-fit: cover;
}
.product-img__item.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    transition-delay: 0.3s;
}
.product-img__item img {
    object-fit: contain;
    object-position: center right;
}
.social {
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 100%;
    display: flex;
    padding: 20px 55px;
    justify-content: space-between;
}
@media screen and (max-width: 576px) {
    .social {
        flex-direction: column;
        bottom: 0;
    }
}
.social__item {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1em;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}
.social__item:hover {
    color: #fff;
}
@media screen and (max-width: 576px) {
    .social__item {
        margin-bottom: 10px;
    }
}
.social__img {
    width: 24px;
    margin-right: 15px;
}

/* Mobil Ayarları */
@media (max-width: 992px) {
    .content-home {
        flex-direction: column;
        margin-top: 30px;
    }

    .bg-shape {
        width: 90%;
        height: 250px;
        padding: 30px;
    }

    .product-slider {
        width: 80%;
        margin-top: 30px;
    }

    .home-product-img {
        max-width: 300px;
    }

    .product-slider__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .bg-shape {
        height: 200px;
    }

    .product-slider__content {
        padding: 20px;
    }

    .product-slider__cart {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .prev, .next {
        top: 90%;
        transform: translateY(-50%);
    }
}


