/* General Styling */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
* {
 
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
 
  margin-top: 90px;

  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */
.navbar {
  position: fixed; /* Navbar ko fix kar diya */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Ensure it's always on top */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(45deg, #b3b3a1, #987f57);
  padding: 15px 5%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px auto;
  background: white;
  transition: 0.3s;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s ease;
}

/* Default hover effect */
.nav-links a:hover {
  color: #ffe600;
}

/* Active page ke liye alag color */
.nav-links a.active {
  color: #ffcc00;

}

/* Ensure content does not hide under navbar */

.logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: #ffe600;
}

/* Filters */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background: #987f57;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.filter-btn.active, .filter-btn:hover {
  background: #ffcc00;
  color: black;
}

/* Product Grid */
.product-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Product Card */
.product-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
  height: 300px; /* Fixed card size */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
}

/* Product Image */
.product-image {
  width: 100%;
  height: 200px; /* Fixed height */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.6);
  top: 0; left: 0;
  width: 100%; height: 100%;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
}
.no-products {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #555;
  padding: 20px;
}

.contact-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background: #ffcc00;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.contact-link:hover {
  background: #ffbb00;
}
.heading {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.heading h2 {
  font-size: 28px;
  font-weight: bold;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.heading h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #ffcc00;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}



@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: linear-gradient(45deg, #b3b3a1, #987f57);
    position: absolute;
    top: 60px;
    right: 0;
    width: 50%;
    text-align: center;
    padding: 10px 0;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav-links.show {
    display: flex;
  }
}

.footer {
  background: linear-gradient(45deg, #b3b3a1, #987f57);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
  margin-top: auto; /* This is what pushes footer to bottom */
}




