* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  background-color: #1a1a1a;
  overflow-x: hidden;
}
header {
  width: 100%;
  height: 80px;
  background-color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cursor {
  width: 20px;
  height: 20px;
  position: fixed;
  background-color: gray;
  border-radius: 50%;
  z-index: 2;
}

.logo img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1);
  margin-left: 15px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}
ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
ul li {
  list-style-type: none;
}
ul a {
  text-decoration: none;
  margin-right: 30px;
  color: white;
  text-transform: uppercase;
  position: relative;
}
ul a::after {
  position: absolute;
  content: " ";
  bottom: -5px;
  height: 2px;
  left: 0;
  width: 0;
  background-color: white;
  transition: 0.3s;
}
ul a:hover::after {
  width: 100%;
}

.btn {
  background-color: rgb(8, 8, 31);
  padding: 10px;
  border-radius: 100px;
  color: white;
  text-wrap: nowrap;
  border-color: transparent;
  cursor: pointer;
  margin-right: 40px;
}

.btn a {
  text-decoration: none;
  color: white;
}

.bar {
  display: none;
}

.close-icon {
  display: none;
}

.sign-up a {
  color: white;
  border-radius: 50%;
  border: 1px solid white;
  padding: 12px;
  margin: 15px;
}

@media screen and (max-width: 1024px) {
  .cursor {
    display: none;
  }
  .navlinks {
    display: block;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    height: 90vh;
    background-color: rgba(0, 0, 0);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 999;
  }
  ul li {
    padding: 20px 0;
  }
  .bar {
    display: block;
    color: white;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .close-icon {
    font-size: 30px;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: white;
  }
  .navlinks.active {
    display: flex;
  }
  ul li {
    margin-bottom: 20px;
  }
  .sign-up {
    margin-right: 30px;
  }
}
.hero {
  /* width: 100%; */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  position: absolute;
  color: white;
  font-size: 50px;
  overflow: hidden;
}

h1 span {
  display: inline-block;
}

.hero img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 425px) {
  .hero h1 {
    font-size: 25px;
  }
}

/* text-heading */
.latest-arrival {
  color: white;
  padding: 10px;
  margin-top: 40px;
  display: flex;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: 800;
  font-style: italic;
  font-stretch: narrower;
}
@media screen and (max-width: 1024px) {
  .latest-arrival {
    font-size: 30px;
  }
}

@media screen and (max-width: 425px) {
  .latest-arrival {
    font-size: 20px;
  }
}

/* bike container */

.bike-container {
  margin-top: 50px;
  width: 100%;
}

