* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: rgb(32, 25, 55);
  background-image: url(/media/home-bg-img.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

nav {
  background-color: rgb(74, 35, 215);
  padding: 20px 25px;
}

.nav-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-left {
  display: flex;
  gap: 20px;
}

.nav-center {
  flex: 1;
  text-align: center;
  font-family: "Trade Winds", cursive;
  font-size: 28px;
  color: white;
}

.nav-right {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav-text {
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 30px;
  transition: background-color 0.4s;
  text-decoration: none;
}

.nav-text:hover {
  background-color: rgb(22, 10, 200);
}

.burger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: rgb(74, 35, 215);
  width: 100%;
  padding: 10px 0;
}

.mobile-menu a {
  font-size: 18px;
  padding: 10px 20px;
}

@media (max-width: 786px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
  }

  .nav-center {
    flex: 1;
    text-align: center;
  }
}

.trending-txt {
  font-size: 30px;
  font-family: "Poppins", sans-serif;
  color: white;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.trending-container {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.trending-box {
  display: flex;
  width: 1400px;
  max-width: 95vw;
  border-radius: 17px;
  background-color: rgb(57, 14, 142);
  backdrop-filter: blur(10px);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.tr-img {
  width: 50%;
  height: auto;
  object-fit: cover;
}

.trend-text {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.trend-title {
  font-size: 29px;
  margin-bottom: 15px;
}

.trend-details {
  font-size: 18px;
  line-height: 1.6;
  color: aliceblue;
}

@media (max-width: 786px) {
  .trending-box {
    flex-direction: column;
  }

  .tr-img, .trend-text {
    width: 100%;
  }

  .trend-text {
    padding: 20px;
  }
}


.header-txt {
  font-size: 35px;
  text-align: center;
  color: white;
  margin-top: 50px;
}
.contact-section {
  max-width: 600px;
  margin: 50px auto;
  background-color: rgb(44, 36, 77);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: white;
  font-family: 'Poppins', sans-serif;
}

.contact-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: #f2f2f2;
  color: #333;
}

.contact-form textarea {
  resize: vertical;
}

.contact-btn {
  background-color: rgb(74, 35, 215);
  color: white;
  padding: 15px 20px;
  font-family: "poppins";
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: rgb(45, 23, 160);
}

.optional-order {
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
  margin-left: 4px;
  font-style: italic;
}

.about-box {
  font-size: 24px;
  font-family: "poppins";
  background-color: rgb(62, 21, 101);
  margin: 50px auto;
  margin-top: 35px;
  padding: 40px;
  max-width: 67%;
  max-width: 95vw;
  color: white;
  text-align: center;
  border-radius: 15px;
}

.best-sellers-container {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px; /* space between boxes */
  margin-top: 30px;
}

.best-seller-box {
  width: 250px; /* fixed width */
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.best-seller-image {
  background-color: brown; /* placeholder */
  height: 160px;
  object-fit: cover;
}

.best-seller-info {
  padding: 15px;
  background-color: rgb(57, 14, 142);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.best-seller-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: white;
}

.best-seller-price {
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}

.basket-button {
  background-color: rgb(255, 255, 255);
  color: rgb(87, 8, 196);
  padding: 12px;
  border: none;
  cursor: pointer;
  text-align: center;
  border-radius: 8px;
  font-size: 14px;
  font-family: "poppins";
}

.basket-button:hover {
  background-color: #270353;
  color: white;
  transition-duration: 0.3s;
}
