/* ✅ General Styles */
body {
  background-color: black; /* 🔥 Set full black background */
  color: white; /* 🔥 White text for readability */
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* Fixed Header */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: black;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 8px 0; /* Adjusted padding for proper spacing */
}

/* Fix Logo Size */
.logo {
  width: 77px; /* Reduced for better alignment */
  height: 77px;
  border-radius: 50%;
  margin-left: 10px;
  margin-right: 0px; /* Adjusted to reduce space */
}

/* Header Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center; /* Center alignment */
  justify-content: space-between;
}

/* Logo */
.logo {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  margin-left: 10px;
}

/* Site Title */
.site-title {
  font-size: 40px;
  text-decoration: none;
  font-weight: 600;
  margin: 10;
  margin-right: 150px; /* Adjusted to reduce space */
  margin-left: -15px; /* Adjusted to reduce space */
}

.red {
  color: red;
}
.white {
  color: white;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 0;
  margin: 0;
}

/* Alternating Colors */
.nav-links li:nth-child(odd) a {
    color: white; /* Buy Bike & About Us - White */
}

.nav-links li:nth-child(even) a {
    color: red; /* Sell Your Bike & Contact Us - Red */
}

/* Link Styling */
.nav-links a {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  background-color: black;
  padding: 5px 10px;
  transition: text-shadow 0.3s;
}

/* Hover Effect */
.nav-links a:hover {
  text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.8);
}

/* Remove Unwanted Spacing */
.nav-links li {
  margin: 0;
  padding: 0;
}

/* Mobile Fixes */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 10px;
    }

    .logo {
        width: 50px; /* Adjusted for mobile */
        height: 50px;
    }

    .site-title {
        font-size: 25px; /* Adjusted for mobile */
        margin-right: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: black;
        width: 100%;
        text-align: right;
        padding: 15px 20px;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .nav-active {
        display: flex;
    }

    /* Hamburger Menu */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 10px;
      z-index: 1100;;
    }

    .hamburger span {
        background: white;
        height: 3px;
        width: 30px;
        margin: 5px;
        display: block;
        transition: 0.3s ease-in-out;
    }
} 
/* Responsive Navigation */
@media screen and (max-width: 768px) {
  .hamburger {
      display: flex;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px;
      right: 0; /* ✅ Right-aligned */
      background: black;
      width: 100%; /* ✅ Auto width for a compact menu */
      text-align: right; /* ✅ Ensures text is aligned right */
      padding: 15px 20px;
      box-shadow: -2px 2px 10px rgba(255, 0, 0, 0.4); /* ✅ Light shadow effect */
      z-index: 1000; /* ✅ Ensures it's above other elements */
  }

  .nav-links li {
      margin: 10px 0;
  }

  .nav-links a {
      display: block;
      padding: 10px 15px;
  }

  .nav-active {
      display: flex;
  }

  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
      opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
  }
}
/* Fix Spacing Issue due to Fixed Header */

/* ✅ Main Content */
main {
  padding: 100px 10px;
  text-align: center;
  background-color: black;
}

/* ✅ Welcome Section */
.welcome {
  text-align: center;
  color: white;
  margin-bottom: 20px;
  
}

.welcome h2 {
  font-size: 28px;
  color: red;
  text-transform: uppercase;
  font-weight: bold;
}

/* ✅ Filter Form */
.filter-form {
  margin-bottom: 20px;
  text-align: center;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  color: white;
}

select, input[type="number"] {
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid red; /* 🔥 Red border for theme */
  background: black;
  color: white;
  margin: 5px 10px;
}

button {
  padding: 8px 15px;
  font-size: 16px;
  border-radius: 5px;
  background-color: red;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: white;
  color: red;
}

/* ✅ Bike Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
  gap: 15px;
  justify-content: center;
  padding: 10px;
}

/* ✅ Individual Bike Card */
.product-grid {
  background-color: white; /* 🔥 Black card background */
  color: black;
  border: 1px solid red;
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s;
}

