// .homepage-hero-area{
.homepage-hero-area{
    &:after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        content: "";
        z-index: 1;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%);
    }
    .hero-content {
        position: absolute;
        left: 0;
        top: 150px;
        right: 0;
        text-align: center;
        z-index: 3;
        color: #fff;
        @include all-below-mobile-lg{
            top: 30%;
        }
        .hero-content-inner {
            min-height: 155px;
            img{
                margin: 0 auto;
            }
        }
        .video-play-btn {
            width: 64px;
            height: 64px;
            border: 1px solid #fff;
            margin: 0 auto;
            color: #EA1B1B;
            font-size: 20px;
            padding-left: 6px;
            margin: 0 auto;
            margin-top: 72px;
            margin-bottom: 72px;
            transition: all .3s ease;
            text-align: center;
            line-height: 64px;
            @include mx-large-desktops2 {
                margin-top: 35px;
                margin-bottom: 35px;
            }
            &:hover{
                cursor: pointer;
                background-color: #EA1B1B;
                border-color: #EA1B1B;
                color: #fff;
            }
        }
        .scroll-next {
            display: inline-block;
            cursor: pointer;
            i {
                position: absolute;
                left: 0;
                top: 23px;
                right: 0;
            }
        }
        .heading-one,
        .heading-two {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 1s ease, transform 1s ease;
        }
        .heading-one.visible,
        .heading-two.visible {
            opacity: 1;
            transform: translateY(0);
        }
    }
}





// Hero Area + Video Background
// html, body{
//     height: 100%;
// }
.video-area, .video-foreground, .video-background iframe, .video-background{
    // height: 100vh;
    height: calc(100vh - 170px);
    @include all-below-med{
        height: 540px;
    }
    @include mx-mobile-lg{
        height: 430px;
    }
    @include all-mx-mobile{
        height: 330px;
    }
}
.video-foreground,
.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
    .video-foreground {
        height: 300%;
        // top: -100%;
    }
}
@media (max-aspect-ratio: 16/9) {
    .video-foreground {
        width: 300%;
        left: -100%;
    }
}
.video-background{
    .video-div{
        video{
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
    }
}








// .make-carousel-area
.make-carousel-area{
    overflow: hidden;
    // background: #0C0C09;
    padding: 25px 0;
    .owl-stage-outer{
        overflow: inherit;
    }
    .single-brand-item{
        background-size: cover;
        background-position: center;
        position: relative;
        z-index: 2;
        height: 140px;
        &:after {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: #000;
            content: "";
            z-index: -1;
            border: 4px solid #3a353542;
            opacity: .8;
            transition: all .5s ease;
        }
        &:hover:after{
            opacity: .5;
        }
        img { width: 70px;}
    }
}








// .showrooms-area
.showrooms-area {
    padding: 50px 0 60px;
    .heading-40{
        margin-bottom: 32px;
    }
    .showroom-wrap {
        gap: 30px;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        @include mmx-desktops{
            gap: 20px;
        }
        @include all-below-med{
            grid-template-columns: repeat(2, 1fr);
        }
        @include all-below-mobile-lg{
            grid-template-columns: repeat(1, 1fr);
        }
    }
    .single-showroom {
        // width: 33.3333%;
        border: 1px solid $border-color;
        border-radius: 16px;
        padding: 24px 34px 30px;
        background: #000;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        position: relative;
        @include mmx-desktops{
            padding: 24px 20px 30px;
        }
        img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 8px;
        }
        h3 {
            margin-bottom: 16px;
        }
        .showroom-content {
            background-color: #222428;
            border-radius: 12px;
            padding: 30px 26px 30px;
            @include mmx-desktops{
                padding: 30px 20px 30px;
            }
            .action-btn {
                position: absolute;
                right: 0;
                bottom: 0;
                width: 100px;
                height: 100px;
                color: #ea1b1b;
                background: #000;
                font-size: 30px;
                border-radius: 20px;
                padding: 14px 0 0 20px;
                @include mmx-desktops{
                    width: 70px;
                }
            }
        }
    }
}


