/* Google Fonts*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-padding-top: 1rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

/*variables*/
:root {
  --main-color: darkgoldenrod;
  --text-color: white;
  --bg-color: black;
  --golden-color: goldenrod;
  --secondary-color: #f5f5f5;
  --sl-input-font-family: "Poppins", sans-serif;
}
html::-webkit-scrollbar {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  width: 0.5rem;
  background: lightslategray;
}

header {
  width: 100% !important;
}
section {
  padding: 4rem 0 1rem;
}
img {
  width: 100%;
  aspect-ratio: 16 / 9;
}
body {
  color: var(--text-color);
}
.Container {
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}
header {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #f5f5f5;
}
header.shadow {
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0px;
  max-width: 1200px;
}
#menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: var(--bg-colorr);
  display: none;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bg-color);
}
.logo span {
  color: var(--bg-color);
}
.navbar {
  display: flex;
  column-gap: 2rem;
  color: var(--bg-color);
}
.navbar a {
  color: var(--bg-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.2s;
  letter-spacing: 1.5px;
  text-decoration: none !important;
}
.navbar a:hover,
.navbar.active {
  color: var(--golden-color);
}
#search-icon {
  font-size: 24px;
  cursor: pointer;
  color: var(--bg-color);
}
.search-box {
  position: absolute;
  top: 110%;
  right: 0;
  left: 0;
  background: var(--bg-color);

  border: 1px solid var(--main-color);

  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 {
  margin-top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  background: url("/img/background-hero.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}
.home-text {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  align-items: flex-start;
}
.home-text h1 {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
  max-width: 800px;
}

.home-text p {
  font-size: 1.1rem;
  font-weight: 300;
  text-transform: capitalize;
  opacity: 0.9;
  margin-left: 0.25rem;
  max-width: 800px;
}

.about-section {
  color: var(--bg-color);
}
.btn {
  padding: 1rem 2rem;

  font-weight: 400;
  transition: all 0.3s;
  display: inline-block;
  background: var(--text-color);
  color: var(--bg-color);
  margin-left: 0.25rem;
}
.btn:hover {
  background: var(--bg-color);
  color: var(--text-color);
}
.heading {
  text-align: center;
}
.heading span {
  font-weight: 500;
  color: var(--main-color);
  margin-top: 30%;
}
.heading p {
  font-size: 0.938rem;
  font-weight: 300;
  color: var(--bg-color);
}
.cars-container {
  display: grid;
  gap: 0rem;
  margin-top: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
}

.cars-container .box {
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 boxes per row with gap spacing */

  overflow: hidden;
  background: var(--bg-color); /* optional, for contrast behind h2 */
  text-align: center;
}

.cars-container .box img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.cars-container .box h2 {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  background: var(--bg-color); /* fallback if variable not defined */
  color: var(--text-color);
}

.cars .heading span {
  color: var(--bg-color);
}
.cars .heading h2 {
  color: var(--bg-color);
}
.parts-container {
  display: grid;
  gap: 0rem;
  margin-top: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(400px, auto));
}

.parts-container .box {
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 boxes per row with gap spacing */
  overflow: hidden;
  background: #f5f5f5; /* optional, for contrast behind h2 */
  text-align: center;
}

.parts-container .box img {
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
  display: block;
}

.parts-container .box h3 {
  margin: 0;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--bg-color, #333); /* fallback if variable not defined */
  color: white;
}
.parts-container .box span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-color);
}
.parts-container .box .bx {
  color: var(--bg-color);
  margin: 0.8rem 0;
}
.parts-container .box .btn {
  max-width: 120px;
  background: var(--bg-color);
}
.parts-container .box .details {
  display: flex;
  align-items: center;
  position: absolute;
  bottom: 1.8rem;
  right: 1rem;
  font-size: 1rem;
  color: var(--bg-color);
}
.parts .heading span {
  color: var(--bg-color);
}
.parts .heading h2 {
  color: var(--bg-color);
}
.parts-container .box .details:hover {
  color: var(--main-color);
  text-decoration: underline;
}
.blog .heading span {
  color: var(--bg-color);
}
.blog .heading h2 {
  color: var(--bg-color);
}
.blog-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 0.5rem;
  justify-content: center;
}
.blog-container .box {
  flex: 1 1 13rem;
  padding: 20px;
}
.blog-container .box:hover {
  background: var(--text-color);
}
.blog-container .box span {
  font-size: 0.8rem;
  color: var(--bg-color);
}
.blog-container .box {
  flex: 0 0 calc((100% - 4rem) / 3); /* 3 boxes per row with gap spacing */
  overflow: hidden;
  background: var(--text-color); /* optional, for contrast behind h2 */
  text-align: left;
  min-width: 340px;
}
.blog-container h3 {
  font-size: 1.2rem;
  color: var(--bg-color);
}
.blog-container .box p {
  font-size: 0.938rem;
  margin: 4px 0;
  color: var(--bg-color);
  margin-left: 0;
  border-spacing: 0;
}
.blog-container .box .blog-btn {
  display: flex;
  align-items: center;
  column-gap: 4px;
  color: var(--bg-color);
}
.blog-container .box .blog-btn.bx {
  font-size: 20px;
}
.blog-container .box .blog-btn:hover {
  color: var(--main-color);
  column-gap: 0.7rem;
  transition: 0.4s;
}
.footer {
  background: var(--bg-color);
  color: #f6f6f6;
  border-top: 2px solid var(--main-color);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  max-width: 200px;
}

