@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

:root {
    --dark: #2B2B2B;
    --linear-white-dark: linear-gradient(to bottom, #fff, #7f7f7f)
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--dark);
}

.dark-white {
    background: var(--linear-white-dark);
}

.dark-color {
    color: var(--dark);
    background: #fff;
}

.dark-background {
    color: #fff;
    background-color: var(--dark);
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 1200px;
    max-width: 100% !important;
}

.w-60 {
  width: 60%;
}
.w-75 {
  width: 75%;
}

/* ----- */

.navbar-dark {
    background: var(--dark) !important;

}

.models .models-item {
    display: flex;
    justify-content: center;
    justify-items: center;
    flex-direction: column;
    text-align: center;
    transition: all 0.3s ease-in-out;
    filter: grayscale(1);
}

.models .models-item:hover {
    background-color: #2F2F2F;
    filter: grayscale(0);
}

#test-drive {
  position: relative;
}

.drive-text {
  position: relative;
}

.drive-text, #test-drive .carousel-item .text-start {
  font-family: 'Russo One', sans-serif;
}

.drive-text .text-bg {
  width: 100%;
  font-size: 9vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.1);
  -webkit-background-clip: text;
}

.drive-text .text-dark {
  /* position: absolute; */
  /* bottom: 0; */
}


.limited-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
            line-clamp: 3; 
    -webkit-box-orient: vertical;
 }


.branch {
   position: relative;
}

.branch .branch-items {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30%;
    flex-direction: column;
    height: 90%;
    overflow: scroll;
}

.branch .branch-items .branch-item {
    background-color: var(--dark);
    padding: 10px;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.branch .branch-items .branch-item.active {
    background-color: #454545;
}

.interior {
    position: relative;
    /* height: 500px; */
}

.interior .shape {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    height: 500px;
    position: absolute;
    right: 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.interior .swiper-slide {
    height: 500px !important;
    background-color: var(--dark);
}





.gallery .swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .gallery .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 50%;
    /* height: 300px; */
  }

  .gallery .swiper-slide img {
    display: block;
    width: 100%;
    /* height: 300px; */
  }





/* -- mobile -- */

@media screen and (max-width: 992px) {
    .test-drive-row {
        flex-direction: column-reverse;
    }  

    #test-drive .next-prev {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .interior .shape {
        clip-path: none;
        height: 250px;
        position: relative;
    }
    
    .interior .swiper-slide {
        height: auto !important;
        background-color: var(--dark);
    }
    
    .interior .swiper-slide .row {
        flex-direction: column-reverse;
    }

    .interior .prev-next {
        margin-top: 30px;
    }
    
}

@media screen and (max-width: 925px) {
    .branch .branch-items {
        width: 100%;
        overflow: scroll;
        height: auto;
        flex-direction: row;
    }

    .branch .branch-items .branch-item {
        margin-right: 10px;
        width: 400px;
    }


}

@media screen and (max-width: 700px) {   
}

@media screen and (max-width: 440px) {
   
    .drive-text .text-bg {
        font-size: 14vw;
    }
}


/* model page */

.hero {
    height: 100vh;
    position: relative;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.hero::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.408);
    position: absolute;
    bottom: 0;
    height: 100vh;
    width: 100%;
}

.hero h1 {
    z-index: 1;
}