/* style.css */

/* Navbar brand logo size */
.navbar-brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

/* Category buttons container margin */
.category-container {
  margin-top: 1rem;
}

/* Category Buttons styles */
.category-btn {
  border: 1px solid #333;
  padding: 10px 20px;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  user-select: none;
  text-align: center;
}

.category-btn:hover {
  background: #0d6efd;
  color: white;
}

/* Products */
.product-box {
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
  text-align: center;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.prd {
  background: #f8f9fa;
  padding: 10px;
  margin-top: 5px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.prd:hover {
  transform: translateY(-5px);
  opacity: 0.95;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.prd p {
  margin: 5px 0;
  font-weight: 500;
}

.prd button {
  padding: 7px 14px;
  background-color: #0d6efd;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.prd button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Coming Soon */
.coming-soon {
  font-size: 4rem;
  background: rgba(0,0,0,0.3);
  color: white;
  padding: 30px;
  border-radius: 15px;
}

.slide-animation {
  animation: slide 2s infinite;
}

@keyframes slide {
  0% { transform: translateX(0); }
  50% { transform: translateX(200px); }
  100% { transform: translateX(0); }
}

/* Footer */
.footer-info {
  background: #222;
  color: white;
  padding: 20px;
  text-align: center;
}

/* Navbar collapse full width on mobile */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white; /* White background to prevent transparency overlap */
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  /* Make the search and buttons full width and stacked on mobile */
  .navbar-collapse form.d-flex,
  .navbar-collapse .btn-group {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .navbar-collapse .btn-group button {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Category buttons take full width and margin */
  .category-btn {
    width: 100%;
    margin-bottom: 0.8rem;
  }
}
