/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #ff4081, #ff9100);
  padding: 15px 40px;
  color: #fff;
  box-shadow: 0 2px 10px rgba(220, 3, 151, 0.1);
}

.logo h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffeb3b; /* Highlight color on hover */
}

.search-bar input {
  padding: 8px;
  border: none;
  border-radius: 5px;
  width: 250px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.user-actions a {
  margin-left: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.user-actions a:hover {
  color: #ffeb3b; /* Highlight color on hover */
}

.btn {
  padding: 8px 12px;
  background: #222;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #444; /* Darker background on hover */
}

/* Hero Banner */
.hero-banner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sliding Banner */
.sliding-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 400px;
  border-radius: 10px;
  margin: 20px 0;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  animation: slideAnimation 12s infinite;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity 1.5s ease-in-out;
}

.slider img:nth-child(1) { animation: fade 12s infinite 0s; }
.slider img:nth-child(2) { animation: fade 12s infinite 4s; }
.slider img:nth-child(3) { animation: fade 12s infinite 8s; }

@keyframes fade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

/* Categories Section */
.categories {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

.category-card {
  text-align: center;
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.category-card img {
  width: 100%;
  max-width: 200px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card:hover img {
  transform: scale(1.1); /* Zoom effect on hover */
}

/* Video Banner */

/* Product Grid */
.product-grid {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-grid h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #ff4081;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.product-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05); /* Zoom effect on hover */
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #333;
}

.price {
  font-weight: bold;
  color: #ff4081;
  margin-top: 5px;
}

.description {
  font-size: 0.9rem;
  color: #777;
  margin: 0.5rem 0;
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.add-to-bag {
  background: #ff4081;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.add-to-bag:hover {
  background: #e63a5f; /* Darker pink on hover */
}

.add-to-wishlist {
  background: #fff;
  color: #ff4081;
  border: 1px solid #ff4081;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.add-to-wishlist:hover {
  background: #ff4081;
  color: #fff; /* Pink background on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
  .products {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .product-actions {
    flex-direction: column;
    gap: 5px;
  }

  .add-to-bag, .add-to-wishlist {
    width: 100%;
  }
}
/* Footer */
footer {
  background: linear-gradient(135deg, #ff4081, #ff9100);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffeb3b; /* Highlight color on hover */
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .search-bar input {
    width: 100%;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}