/* font import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:"Poppins", sans-serif;
}

:root{
    --accent: #5d50fa;
    --black: #131313;
    --gray: #f9f9f9;
    --blue-gray: #f7f7fb;
}

html{
    scroll-behavior: smooth;
}

body{
    min-height: 100vh;
}

section{
    min-height: 100%;
    min-height: 100vh;
    color: var(--black);
}

/* Navbar */

nav{
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
    background-color: white;
    padding: 30px 50px;
    transition: all 0.1s ease-out;
    filter: drop-shadow(5px 5px 10px transparent);
}

/* Navbar Sticky */
nav .sticky{
    background-color: white;
    filter: drop-shadow(5px 5px 10px rgba(194, 184, 255, 0.5));
}

/* Navbar Brand */
.brand{
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    color: var(--black);
}

.brand h1{
    font-size: 32px;
    font-weight: bold;
}
.accent{
    color: var(--accent)
}
.brand:hover{
    opacity: 0.8;
}

/* Navbar menu */

.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 42px;
}

.menu a{
    display: inline-block;
    position: relative;
    color: var(--black);
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
}
.menu a::after{
    color: var(--accent);
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    border-radius: 5px;
    height: 0.1em;
    bottom:0;
    left: 0;
    background: currentColor;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.menu a:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;

}


.btn-2{
    width: 160px;
    height: 50px;
    font-size: 20px;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 12px;
    color: white;
    transition: all ease-in-out 0.2s;
    cursor: pointer;
    filter: drop-shadow( 5px 5px 10px rgba(0, 0, 0, 0.2));
}
.btn-2:hover{
    background-color: var(--black);
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
}

/* Hero Section  */

.hero-page{
    margin-top: 200px;
    display: flex;
    padding: 0px 50px;
    justify-content: space-between;
    overflow: hidden;
}
.hero-headlines{
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 652px;
}

.hero-headlines h1{
    font-size: 48px;
    font-weight: bold;
}

.hero-headlines p{
    font-size: 20px;
}
.btn-hero{
    width: 276px;
    height: 63px;
    font-size: 24px;
}
.download-buttons{
    display: flex;
    gap: 18px;
    margin-top: 24px;
}
.download-buttons img{
    transition:all 0.3s ease-out;
}
.download-buttons img:hover{
    opacity: 0.8;
    cursor: pointer;
}
.hero-page-img{
    max-width: 100%;
    height: auto;
}

/* About Section  */

.about{
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: 110px;
}
.about-container{
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    background-image: url("img/about_img.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 540px;
}
.about-container h1{
    font-size: 40px;
    font-weight: bold;
    width: 494px;
    text-align: center;
    margin-top: 67px;
}
.about-subline{
    font-size: 24px;
    width: 822px;
    text-align: center;
    opacity: 0.7;
}
.about-info{
    display: flex;
    position:absolute;
    top: 300px;
    gap:50px;
    flex-wrap: wrap;
}
.about-info-items{
    display: flex;
    flex-direction: column;
    background-color: white;
    color: var(--black);
    padding: 0px 35px 47px 17px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.2 ));
    width: 380px;
    height: 414px;
    transition: all ease-out 0.3s;
}
.about-info-items:hover{
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.4));
}
.about-hr{
    width: 100%;
    position: absolute;
    border: 16px solid var(--accent);
    color: var(--accent);
    left: 0px;
}
.about-info-items img{
    width: 178px;
    height: 178px;
    margin-top: 45px;
}
 
.about-info-items h5{
    font-size: 32px;
}

.about-info-items p{
    font-size: 16px;
    margin-top: 8px;
}
/* Collection Section  */

.collection{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}
.collection h1{
    font-size: 64px;
    font-weight: bold;
}
.collection-container{
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: center;
}
.collection-car-item{
    padding: 20px;
    width: 430px;
    height: auto;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    border-radius: 32px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.15));
    transition: all 0.3 ease-out;
}
.collection-car-item:hover{
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.25));
}
.collection-car-item img{
    border-radius: 32px;
}
.car-info,
.car-price, 
.car-location{
    display: flex;
    
}
.car-info{
    justify-content: space-between;
    align-items: center;
    
}
.car-price{
    gap: 4px;
    align-items: center;
}
.car-price h5{
    font-size: 24px;
}
.car-price h6{
    font-size: 20px;
    opacity: 0.6;
}
.car-location{
    gap: 8px;
    align-items: center;
    opacity: 0.3;
}
.car-location i {
    font-size: 20px;
}
.car-location h6{
    font-size: 20px;
}
.car-info-container h2{
    font-size: 32px;
    margin-bottom: 33px;
    margin-top: 5px;
}
.btn-car{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 32px;
    width: 172px;
    height: 50px;
    font-size: 16px;
    margin: 15px 0;
    width: 100%;
}
.btn-car i{
    font-size: 16px;
   
}
.btn-herocar{
    width: 276px;
    height: 60px;
    border-radius: 0px;
    font-size: 24px;
    background-color: var(--black);
    color: white;
    margin-top: 32px;
    transition: all 0.3s ease-out;
}
.btn-herocar i {
    font-size: 24px;
}
.btn-herocar:hover{
    font-size:24px;
}
.car-info-container{
    padding: 20px  30px 30px 30px;
}

/* Review Section  */
.review{
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}
.review h1{
    font-size: 64px;
    font-weight: bold;
    text-align: center;
}
.review-container{
    display: flex;
    gap: 24px;
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: center;
}
.review-item{
    width: 430px;
    height: 325px;
    border-radius: 32px;
    background-color: var(--blue-gray);
    padding: 40px 30px;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.15));
    transition: all 0.3s ease-in-out;
}
.review-item:hover{
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.3));
}
.review-item{
    font-size: 24px;
}
.review-people{
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 10px;
}
.review-people h5{
    font-size: 24px;
}

/* Footer Section  */
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 250px;
}
.callout{
    background-image: url('img/callout-img-desktop.png');
    position: absolute;
    top: -200px;
    margin: 0px 50px;
    height: 350px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}
.callout h2{
    font-size: 48px;
}
.callout-description{
    font-size: 24px;
    width: 886px;
    text-align: center;
}
.callout-buttons{
    display: flex;
    gap: 20px;
    margin-top: 25px;
}
.btn-callout{
    width: 240px;
    height: 60px;
    display: flex;
    gap:12px;
    align-items: center;
    justify-content: center;
    font-size:20px;
    font-weight: 700;
    background-color: white;
    color: black;
    border-radius: 8px;
}
.btn-callout:hover{
    background-color: var(--black);
    color: white;
    gap: 8px;
}
.btn-callout-black{
    background-color: var(--black);
    color: white;
}
.btn-callout-black:hover{
    background-color: white;
    color: var(--black);
}
.footer-bottom{
    width: 100%;
    height: 277px;
    background-color: var(--black);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 30px 100px;
}
.footer-brand{
    font-size: 40px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all ease-out 0.3s;
}
.footer-brand:hover{
    opacity: 0.6;
}
.socials{
    display: flex;
    gap: 18px;
}
.social-items{
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 2px solid white;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: all ease-out 0.3s;
    cursor: pointer;
}
.social-items i{
    color: white;
    font-size:20px;
}
.social-items:hover{
    background-color: var(--accent);
}