
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 1rem;
    scroll-behavior: smooth;
    list-style: none;
    text-transform: capitalize;
    text-decoration: none;
    font-family: "Poppins", sans-serif;

}

:root{
    
    --white-color: #fff;
    --light-gray: #ccc;
    --black-color: #1c2b2d;
    --black: #000;
    --blue-color: #31316f;
    --green-army: #454b1b;
    --light-red: #ee4b2b;
    --brick-red: #aa4a44;
    --light-white: #eee;
    --purple-color: #9d0191;
    --orange-color: #db6400;
    --camel: hsl(27, 34%, 58%);



    --border: .1rem solid rgba(0, 0, 0, .1);

    --box-shadow: 1px 4px 4px rgba(0, 0, 0, .1);
    --box-shadow-1: 0 .5rem 1rem rgba(0, 0, 0, .1);

    --radius: .5rem;
    --radius-1: 20px;
    --radius-cool: 44px 4px 0 0;
    --radius-fancy: 44px 4px 4px 4px;
    --radius-twist: 10px 0;
    
}

html::-webkit-scrollbar{
    width: .5rem;
    background: var(--light-white);
    
}
html::-webkit-scrollbar-thumb{
    border-radius: var(--radius-twist);
    background: var(--black-color);
}

img {
    height: auto;
    max-width: 100%;
  }

.container{
    max-width: 1048px;
    margin-left: auto;
    margin-right: auto;
}





/*todo ================== HEADER CONTENT =====================*/

header{
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
header.shadow{
    background-color: var(--white-color);
    box-shadow: 4px 4px 20px rgb(15 54 55 / 10%);
    transition: .5s linear;
    
}

.nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px 15px 10px;
}
#menu-icon{
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--black-color);
    display: none;
}
.logo{
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue-color);
}
.logo span{
    color: var(--light-red);
}
.navbar{
    display: flex;
    column-gap: 2rem;
}
.navbar a{
    color: var(--blue-color);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    transition: .5s linear;
}
.navbar a:hover, 
.navbar .active{
    color: var(--light-red);   
}


/*todo =================== HOME SECTION CONTENT ===================== */

.home {
    display: flex;
    align-items: center;
    justify-content: center;
    background:linear-gradient(rgba(76, 67, 67, 0.1), rgba(93, 61, 61, 0.5)), url(img/Covertible.jpg) no-repeat center center fixed;
    background-position: center;
    background-size: cover;
    height: 90vh;
}
.home .content{
    text-align: center;
    width: 80rem;
}
.home .content h3{
    color: var(--white-color);
    font-size: 2.5rem;
}
.home .content h3 span{
    color: var(--light-red);
}


/*todo =================== ABOUT ICONS SECTION CONTENT ===================== */

#about{
    background-color: var(--light-white);
    padding: 3rem 7%;
}
.about{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    
}
.about .about-icons{
    display: flex;
    align-items: center;
    padding: 2.5rem;
    padding: 2rem 0;
}
.about .about-icons ion-icon,
.about .about-icons i {
    font-size: 3.5rem;
    color: var(--light-red);
    padding: .5rem;
}
.about .about-icons h3{
    font-size: 1rem;
    color: var(--black-color);
    padding-bottom: 0.5rem;
}
.about .about-icons p{
    font-size: .837rem;
    color: var(--black-color);
    text-align: center;
}


/*todo =================== FEATURES SECTION CONTENT ===================== */

#features{
    padding: 3rem 7%;
}
.features .heading{
    text-align: center;
    font-size: 2rem;
}
.features .sub-heading{
    text-align: center;
    font-size: 2rem;
    padding-top: 3rem;
}

.features .heading span,
.features .sub-heading span {
    color: var(--light-red);
    text-decoration: underline;
}
.features p{
    font-size: .839rem;
    color: var(--black-color);
    text-align: center;
    padding-bottom: 3.5rem;
}

.features .features-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, auto));
    gap: 1.5rem;
}    

