/* index.css */

/* MAIN */

main{
    position:relative;
    width:100%;
    height: 100vh;
    overflow-x: hidden;
    min-height:30em;
}

main .img_frame{
    position:absolute;
    z-index:1;
    opacity:0.3;
}

main .img_1{
    height:87vh;
    min-height:25em;
    bottom:0;
    left:50%;
    transform: translateX(-50%);
    opacity:1;
    z-index:4;
}

main .img_3{
    height:30vh;
    width:50vw;
    background-size: 100% 180%;
    bottom:0;
    left:0;
}

main .img_4{
    height:40vh;
    width:50vw;
    background-size: 100% 130%;
    bottom:0;
    right:0;
}

main .img_2{
    top:0%;
    right:0%;
    height:15em;
    width:15em;
    background-size: 130% 100%;
}

main .img_2_1{
    bottom:0%;
    left:0%;
    height:20em;
    width:20em;
    background-size: cover;
    transform:scaleX(-1);
}

main .img_cart_1{
    bottom:0%;
    right:5%;
    height:24em;
    width:24em;
    background-size: cover;
    opacity: 0.7;
    /* transform:scaleX(-1); */
}


main .bg{
    height:100%;
    width:100%;
    background:var(--primary-orange);
    opacity:0.5;
    z-index:2;
    position:absolute;
}

main #cta{
    position:absolute;
    top: 55%;
    left:10%;
    width:28vw;
    transform:translateY(-50%);
    z-index:3;
    font-family: Montserrat;
}

main #cta h1{
    font-family:Poppins;
    margin:0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size:64px;
    font-size:4.8vw;
    font-weight:1000;
}

main #cta .cta_text{
    font-size:18px;
    width:auto;
    line-height: 1.1em;
    font-weight:300;
}

main #cta .btn{
    /* width:30%; */
    min-width:7em;
    text-align: center;
    font-size:14px;
    padding:0.8em;
}

.sms{
    display:none;
}

@media screen and (max-width:1000px) {
    /* main .img_frame.img_1{
        left:10%;
        height:85%;
    } */

    main #cta{
        width:auto;
        top: 35%;
        left: 10%;
        align-items: start;
    }

    main #cta h1 + div.flex{
        flex-direction: column;
        align-items:start;
        gap:0.5em;
    }

    main #cta .cta_text{
        font-size:16px;
        width:85%;
    }

    main #cta .btn{
        font-size:11px;
        padding:0.7em;
    }

    main .bg{
        opacity:0.6;
    }

    main .img_cart_1{
        right:-10%;
    }
/*
    main .img_2_1{
        background-position: bottom;
        right:-30%;
        left:auto;
        top:-0%;
    }
    */
}

@media screen and (max-width:600px) {
    main .img_frame.img_1{
        /* left:20%; */
        /* right:-20%; */
        left:80%;
        left:40%;
        height:85%;
        transform: scaleX(-1) translateX(0);
    }

    /* main .img_frame.img_1 {
        left: 10%;
        height: 85%;
        transform: scaleX(-1) translateX(-50%);
        transform-origin: 30%;
    } */
    
    main #cta{
        width:auto;
        top: 35%;
        left: 10%;
        align-items: start;
    }
    main #cta h1{
        font-size:36px;
    }

    main #cta h1 + div.flex{
        flex-direction: column;
        align-items:start;
    }

    main #cta .cta_text{
        font-size:14px;
        width:85%;
    }

    main #cta .btn{
        font-size:12px;
        padding:0.7em;
    }

    main .bg{
        opacity:0.7;
    }

    main .img_cart_1{
        bottom:5%;
        left:-25%;
        transform: scaleX(-1);
    }

    main .img_2_1{
        background-position: bottom;
        /* right:-30%; */
        /* left:auto; */
        top:-0%;
    }
}

@media screen and (max-width: 600px) and (hover: hover) and (pointer: fine) { /* (max-width: 600px) and (max-height: 650px) {*/
    main .img_frame.img_1{
        left:45%;
    }
}



/* SECTION 1 - TRENDING PRODUCT */

section{
    margin:5% 10% 5% 10%;
}

section#trendingProducts{
    margin:5% 0% 5% 10%;
}

section h2{
    font-family: Montserrat;
}

