/* Minimal custom CSS to complement Bootstrap */

/* Brand color definitions */
:root {
  --brand-primary: #4F8EB6;
  --brand-primary-rgb: 79, 142, 182;
  --brand-primary-light: #ebf7ff;
  --brand-success: #28a745;
  --brand-warning: #ffc107;
  --brand-danger: #cc0000;
}

/* Custom card styling */
.accessory-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(79, 142, 182, 0.2);
  overflow: hidden;
}

.accessory-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--brand-primary);
}

.bg-primary-light {
  background-color: var(--brand-primary-light);
}

.card-header {
  transition: all 0.3s ease;
}

.accessory-card:hover .card-header {
  background-color: var(--brand-primary);
}

.accessory-card:hover .card-header a {
  color: white !important;
}

/* Price badge styling */
.price-tag .badge {
  transition: all 0.3s ease;
}

.accessory-card:hover .price-tag .badge {
  transform: scale(1.05);
}

/* Image hover styling */
.accessory-card img {
  transition: all 0.3s ease;
}

.accessory-card:hover img {
  transform: scale(1.05);
}

/* Price styling */
.price-tag {
  font-weight: bold;
  font-size: 1.1rem;
}

.shipping-info {
  font-size: 0.9rem;
  color: #666;
}

.special-offer {
  font-size: 1.1rem;
}

/* Enhanced button styling */
.price-button {
  transition: all 0.3s ease;
}

.price-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card animations on scroll */
.accessory-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.accessory-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bounce animation for card elements */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

.accessory-card:hover .badge {
  animation: bounce 0.8s ease-in-out;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .card-header h2 {
    font-size: 1.1rem;
  }
}