// about-section-area
.about-section-area{
    font-size: 24px;
    font-weight: 200;
    @include all-below-med{
        font-size: 18px;
    }
    .slanted-box, .slanted-box2 {
        width: 100%;
        height: 100px;
        background: #000000;
        color: #fff;
        clip-path: polygon(0% 0%, 0% 0%, 100% 100%, 0% 100%);
        &.bottom-box, &.bottom-box2 {
            transform: rotate(180deg);
        }
    }
    .slanted-box2 {
        background-color: rgb(0, 0, 0);
        clip-path: polygon(60% 100%, 100% 0%, 100% 100%, 100% 100%);
        position: absolute;
        right: 0;
        top: 0;
        &.bottom-box2{
            top: auto;
            bottom: 0;
        }
    }
    .about-section-wrapper{
        background-color: #000;
        padding: 50px 0;
        .heading-40{
            margin-bottom: 32px;
        }
        .bg-color{
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 54%;
            z-index: 2;
            &::after{
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 120%;
                background-color: #222428;
                content: "";
                z-index: -1;
                clip-path: polygon(0 0, 100% 0%, 87% 88%, 0% 100%);
            }
            &.color-right{
                left: auto;
                right: 0;
                // clip-path: polygon(0 0, 100% 0%, 87% 88%, 0% 100%);
                &::after{
                    clip-path: polygon(13% 12%, 100% 0%, 100% 100%, 0% 100%);
                    top: -20%;
                }
            }
        }
        .about-bg {
            background-position: center;
            background-size: cover;
            clip-path: polygon(0 0, 100% 0%, 87% 88%, 0% 100%);
            width: 100%;
            height: 100%;
            &.bg-right {
                left: auto;
                right: 0;
                clip-path: polygon(13% 12%, 100% 0%, 100% 100%, 0% 100%);
            }
        }
        .about-section-2{
            margin-top: 100px;
        }
    }
}

// .featured-area
.featured-area{
    background-color: #000;
    padding: 80px 0 0;
    // overflow: hidden;
    // .owl-stage-outer{
    //     overflow: inherit;
    // }
    .single-featured-item{
        background-color: #000;
        padding: 16px;
        border: 1px solid $border-color;
        border-radius: 16px;
        font-size: 14px;
        .sub-heading{
            font-size: 12px;
        }
        .featured-car{
            img{
                border-radius: 8px;
                width: 100%;
                height: 170px;
                object-fit: cover;
            }
            i {
                width: 36px;
                height: 36px;
                background: #fff;
                color: #A2A9B6;
                text-align: center;
                line-height: 36px;
                border-radius: 100px;
                position: absolute;
                right: 20px;
                top: 10px;
                transition: all .3s ease;
                &:hover {
                    color: #E9223F;
                }
            }
            
        }
        .single-feature{
            line-height: 1.4em;
            gap: 12px;
            i{
                font-size: 20px;
            }
            span{
                font-weight: 700;
                color: #fff;
            }
        }
        .cash-finance{
            border: 1px solid #1d1d1d;
            border-radius: 8px;
            padding: 6px 12px;
            span{
                font-size: 21px;
                font-weight: 700;
                display: block;
            }
            .cash {
                span {
                    color: #E9223F;
                }
            }
            .finance{
                border-left: 1px solid #343B4A;
                padding-left: 24px;
                span{
                    color: #fff;
                }
            }
        }
    }
}

.reviews-area {
    padding: 50px 0px 80px;
    // .owl-stage-outer {
    //     padding-top: 20px;
    // }
    .single-review-item{
        background-color: #000;
        padding: 24px;
        border: 1px solid $border-color;
        border-radius: 16px;
        .quote{
            position: absolute;
            right: 20px;
            bottom: 25px;
            opacity: .5;
            font-size: 35px;
        }
        .author{
            img{
                width: 64px;
                height: 64px;
                object-fit: cover;
            }
            span{
                font-size: 12px;
                opacity: .8;
            }
        }
    }
}