.features .features-product{
    border: 1px solid var(--light-white);
    border-radius: var(--radius-fancy);
    max-width: 20rem;
}
.features .features-product .image{
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-cool);
}
.features .features-product .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.features .features-product .image img:hover{
    transform: scale(1.1);
    transition: .5s linear;
}
.features .features-product .details{
    text-align: center;
    padding-bottom: 1rem;
    background-color: var(--light-white);
}
.features .features-product .details h2{
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}
.features .features-product .details p {
    font-size: .739rem;
    padding-bottom: 1rem;
    color: var(--green-army);
    font-weight: 700;

}
.features .features-product .details p span{
    text-decoration: line-through;
    color: var(--light-red);
    padding: 0.5rem;
    font-weight: 700;
}
.features .features-product .details .features-btn{
    padding-left: 10rem;
    
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--black-color);
    cursor: pointer;
    transition: .5s linear;
}
.features .features-product .details .features-btn:hover{
    color: var(--light-red);
}

.features .features-product .details .features-btn ion-icon{
    position: absolute;
    
    font-size: 1.5rem;
    color: var(--black-color);
    cursor: pointer;
    transition: .5s linear;
}
.features .features-product .details .features-btn:hover ion-icon{
    color: var(--light-red);
    transform: translateX(5px);
}

/*todo =================== CTA-SECTION CONTENT ===================== */


.cta-section{
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .2)), url(img/Ford/mustang\ black.jpg) no-repeat center center fixed;
    background-size: cover;
    height: 70vh;
}


/*todo =================== CONTACT SECTION CONTENT ===================== */


#contact{
    padding: 4rem 9%;
    background-color: var(--light-white);
}

.contact .heading{
    text-align: center;   
    padding-bottom: 5rem;
    font-size: 2.5rem;
    color: var(--black-color);
}
.contact .heading span{
    color: var(--light-red);
    text-decoration: underline;
}


.contact .contact__row{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact .contact__row .map{
    flex: 1 1 17rem;
    width: 100%;
    padding: 1.3rem;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow-1);
}
.contact .contact__row form{
    flex: 1 1 17rem;
    padding: 2.5rem;
    border: var(--border);
    border-radius: .5rem;
    box-shadow: var(--box-shadow-1);
    text-align: center;
}
.contact .contact__row form h3{
    font-size: 1rem;
    color: var(--black);
}

.contact .contact__row form .box{
    margin: 0.7rem 0;
    width: 100%;
    border: var(--border);
    padding: 1rem;
    font-size: 1rem;
    color: var(--black-color);
    text-transform: none;
    border-radius: .5rem;
}
.contact .contact__row form textarea{
    height: 15rem;
    resize: none;
}



.contact .btn{
    display: inline-block;
    margin-bottom: 5rem;
    padding: 0.8rem 2.8rem;
    border-radius: 5rem;
    border-top-left-radius: 0;
    border: .1rem solid var(--light-white);
    cursor: pointer;
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 600;
    overflow: hidden;
    z-index: 0;
    position: relative;
    transition: .5s linear;
} 

.contact .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--light-red);
    z-index: -1;
    transition: .4s linear;
    clip-path: circle(0% at 0% 5%);
    transition: .5s linear;
}


.contact .btn:hover {
    color: var(--white-color);
    background: var(--light-red);
}



/*todo =================== FOOTER SECTION CONTENT ===================== */

footer{
    padding: 4rem 9%;
}

.footer{
    background-color: var(--black-color);

}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, auto));
    gap: 1.5rem;
}
.footer .box-container .box h3{
    color: var(--light-white);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1rem 0;
}
.footer .box-container .box a{
    color: var(--light-white);
    font-size: 1rem;
    padding: 1rem 0;
    display: block;
}
.footer .box-container .box a ion-icon{
    padding-right: 0.5rem;
    color: var(--light-white);
    transition: .5s linear;
    cursor: pointer;

}
.footer .box-container .box a:hover ion-icon{
    padding-right: 1rem;
    color: var(--light-gray);
}
.footer .copyright{
    text-align: center;
    border-top: .6px solid var(--light-white);
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--light-gray);
}
.footer .copyright a{
    color: var(--light-white);
    font-weight: 600;
}


/*todo=============== GALLERY COLLECTION SECTION CONTENT =====================*/

