/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #facc15;
  border-radius: 10px;
}

/* Body Gradient Animation */
body {
  font-family: "Inter", sans-serif;
  color: #f8fafc;
  background: linear-gradient(-45deg, #facc15, #2563eb, #f59e0b, #3b82f6);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Navbar */
.nav-link {
  color: #cbd5e1;
  font-weight: 500;
  transition: 0.3s;
}
.nav-link:hover {
  color: #facc15;
}

/* Mobile menu */
.mobile-link {
  display: block;
  padding: 10px 20px;
  color: #e2e8f0;
  transition: 0.2s;
}
.mobile-link:hover {
  background-color: #1a202c;
}

/* Product Cards */
.product-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fade-in-up 0.6s ease-out forwards;
  animation-delay: var(--delay);
  transition: border 0.3s;
}
.product-card:hover {
  border-color: #facc15;
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;

}
.product-img:hover {
  transform: scale(1.05);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #facc15;
}
.product-sub {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.product-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
  text-align: center;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}
.stock {
  font-size: 0.85rem;
  color: #4ade80;
}

/* Button */
.add-to-cart-btn {
  width: 100%;
  padding: 0.75rem;
  background: #2563eb;
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: 0.3s;
}
.add-to-cart-btn:hover {
  background: #1e40af;
  transform: scale(1.02);
}

/* Value Cards */
.value-card {
  background: #1a202c;
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.value-card h3 {
  color: #facc15;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.value-card p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Footer */
.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: 0.2s;
}
.footer-link:hover {
  color: #facc15;
}

/* Confirmation Box */
.confirmation-box {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: #2563eb;
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
  transform: translateX(100%);
  opacity: 0;
  z-index: 100;
}

/* Fade-in Animation */
@keyframes fade-in-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