.product-grid:hover {
  transform: scale(1.05);
}

/* ✅ Bike Image */
.product-grid .img-container {
  text-align: center;
  margin-bottom: 10px;
}

.product-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 5px;
}

/* ✅ Bike Name */
.bike-name {
  background-color: white;
  padding: 10px;
  font-size: 28px;
  color: #333;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  
}

/* ✅ Call to Action (Price Button) */
.call-to-action {
  margin-top: 10px;
}

.call-to-action button {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
}

.call-to-action button:hover {
  background-color: green;
  border: solid green;
  color: white;
  transform: scale(1.1);
}

/* ✅ Product Text */
.product-text {
  font-size: 15px;
  font-weight: 500;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 10px;
}

.grid-item {
  text-align: left;
  font-size: 16px;
  padding: 5px;
}



@media (max-width: 768px) { /* 🔥 Mobile */
  .grid-container {
      grid-template-columns: repeat(1, 1fr); /* 📱 Mobile - 2 Columns */
  }

  .product-grid {
      padding: 8px;
  }

  .product-grid img {
      height: 200px; /* Adjust Image Height */
  }

  .bike-name {
      font-size: 20px; /* Reduce Font Size */
      padding: 8px;
  }

  .product-text {
      font-size: 14px;
      grid-template-columns: 1fr; /* Make text in single column */
  }

  .call-to-action button {
      font-size: 14px;
      padding: 8px;
  }
}

/* ✅ Show More / Show Less Buttons */
#showMore, #showLess {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background: red;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#showMore:hover, #showLess:hover {
  background: white;
  color: red;
}


.spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer Stying*/


.footer {
  background-color: #000;
  color: #fff;
  padding: 20px 0;
  width: 100%;
  bottom: 0px;
}

.copyr{
  text-align: center;
  color:    #baabab; 

  }

  .footer h4{
    margin: 00px 60px 10px 50px;
    }

.footer p {
    font-family: inherit;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0.50em;
    text-rendering: optimizeLegibility;
    text-align: center;
    }

.follow-us {
  color: white;
  font-weight: 500;
  font-family: "poppins";
  text-align: center;
  margin-left: 50px;
}

.follow-us p {
  font-size: 50px;
  text-align: left;
}

.follow-us a {
  font-size: 50px;
  text-align: center;
}

.social-media img {
  margin: 0 10px;
  height: 8rem;
  width: 9rem;
  margin-left: 0%;
}

.logo1 {
  width: 80px;
  height: 80px;
  
}

.business-name {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: rgb(165, 42, 42);
  align-items: 0;
}
.business-name span {
  color: #fff;
}
.showroom{
  font-weight: bold;
}
.address {
  margin-bottom: 10px;
  font-size: 16px;
}
.contact-us {
  text-align: center  ;
  font-size: 1.5rem;
}
.showroom{
  font-weight: bold;
  color: #ffffff;
}
.contact-us a{
  text-decoration: none;
  color: #ec7373;
}
.social-logo {
  height: 8rem;
  width: 9rem;
}
.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}


.footer p {
  font-family: inherit;
  font-weight: normal;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 0.50em;
  text-rendering: optimizeLegibility; 
  }
  
/* ======== Mobile Responsive Footer ======== */
@media screen and (max-width: 768px) {
  .footer .row {
      flex-direction: column;
      text-align: center;
      gap: 20px;
  }

  .follow-us {
      margin-left: 0;
      text-align: center;
  }

  .social-logo {
      height: 5rem; /* ✅ Smaller icons for mobile */
      width: 5rem;
  }

  .logo1 {
      width: 60px; /* ✅ Reduced for mobile */
      height: 60px;
  }

  .business-name {
      font-size: 18px; /* ✅ Adjusted size */
  }

  .address {
      font-size: 14px;
  }

  .contact-us {
      font-size: 1.2rem;
  }

  .map-container {
      width: 90%;
  }
}