#collection{
    padding: 3rem 7%;
}
.gallery{
    background: var(--light-white);
    padding: 1rem;
}
.gallery h1{
    text-align: center;
    font-size: 2.5rem;
    line-height: 2;
    color: var(--black-color);
    padding-bottom: 2rem;
}
.gallery h1 span{
    text-decoration: underline solid var(--light-red);
}
.gallery .search-box{
    text-align: center;
}

.gallery .search-box span{
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: capitalize;
    padding: .7rem;
}
.gallery input{
    width: 30rem;
    padding: .5rem;
    font-size: 1rem;
    border-radius: var(--radius);
    border-bottom: .2rem solid var(--light-red);
    margin-bottom: 2rem;
    text-transform: none;
}
.gallery .category-box{
    text-align: center;
    justify-content: space-between;
}
.gallery .list{
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--black-color);
    background-color: transparent;
    padding: .9rem;
    transition: .5s linear;
}
.gallery .list:hover{

    color: var(--light-red);
}


.collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, auto));
    gap: 1.5rem;
}

.collection .store-product{
    border: 1px solid var(--light-white);
    border-radius: var(--radius-fancy);
    max-width: 20rem;
}
.collection .store-product .image{
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-cool);
}
.collection .store-product .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}
.collection .store-product .image img:hover{
    transform: scale(1.1);
    transition: .5s linear;
}
.collection .store-product .product-details{
    text-align: center;
    padding-bottom: 1rem;
    background-color: var(--light-white);
}
.collection .store-product .product-details h2{
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}
.collection .store-product .product-details p {
    font-size: .739rem;
    padding-bottom: 1rem;
    color: var(--green-army);
    font-weight: 700;

}
.collection .store-product .product-details p span{
    text-decoration: line-through;
    color: var(--light-red);
    padding: 0.5rem;
    font-weight: 700;
}

.collection .product-details a{
    font-size: .739rem;
    font-weight: 600;
    border: 1px solid var(--white-color);
    background-color: transparent;
    color: var(--black);
    padding: 0.5rem 1rem;
    margin-left: 10rem;
    border-radius: var(--radius-twist);
    transition: .5s linear;
}
.collection .product-details a:hover{
    background-color: var(--light-red);
    color: var(--white-color);
}


/*todo =================== ELECTRONICS PAGE SECTION CONTENT =================*/
.tech{
    background:linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(img/mobile1.1.png) no-repeat center center fixed;
    display: table;
    height: 100vh;
    position: relative;
    width: 100vw;
    background-size: cover;
}
.tech h4{
    padding-top: 20rem;
    text-align: center;
    margin: 0 auto 80px;
    position: relative;
    font-size: 7rem;
    line-height: 50px;
    font-style: italic;
    color: var(--light-red);

}



/*todo =================== ABOUT PAGE SECTION CONTENT =================*/

.project{
    padding: 4rem 7%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}
.project .row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.project .pr-details{
    flex-basis: 48%;
    padding: 30px 2px;
    font-size: italic;
}
.project .pr-details img{
    width: 100%;
}
.project .heading{
    text-align: center;   
    padding-bottom: 5px;
    font-size: 4.5rem;
    color: var(--black-color);
}
.project .heading span{
    text-decoration: underline var(--light-red);
}

.project .pr-details p{
    padding: 15px 0 25px;
    font-size: .838rem;
}
.project .btn{
    display: inline-block;
    margin-bottom: 5rem;
    padding: 0.8rem 2.8rem;
    border-radius: 5rem;
    border-top-left-radius: 0;
    border: .1rem solid var(--light-red);
    cursor: pointer;
    background: none;
    color: var(--black-color);
    font-size: 1rem;
    font-weight: 600;
    overflow: hidden;
    z-index: 0;
    position: relative;
} 

.project .btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--light-red);
    z-index: -1;
    transition: .5s linear;
    clip-path: circle(0% at 0% 5%);
}

.project .btn:hover::before{
    clip-path: circle(100%);
}
.project .btn:hover{
    color: var(--white-color);
}

/*todo =================== SPARE PARTS PAGE SECTION CONTENT =================*/