.right-footer {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

@media screen and (max-width: 1080px) {
  .footer-container {
    flex-direction: column !important;
  }
}
.footer-container .logo {
  color: var(--bg-color);
  margin-bottom: 1rem;
}
.footer-container .footer-box {
  display: flex;
  flex-direction: column;
}
.social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.social a {
  font-size: 2rem;
  color: var(--bg-color);
}
.social a:hover {
  color: goldenrod;
}
.footer-box h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.footer-box a {
  color: #818181;
  margin-bottom: 10px;
}
.footer-box a:hover {
  color: goldenrod;
}
.copyright {
  padding: 20px;
  text-align: center;
  color: var(--bg-color);
  background: var(--text-color);
}
/*making responsive*/

@media (max-width: 920px) {
  #search-icon {
    color: var(--text-color);
  }
}
@media (max-width: 768px) {
  .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(--main-color);
    row-gap: 0.5rem;
    text-align: center;
    clip-path: circle(0% at 0% 0%);
    transition: 0.6s;
  }
  .navbar a {
    display: block;
    padding: 15px;
  }
  .navbar a:hover,
  .navbar.active {
    border-bottom: none;
    background: var(--secondary-color);
    color: var(--main-color);
  }

  .navbar .active {
    color: var(--golden-color);
  }
  .navbar.active {
    clip-path: circle(144% at 0% 0%);
  }
  .blog-container .box {
    padding: 1rem;
  }
  .blog-container {
    gap: 1rem;
  }
  @media (max-width: 727px) {
    .heading span {
      font-size: 0.9rem;
    }
    .heading h2 {
      font-size: 1.4rem;
    }
  }
  @media (max-width: 607px) {
    .footer-container {
      display: grid;
      grid-template-columns: 1fr;
    }
  }
  @media (max-width: 360px) {
    .search-box input {
      padding: 11px;
    }
    .home {
      min-height: 500px;
    }
  }
}

.contact-section {
  padding: 80px 20px;
  background: white;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: lightgoldenrodyellow;
  padding: 40px;
}

.contact-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: darkgoldenrod;
}

.contact-container h2 span {
  color: goldenrod;
}

.contact-container p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: darkgoldenrod;
}

textarea {
  resize: vertical;
}

