/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;1,300;1,400&family=Poppins:ital,wght@1,300;1,400&display=swap');


* {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  scroll-padding-top: 1rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}


:root {
  --main-color: red;
  --text-color: black;
  --bg-color: white;
}

html::-webkit-scrollbar {
  width: 0.5rem;
  background: transparent;

}

html::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background: brown;

}

section {
  padding: 4rem 0 2rem;



}

img {
  width: 100%;
}

body {
  color: black;
}



.container {

  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;

}

header {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100px;
}

header.shadow {
  background: white;
  box-shadow: 5px 5px 20px rgb(15 54 55 /20%);
  transition: 1s;
}

header.shadow #search-icon {
  color: brown;




}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20 35px;
}


#menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: black;
  display: none;

}

.logo {
  font-size: 1.2rem;
  font-weight: 700px;
  color: black;

}

.logo span {
  color: red;



}

.navbar {
  display: flex;
  column-gap: 2rem;

}

.navbar a {
  color: black;
  font: 1rem;
  text-transform: uppercase;
  font-weight: 500px;


}

.navbar a:hover,
.navbar .active {
  color: black;
  border-bottom: 3px solid brown;


}

#search-icon {
  font-size: 24px;
  cursor: pointer;
  color: white
}

.search-box {
  position: absolute;
  top: 112px;
  right: 0;
  left: 0;
  background: white;
  box-shadow: 4px 4px 20px rgb(15 54 55 / 10%);
  border: 1px solid brown;
  border-radius: 0.5rem;
  clip-path: circle(0% at 100% 0%);

}

.search-box.active {
  clip-path: circle(144% at 100% 0%);
  transition: 0.4s;

}

.search-box input {
  width: 100%;
  padding: 20px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
}

.home {
  max-width: 1300px;
  margin: auto;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: url(image/Background-home.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;

}


.home-text {
  padding-left: 130px;


}

.home-text h1 {
  font-size: 2.4rem;

}

.home-text span {
  color: red;


}


.home-text p {
  font-size: 0.938rem;
  font-weight: 300;
  margin: 0.5rem 0 1.2rem;

}

.btn {
  padding: 10px 22px;
  background-color: brown;
  color: white;
  font-weight: 400;
}

.btn:hover {
  background: red;


}

.heading {
  text-align: center;
}

.heading span {
  font-weight: 500;
  color: red;
}

.heading p {
  font-size: 0.938rem;
  font-weight: 300;



}

.cars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;

}

.cars-container .box {
  flex: 17rem;
  position: relative;
  height: 200px;
  border-radius: 0.5rem;
  overflow: hidden;

}

.cars-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;

}

.cars-container .box img:hover {
  transform: scale(1.1);
  transition: 0.5s;



}

.cars-container .box h2 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-weight: 400;
  font-size: 1rem;
  background: brown;
  padding: 8px;
  border-radius: 0.5rem;


}

.cars-container .box:hover h2 {
  background: red;
  color: white;



}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.about-img {
  flex: 1 1 21rem;
}



.about-text {
  flex: 1 1 21rem;
}


.about-text span {
  font-weight: 500;
  color: red;
}

.about-text h2 {
  font-size: 1.7rem;
}

.about-text p {
  font-size: 0.938rem;
  margin: 0.5rem 0 1.4rem;


}

.parts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.parts-container .box {
  flex: 1 1 17rem;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0.5rem;

}

.parts-container .box img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 1rem;
}

.parts-container .box h3 {
  font-size: 1.1rem;
  font-weight: 600;
}


.parts-container .box span {
  font-size: 1.1rem;
  font-weight: 600;
  color: red;
}

.parts-container .box .bx {
  color: brown;
  margin: 0.8rem 0;
}

.parts-container .box .btn {
  max-width: 150px;
}

.parts-container .box .details {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 1.8rem;
  right: 2rem;
  font-size: 1rem;
  color: black;
}

.parts-container .box .details:hover {
  color: red;
  text-decoration: underline;
}

.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.blog-container .box {
  flex: 1 1 13rem;
  padding: 20px;
}

.blog-container .box:hover {
  background: gray;
}

.blog-container .box span {
  font-size: 0.8rem;
  color: red;
}

.blog-container h3 {
  font-size: 1.2rem;
}

.blog-container .box p {
  font-size: 0.938rem;
  margin: 4px 0;
}

.blog-container .box .blog-btn {
  display: flex;
  align-items: center;
  column-gap: 4px;
  color: brown;
}

.blog-container .box .blog-btn .bx {
  font-size: 25px;
}

.blog-container .box .blog-btn:hover {
  color: red;
  column-gap: 0.7rem;
  transform: 0.5s;
}

.footer {
  background: gray;
  color: white;
  border-top: 2px solid gray;

}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.footer-container .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-container .footer-box {
  display: flex;
  flex-direction: column;

}

.social {
  display: flex;
  align-items: center;
}

.social a {
  font-size: 25px;
  color: white;
  margin-right: 1rem;
}

.social a:hover {
  color: brown;
}

.footer-box h3 {
  font-size: 1.1rem;
  font-weight: 400px;
  margin-bottom: 1rem;
}


.footer-box a,
.footer-box p {
  color: white;
  margin-bottom: 50px;
}


.copyright {
  padding: 20px;
  text-align: center;
  color: white;
  background: brown;

}

@media (max-width:1080px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;

  }

}

@media (max-width: 991px) {
  .nav {
    padding: 15px 20px;
  }

  section {
    padding: 3rem 0 1rem;

  }

  .home-text {
    padding-left: 2rem;
  }

  .home-text h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 920px) {
  #search-icon {
    color: brown;

  }
}


@media (max-width: 920px) {
  .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: white;
    row-gap: 0.5rem;
    text-align: center;
    box-shadow: 4px 4px 20px rgb(15 54 55 /20%);
    clip-path: circle(0% at 0% 0%);
    transition: 0.8s;
  }

  .navbar a {
    display: block;
    padding: 15px;
  }


  .navbar a:hover,
  .navbar .active {
    border-bottom: none;
    background: red;
    color: white;

  }

  .navbar .active {
    clip-path: circle(100% at 0% 0%);


  }

  .blog-container .box {
    padding: 4px;


  }

  @media (max-width:727px) {
    .heading span {
      font-size: 0.9rem;
    }
  }

  .heading h2 {
    font-size: 1.4rem;
  }

  .about {
    flex-direction: column-reverse;

  }

  .about-text {
    text-align: 1.4rem;
  }
}

@media (max-width:607px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:360px) {
  .search-box input {
    padding: 10px;
  }

  .home {
    min-height: 500px;
  }

  .home-text {
    font-size: 2rem;

  }

  .home-text p br {
    display: contents;

  }
}