#spares{
    padding: 3rem 7%;
}
.spares{
    background-color: var(--light-white);
    padding: 1rem;
}
.spares h1{
    text-align: center;
    font-size: 2.5rem;
    line-height: 2;
    color: var(--black-color);
    padding-bottom: 2rem;
}
.spares h1 span{
    text-decoration: underline solid var(--light-red);
}
.spares .search-box{
    text-align: center;

}

.spares .search-box span{
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: capitalize;
    padding: .7rem;
}
.spares input{
    width: 30rem;
    padding: .5rem;
    font-size: 1rem;
    border-radius: var(--radius);
    border-bottom: .2rem solid var(--light-red);
    margin-bottom: 2rem;
    text-transform: none;
}
.spares .spares-box{
    text-align: center;
    justify-content: space-between;
}
.spares .list-item{
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--black-color);
    background-color: transparent;
    padding: .9rem;
    transition: .5s linear;
}
.spares .list-item:hover{

    color: var(--light-red);
}
#pieces{
    
    padding: 3rem 7%;
    
}

.pieces {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, auto));
    gap: 1.5rem;
}

.pieces .product-piece{
    border: 1px solid var(--light-white);
    border-radius: var(--radius-fancy);
    max-width: 20rem;
}
.pieces .product-piece .image{
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-cool);
}
.pieces .product-piece .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}
.pieces .product-piece .image img:hover{
    transform: scale(1.1);
    transition: .5s linear;
}
.pieces .product-piece .piece-details{
    text-align: center;
    padding-bottom: 1rem;
    background-color: var(--light-white);
}
.pieces .product-piece .piece-details h2{
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 0.5rem;
}
.pieces .product-piece .piece-details p {
    font-size: .739rem;
    padding-bottom: 1rem;
    color: var(--green-army);
    font-weight: 700;

}
.pieces .product-piece .piece-details p span{
    text-decoration: line-through;
    color: var(--light-red);
    padding: 0.5rem;
    font-weight: 700;
}

.pieces .piece-details a{
    font-size: .739rem;
    font-weight: 600;
    border: 1px solid var(--white-color);
    background-color: transparent;
    color: var(--black);
    padding: 0.5rem 1rem;
    margin-left: 10rem;
    border-radius: var(--radius-twist);
    transition: .5s linear;
}
.pieces .piece-details a:hover{
    background-color: var(--light-red);
    color: var(--white-color);
}



/*! =================== MEDIA QUERY CONTENT ===================== */


@media (max-width: 1080px){
    .container{
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
@media (max-width: 991px){
    .search-box input{
        padding: 15px;
    }
    .nav{
        padding: 10px 0;
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        background: var(--light-white);
        row-gap: .5rem;
        text-align: center;
        box-shadow: 4px 4px 20px rgb(15 54 55 / 10%);
        clip-path: circle(0% at 0% 0%);
        transition: .6s linear;
    }
    .navbar a{
        display: block;
        padding: 15px;
    }
    .navbar a:hover,
    .navbar .active{
        border-bottom: none;
        background: var(--light-red);
        color: var(--white-color);     
    }
    .navbar.active{
        clip-path: circle(144% at 0% 0%);
    }
    .nav{
        padding: 15px 20px;
    }
    .tech h4{
        font-size: 5rem;
    }
    .project .row{
        flex-direction: column;
    }   
    .footer{
        padding: 2rem;
    }  
}
@media (max-width: 645px){
    
    .tech h4{
        font-size: 3.5rem;
    }
}
@media (max-width: 510px){
    .gallery, .spares{
        padding: 2rem 3rem;
    }
    .gallery input, .spares input{
        width: 15rem;   
    }
    .gallery .list, .spares .list-item{
        font-size: .839rem;
    }
    .tech h4{
        font-size: 2rem;
    }
    .spares h1{
        font-size: 1.5rem;  
    }
}
@media (max-width: 450px){
    .gallery, .spares{
        padding: 2rem 2rem;
    }
    .home{
        min-height: 500px;
    }
    .spares h1{
        font-size: 1.5rem;  
    }
    
}