.bike-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.bike-card,
.bike-card1 {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.bike-card img,
.bike-card1 img {
  display: block;
  border-radius: 15px;
}

.bike-card1 .static-img img,
.bike-card1 .dynamic img {
  width: 500px;
  height: 450px;
}

.bike-card1 .static-img {
  position: relative;
  z-index: 1;
}

.bike-card1 .dynamic {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.bike2-3 .static-img {
  position: relative;
  z-index: 1;
}

.bike2-3 .dynamic {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; /* Dynamic image below */
}

.bike2-3 .static-img img,
.bike2-3 .dynamic img {
  width: 250px; /* Set width to 300px */
  height: 215px; /* Set height to 300px */
  margin: 2.5px;
}

.bikecard-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-align: left;
  z-index: 2; 
}

.bike-heading {
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bike-heading h1 {
  font-size: 40px;
  color: white;
}



@media screen and (max-width: 1024px) {
  .bike-cards {
    display: flex;
    justify-content: center;  
    align-items: center; 
    flex-direction: column;
 
  }
  .bike2-3 {
    display: flex;

  }
  .bike-card1 .static-img img,
  .bike-card1 .dynamic img {
    width: 450px;
    height: 250px;
  }

  .bike2-3 .static-img img,
  .bike2-3 .dynamic img {
    width: 210px;
    height: 180px;
   margin: 10px 5px ;

  }
}

@media screen and (max-width:768px) {
  .bike-card1 .static-img img,
  .bike-card1 .dynamic img {
    width: 300px;
    height: 200px;
  }

  .bike2-3 .static-img img,
  .bike2-3 .dynamic img {
    width: 150px;
    height: 130px;
   margin: 10px 5px ;
  }
  .bike-heading h1{
    font-size: 30px;
  }
}
@media screen and (max-width:425px) {
  .bike-heading h1 {
    font-size: 20px; 
    text-wrap: nowrap;
  }
}

/*     <!--  horizontal scroll -->  */

.horizontal-scroll-container {
  display: flex;
  overflow-x: auto; /* Allow horizontal scrolling */
  width: 100vw;
  scroll-snap-type: x mandatory;
  overflow-x: hidden;
}
.scrollpage1 {
  min-width: 100vw; /* Full width for each section */
  display: flex; /* Use flexbox for centering */
  flex-direction: column; /* Stack items vertically */
  justify-content: center; /* Center items vertically */
  align-items: center; /* Center items horizontally */
  height: 100vh; /* Full height for each section */
  padding: 20px;
}

.tvs,
.honda,
.harley-davidson {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px; 
}

.card {
  width: 20%;
  height: auto;
  max-width: 300px; 
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px;
}

.card a{
text-decoration: none;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 120px;
  height: 150px;
  object-fit: cover; 
  border-radius: 8px 8px 0 0;
}

.price {
  font-weight: bold;
  color: #333;

}

.card p {
  font-size: 12px;
  color: white;
}

@media screen and (min-width:1440px) {
  .card img {
    width: 100%;
    height: 150px;
    object-fit: cover; 
    border-radius: 8px 8px 0 0;
  }
}

@media screen and (max-width:425px) {
  .card img{
    width: 90px;
    height: 90px;
  }
  .scrollpage1 {
    padding: 0;
  }
  .card p {
    font-size: 10px;
  }
}
.category {
  display: flex;
  justify-content: space-evenly;
}

.category a {
  color: aliceblue;
  font-size: 25px;
  font-weight: 100;
}

.category h4 {
  text-transform: uppercase;
}




#newlaunches {
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: space-evenly;
  border-bottom: 2px solid rgb(64, 64, 64);
}

.launchesitem {
  margin-top: 60px;
}

.launchesitem img {
  width: 300px;
  height: 300px;
}

#practice, #executive, #performance {
  display: flex;
  justify-content: space-evenly;
  border-bottom: 2px solid rgb(64, 64, 64);
}

      @media screen and (max-width:1024px) {
        .category a{
          text-wrap: nowrap;
          font-size: 16px;
        }
    
     
        .launchesitem img{
          width: 200px;
          height: 200px;
        }
        #newlaunches{
          display: flex;
          justify-content: space-evenly;
          flex-wrap: wrap;
          height: 300px;
          }
        #practice{
          display: flex;
          justify-content: space-evenly;
          flex-wrap: wrap;
          }
        
          #executive{
            display: flex;
            justify-content: space-evenly;
            flex-wrap: wrap;
            }
        
            #performance{
              display: flex;
              justify-content: space-evenly;
              flex-wrap: wrap;
              }
      }

      @media screen and (max-width:666px){
        #newlaunches {
          flex-wrap: wrap;
          height: 500px;
        }
      }

      
      @media screen and (max-width:425px){
        .category a{
          text-wrap: nowrap;
          font-size: 10px;
        
        }
        #newlaunches {
          flex-wrap: wrap;
          height: 500px;
        }
      }

      @media screen and (max-width:410px){
        .category a{
          font-size: 8px;
        }
        #newlaunches{
          flex-wrap: wrap;
          height: 900px;
        }
      }

    
/* Footer Styling */
footer {
  background-color: #393a3a; 
  padding: 40px 20px;
  position: relative;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Allow wrapping for responsiveness */
  gap: 20px; /* Adds space between sections */
}

.footer-section {
  flex-basis: 30%; 
}

.about {
  max-width: 100%; 
}
.contact p{
  text-align: center;
  margin: 5px;
  }
.footer-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
  text-align: center;}

.footer-section p, .footer-section ul {
  font-size: 14px;
  color: #ffffff;
}

.footer-section ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  padding: 5px 0;
  margin-bottom: 5px; /* Adds spacing between links */
}

.footer-section ul li a {
  text-decoration: none;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  padding-top: 30px; /* Margin from the top */
  border-top: 1px solid #000000; /* 1px border */
  position: relative;
}



/* Media Queries for smaller screens */
@media screen and (max-width: 768px) {
  .about p{
max-width: 70%;
margin: auto;
text-align: center;
  }
  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-section ul li {
    margin: 0;
    padding: 0px;
    text-align: center; 
    padding-right: 0;
  }

  .footer-section ul li a {
    display: block; 
    text-align: center;
    margin: 2px;
  }


  .footer-content {
    display: block;
    justify-content: none;
    flex-wrap: nowrap;
    gap: 20px;
  }

  .contact,
  .links {
    margin-top: 15px;
  }

  .contact p {
    text-align: center;
    margin: 5px;
  }
}