/* Styles personnalisés pour WeDeal */

/* Variables CSS */
:root {
  --primary-color: #913c1d;
  --secondary-color: #f7931e;
  --accent-color: #e55a2b;
  --text-color: #333;
  --light-bg: #aacdf0;
  --border-color: #a7cef4;
}

/* Styles généraux */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Boutons personnalisés */
.btn-primary {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  border-color: #913c1d;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7a3318, #e68a1a);
  border-color: #7a3318;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(145, 60, 29, 0.4);
}

.btn-outline-primary {
  border-color: #913c1d;
  color: #913c1d;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  border-color: #913c1d;
  color: white;
  transform: translateY(-2px);
}

/* Cards personnalisées */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
  color: #913c1d !important;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  color: #333 !important;
  padding: 80px 0;
  margin-bottom: 40px;
}

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-radius: 15px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Badges */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #913c1d, #f7931e);
  color: white;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  z-index: 10;
}

.new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #00b894, #00a085);
  color: white;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: bold;
  z-index: 10;
}

/* Category Cards */
.category-card {
  transition: var(--transition);
  border-radius: var(--border-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Action Buttons */
.action-buttons {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.product-card:hover .action-buttons {
  opacity: 1;
}

.btn-cart, .btn-wishlist {
  border-radius: 25px;
  padding: 8px 15px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-cart:hover, .btn-wishlist:hover {
  transform: scale(1.05);
}

/* Icônes blanches et en gras pour les boutons avec fond orange */
.btn-primary i,
.btn-primary .fas,
.btn-primary .fab,
.btn-primary .far {
  color: white !important;
  font-weight: bold !important;
}

.btn-outline-primary:hover i,
.btn-outline-primary:hover .fas,
.btn-outline-primary:hover .fab,
.btn-outline-primary:hover .far {
  color: white !important;
  font-weight: bold !important;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
  font-weight: bold;
  color: #ff6b35 !important;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #913c1d, #f7931e);
  border-radius: 2px;
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  color: white;
  border-radius: var(--border-radius);
  padding: 40px;
  margin: 40px 0;
}

/* Swiper Customization */
.swiper-slide {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.swiper-pagination-bullet-active {
  background: #913c1d !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #913c1d !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .product-image {
    height: 150px;
  }
  
  .category-icon {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  min-width: 300px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--primary-color);
}

/* Utilities */
.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Orange uniquement pour les icônes, titres et sous-titres */
.text-orange {
  color: #913c1d !important;
}

.section-title {
  color: #913c1d !important;
  font-weight: bold;
}

.card-title {
  color: #913c1d !important;
}

.navbar-brand {
  color: #913c1d !important;
}

/* Icônes orange */
.fas, .fab, .far {
  color: #913c1d;
}

/* Liens hover en orange */
a:hover {
  color: #913c1d !important;
}

/* Boutons avec orange */
.btn-primary {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  border-color: #913c1d;
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7a3318, #e68a1a);
  border-color: #7a3318;
}

.btn-outline-primary {
  border-color: #913c1d;
  color: #913c1d;
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  border-color: #913c1d;
  color: white;
}

/* Badge orange */
.badge.bg-primary {
  background: linear-gradient(135deg, #913c1d, #f7931e) !important;
}

/* Footer links hover */
footer a:hover {
  color: #913c1d !important;
}

/* Navigation links */
.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #913c1d !important;
}

/* Categories sidebar */
.categories-sidebar {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.category-item:hover {
  background: linear-gradient(135deg, #913c1d, #f7931e);
  color: white;
  text-decoration: none;
}

.category-item i {
  margin-right: 10px;
  color: #913c1d;
  width: 20px;
}

/* Promo banner */
.promo-banner {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* WhatsApp button */
.btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
  border-color: #128c7e;
  color: white;
}

/* Top bar styling */
.top-bar {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .nav-link {
  color: #6c757d !important;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}

.top-bar .nav-link:hover {
  color: #ff6b35 !important;
}

.top-bar .btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}
