/* Custom styling for enhanced UI/UX */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced buttons */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 24px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff8c00, #e67a00);
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e67a00, #cc6a00);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Card enhancements */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

/* Image enhancements */
.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Hero section styling */
.hero-section {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.9), rgba(230, 122, 0, 0.9));
  color: white;
  padding: 80px 0;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Filter section styling */
.filter-section {
  background: #F8F9FA;
  padding: 2rem 0;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Price styling */
.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff8c00;
}

.price-old {
  text-decoration: line-through;
  color: #495057;
  font-size: 1.1rem;
  margin-right: 10px;
}

/* Badge styling */
.badge {
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 600;
}

.badge-success {
  background: linear-gradient(135deg, #28A745, #20C997);
}

.badge-warning {
  background: linear-gradient(135deg, #FFC107, #FF8C00);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 140, 0, 0.3);
  border-radius: 50%;
  border-top-color: #ff8c00;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Search enhancements */
.search-box {
  border-radius: 25px;
  border: 2px solid #E9ECEF;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.search-box:focus {
  border-color: #ff8c00;
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
  outline: none;
}

/* Table enhancements */
.table {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.table thead th {
  background: linear-gradient(135deg, #ff8c00, #e67a00);
  color: white;
  border: none;
  font-weight: 600;
  padding: 15px;
}

.table tbody tr:hover {
  background-color: rgba(255, 140, 0, 0.05);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .card-columns {
    column-count: 1;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Animation utilities */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F1F1;
}

::-webkit-scrollbar-thumb {
  background: #ff8c00;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e67a00;
}