.btn-submit {
  background: black;
  color: white;
  padding: 14px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: darkgoldenrod;
}
#menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
  display: none; /* hidden by default */
}

@media (max-width: 768px) {
  #menu-icon {
    display: block; /* shown only on small screens */
    color: black;
  }
}
.cars {
  max-width: 1400px;
  margin: 0 auto;
}

.parts {
  max-width: 1400px;
  margin: 0 auto;
}
.blog {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-container .footer-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  min-width: 200px;
}

.footer-container .footer-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: goldenrod;
  position: relative;
}

.footer-container .footer-box h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: darkgoldenrod;
}

.footer-container .footer-box a {
  font-size: 1.5rem;
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-container .footer-box a:hover {
  color: goldenrod;
  transform: translateX(5px);
}
.footer-container .footer-box .logo span {
  color: var(--text-color);
}
.bx bxl-instagram {
  margin-right: 1rem;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

.about-section {
  padding: 60px 20px;
  background-color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  max-width: 500px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
}

.about-section {
  padding: 00px 20px;
  background-color: #fff;
}

.about-container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0px auto;
  gap: 40px;
}

.about-container.reverse {
  flex-direction: row-reverse;
}

.about-image img {
  max-width: 100%;
  height: auto;
  width: 100%;
  max-width: 500px;
  scale: 1.7;
  z-index: -1;
}

.about-text {
  flex: 1;
  min-width: 300px;
  z-index: 1;
  background: rgb(255, 255, 255);
  padding: 2rem;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #333;
}

.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* Optional: Add some spacing between multiple about-containers */
.about-container + .about-container {
  margin-top: 0px;
}

/* Responsiveness */

@media (max-width: 1230px) {
  .nav {
    padding-inline: 1rem;
  }

  .home-text {
    padding-inline: 1rem;
  }

  .home-text h1 {
    font-size: 2.5rem;
    line-height: 1.4;
  }
  .home-text p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 2;
  }

  #home {
    max-height: 100vh;
    background-attachment: fixed;
  }
}

@media (max-width: 1108px) {
  .about-image img {
    scale: 1;
    object-fit: cover;
    width: 100%;
  }

  .about-section {
    padding-bottom: 0;
    padding-top: 0;
  }
}

@media screen and (max-width: 980px) {
  .about-container {
    flex-direction: column;
    gap: 0px;
    margin: 0;
  }

  .about-image img {
    max-width: 100%;
  }
}

@media screen and (max-width: 750px) {
  .about-text {
    padding: 0 !important;
  }
  .about-text h2 {
    padding: 0;
    margin: 0;
  }
}

.heading h2 {
  font-size: 2rem;
}

.btn2 {
  text-align: center;
  margin: 0 auto;
  background: var(--bg-color);
  color: var(--text-color);
  margin-top: 2rem;
}

.btn2:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

.button01 {
  display: flex;
  align-items: center;
}

.UPPERCASE {
  text-transform: uppercase;
  max-width: 600px;
  margin: 0 auto;
}

.GetInTouchSection,
.WhyBuy {
  padding: 0;
  margin-block: 8rem;
}
.GetInTouch {
  text-align: center;
  font-size: 2rem;
  background: var(--bg-color);
  color: var(--text-color);
  padding-inline: 4rem;
}

.GetInTouch:hover {
  background: rgb(31, 31, 31);
  color: rgb(255, 255, 255);
}

.cars-container .box .box {
  display: flex;
  justify-content: center;
}

.cars-container .box {
  max-width: 100vw;
}

.noUi-horizontal .noUi-handle {
  border-radius: 50% !important;
  aspect-ratio: 1 / 1 !important;
  width: 30px;
  height: 30px;
}

.Filter-Container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  color: var(--bg-color);
}

@media screen and (max-width: 500px) {
  .right-footer {
    flex-direction: column;
    gap: 1rem;
  }

  .GetInTouch {
    margin: 0;
  }
}