.products{
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.product{
    font-family: Montserrat;
    display:inline-flex;
    margin-right:1em;
}

.product .product_image{
    height:14em;
    width:17em;
    background-size: 70% 80%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius:2em 2em 0.2em 0.2em;
    position:relative;
    background-color: #f7f7f7;
}

.product_image.full{
    background-size: cover;
}

.product .product_image span{
    height:2em;
    width:2em;
    background:#fff;
    color: var(--primary-orange);
    border-radius:2em;
    position:absolute;
    right:5%;
    top:5%;
}

.product .product_details{
    align-items: end;
    justify-content: space-between;
    padding-right:0.5em;
}

.product .product_details .rate-star{
    color:var(--primary-orange);
}

.product .product_details h3{
    margin:0;
}

.unliked{
    color:var(--light-primary-orange);
}

.liked{
    color:var(--primary-orange);
}


@media (max-width:600px){
    section#trendingProduct{
        margin:15% 0% 15% 10%;
    }
    .product .product_image{
        height:11em;
        width:15em;
    }
}



section#count{
    font-family: Poppins;
    text-align:center;
    padding:5% 1em;
    margin:10% 0;
    background-color: var(--primary-orange);
    color:#fff;
}


section#count > div h1{
    font-weight:800;
    margin:0;
}


section#count > div h3{
    font-size:16px;
    font-weight:500;
    margin:0;
}

#count {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
#count.visible {
    opacity: 1;
}


@media (max-width:600px){
    section#count{
        flex-direction: column;
        gap:3em;
        padding:10% 0;
        height:50vh;
        margin:20% 0;
    }
}


/* SECTION -WHY US? */

#whyUs .circ{
    font-weight:900;
    cursor:pointer;
}

#whyUs .circ.inactive{
    background:var(--light-primary-orange);
    color:var(--primary-orange);
    pointer-events: none;
}

#whyUs .wu_image_1{
    border-radius: 2em;
    height:20em;
    width:100%;
    background-size: cover;
    background-position: center;
}

#whyUs .wu_image_2{
    border-radius: 2em 2em 0.5em 0.5em;
    height:18em;
    width:100%;
    background-size: cover;
    background-position: center;
    background-color: #edebee;/* #85c5ee;*/
}

#whyUs .right-part .info{
    font-size:12px;
    font-weight:300;
    line-height: 15px;
}

#whyUs .right-part .btn{
    font-size:12px;
    font-weight: 500;
}

.wu_image_1, .wu_image_2 {
    transition: background-image 0.5s ease-in-out;
}

.info {
    transition: opacity 0.5s ease-in-out;
}

.wu_image_1, .wu_image_2, .info, #whyUs h3 {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 1;
    transform: translateX(0);
}

.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.fade-in {
    opacity: 1;
    transform: translateX(0);
}



@media (max-width:600px){
    section#whyUs >  div{
        flex-direction: column;
        margin-bottom:10%;
    }
    main{
        height: 80vh;
    }
}


/* SECTION - TESTIMONIAL */
/* #testimonial{
    position: relative;
    background: #F8F9FA;
    padding:2em;
    height:100vh;
    width:100vw;
    margin:0;
    overflow-x: hidden;
}

#testimonial > h1{
    font-size:8em;
    color: var(--lightest-primary-orange);
    z-index: 1;
    top:12%;
}

#testimonial > div{
    z-index:2;
}

#testimonial .avatar{
    height:100px;
    width:100px;
    border-radius: 100px;
    background-image:url("../images/frame_9.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
}

#testimonial .avatar .circ{
   background-color: #fff; 
   color: var(--light-primary-orange);
   position:absolute;
   top:70%;
   left:70%;
}

#testimonial h4{
    margin:0;
}

#testimonial .comment{
    color:#555;
    font-size:14px;
}

#testimonial .comment{
    font-weight:500;
    text-align: center;
}

#testimonial .identity{
    font-weight:300;
}
 */


 /* SECTION - TESTIMONIAL */
#testimonial {
    position: relative;
    background: #F8F9FA;
    padding: 2em;
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow-x: hidden;
}

/* Large background title styling */
#testimonial > h1 {
    font-size: 8em;
    color: var(--lightest-primary-orange);
    z-index: 1;
    top: 12%;
}

/* Carousel container */
.testimonial-carousel {
    z-index: 2;
    position: relative;
    height: 100%;
}

/* Individual testimonial item styling */
.testimonial-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Active testimonial item */
.testimonial-item.active {
    opacity: 1;
}

/* Avatar styling */
#testimonial .avatar {
    height: 100px;
    width: 100px;
    border-radius: 100px;
    background-image: url("../images/frame_9.jpg");
    background-size: cover;
    background-position: 0% center;
    position: relative;
}

/* Quote icon styling */
#testimonial .avatar .circ {
   background-color: #fff;
   color: var(--light-primary-orange);
   position: absolute;
   top: 70%;
   left: 70%;
}

/* Name styling */
#testimonial h4 {
    margin: 0;
}

/* Comment styling */
#testimonial .comment {
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Identity styling */
#testimonial .identity {
    font-weight: 300;
}