/* style pour body */
body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background-color: #f8f9fa;
}
/* Animation d'entrée pour mes éléments */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

/* Classes d'animation */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.6s ease-out;
}

.animate-slide-in-top {
  animation: slideInFromTop 0.6s ease-out;
}

.animate-bounce-in {
  animation: bounceIn 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 2s infinite;
}

.animate-rotate {
  animation: rotate 2s linear infinite;
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* Animation au scroll */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* animation pour mon navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1) rotate(5deg);
}

.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0d6efd, #6610f2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* Animation de mon panier */
#cart-btn {
  transition: all 0.3s ease;
}

#cart-btn:hover {
  transform: scale(1.1);
}

#cart-count {
  animation: bounceIn 0.5s ease-out;
  transition: all 0.3s ease;
}

#cart-count.updated {
  animation: shake 0.5s ease-in-out;
}

/* Animation pour ma bannière */
.banner {
  position: relative;
  height: 350px;
  overflow: hidden;
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
}

.banner-img {
  object-fit: cover;
  width: 100%;
  height: 350px;
  opacity: 0.7;
  filter: blur(1px) brightness(0.8);
  transition: all 0.5s ease;
}

.banner:hover .banner-img {
  transform: scale(1.05);
  filter: blur(0.5px) brightness(0.9);
}

.banner-text {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  z-index: 2;
  animation: fadeInScale 1s ease-out;
}

/* Animation pour mon carousel */
#mainCarousel .carousel-item img {
  height: 350px;
  object-fit: cover;
  filter: brightness(0.7);
  transition: all 0.5s ease;
}

#mainCarousel .carousel-item.active img {
  animation: fadeInScale 0.8s ease-out;
}

.carousel-caption {
  background: rgba(0,0,0,0.4);
  border-radius: 1rem;
  padding: 1rem 2rem;
  animation: slideInFromTop 0.8s ease-out;
  backdrop-filter: blur(10px);
}

.carousel-control-prev,
.carousel-control-next {
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  transform: scale(1.2);
}

/* Animation pour mes cartes produits */
.card {
  border: none;
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.2);
}

/* ── Images des cartes produits ── */
.card-img-top {
  width: 100%;
  height: 240px;                          /* hauteur par défaut (accessoires, montres...) */
  object-fit: cover;
  object-position: center;
  border-radius: 0.75rem 0.75rem 0 0;
  background: #f8f9fa;
  overflow: hidden;
  transition: transform 0.4s ease;
}

/* Vêtements femmes — images portrait, plus hautes */
.card-img-top[data-category="vetements_femmes"] {
  height: 460px;
  object-position: top center;           /* cadre sur le haut du vêtement */
}

/* Vêtements hommes — légèrement plus hautes aussi */
.card-img-top[data-category="vetements_hommes"] {
  height: 460px;
  object-position: top center;
}

/* Accessoires, chaussures, montres — hauteur standard */
.card-img-top[data-category="montres"],
.card-img-top[data-category="chaussures"] {
  height: 300px;
  object-position: center;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.card-title {
  font-weight: 600;
  transition: color 0.3s ease;
}

.card:hover .card-title {
  color: #0d6efd;
}

/* Animation pour mes badges */
.badge {
  animation: bounceIn 0.6s ease-out;
  transition: all 0.3s ease;
}

.badge:hover {
  transform: scale(1.1);
}

/* ===== BOUTONS ANIMATIONS ===== */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-outline-primary {
  border-width: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.add-to-cart {
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.add-to-cart:active {
  transform: scale(0.95);
}

/* Animation pour les icônes */
.advantage-icon {
  background: #f1f3f6;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  transition: all 0.3s ease;
  position: relative;
}

.advantage-icon:hover {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.3);
}

.advantage-icon i {
  transition: all 0.3s ease;
}

.advantage-icon:hover i {
  transform: scale(1.2);
}

/* Animation pour la section avis */
.card .rounded-circle {
  border: 2px solid #0d6efd;
  transition: all 0.3s ease;
}

.card:hover .rounded-circle {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.card .text-warning {
  letter-spacing: 2px;
  animation: pulse 2s infinite;
}

/* Animation pour le mini-panier */
#miniCart .offcanvas-body {
  min-height: 200px;
}

#miniCart .cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

#miniCart .cart-item:hover {
  background: rgba(13, 110, 253, 0.1);
  transform: translateX(5px);
}

#miniCart .cart-item-title {
  font-weight: 500;
}

#miniCart .cart-item-qty {
  width: 50px;
  text-align: center;
  transition: all 0.3s ease;
}

#miniCart .cart-item-remove {
  color: #dc3545;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

#miniCart .cart-item-remove:hover {
  transform: scale(1.2);
  color: #c82333;
}

/* Animation pour les toasts */
.toast-container {
  z-index: 9999;
}

.toast {
  animation: slideInFromTop 0.5s ease-out;
}

/* Animation pour la modal */
.modal.fade .modal-dialog {
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.modal.show .modal-dialog {
  transform: scale(1);
}

.modal-content {
  animation: fadeInScale 0.3s ease-out;
}

/* Animation pour le footer */
footer {
  background: linear-gradient(90deg, #212529 0%, #343a40 100%);
  padding-bottom: 2rem !important;
}

footer h5 {
  font-weight: 600;
  transition: color 0.3s ease;
}

footer h5:hover {
  color: #0d6efd;
}

footer a {
  text-decoration: underline;
  color: #0d6efd;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
  transform: translateX(5px);
}

/* Boutton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  animation: fadeInScale 0.5s ease-out;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
}

/* Boutton whatsapp */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  z-index: 1050;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border-radius: 50%;
  background: #25d366;
  padding: 6px;
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Animation pour le loader */
.loader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animation pour la réponse */
@media (max-width: 767px) {
  #mainCarousel .carousel-item img {
    height: 180px;
  }
  .carousel-caption {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .advantage-icon {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float {
    bottom: 70px;
    right: 15px;
  }
  .back-to-top {
    bottom: 15px;
    right: 15px;
  }
  #partnersCarousel img {
    max-height: 60px;
  }
}

/* Animation pour la modal */
#modal-product-body img {
  transition: all 0.3s ease;
}

#modal-product-body img:hover {
  transform: scale(1.05);
}

/* Animation de chargement des images */
.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Animation des prix */
.price-animation {
  animation: pulse 1s ease-in-out;
}

/* Animation des étoiles */
.stars-animation {
  animation: fadeInScale 0.5s ease-out;
}

/* Animation des catégories */
.category-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.2), transparent);
  transition: left 0.5s ease;
}

.category-btn:hover::before {
  left: 100%;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

/* Animation de la barre de recherche */
.search-animation {
  transition: all 0.3s ease;
}

.search-animation:focus {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.2);
}

/* Animation des partenaires */
#partnersCarousel img {
  filter: grayscale(0.2) brightness(0.95);
  transition: all 0.3s ease;
}

#partnersCarousel img:hover {
  filter: none;
  transform: scale(1.1);
}

/* Animation FAQ */
.accordion-button:not(.collapsed) {
  color: #fff;
  background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
  animation: fadeInScale 0.3s ease-out;
}

/* Animation du footer */
footer .ratio {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13,110,253,0.08);
  transition: all 0.3s ease;
}

footer .ratio:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(13,110,253,0.15);
}

/* Animation des icônes sociales */
.social-icon {
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  color: #0d6efd;
}

/* Animation des notifications */
.notification {
  animation: slideInFromTop 0.5s ease-out;
}

/* Animation des compteurs */
.counter-animation {
  animation: fadeInScale 0.5s ease-out;
}

/* Animation des cartes au survol */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Animation des images de produits */
.product-image {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.product-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.product-image:hover::after {
  left: 100%;
}

.product-image:hover {
  transform: scale(1.05);
}

/* Animation des textes */
.text-animation {
  transition: all 0.3s ease;
}

.text-animation:hover {
  color: #0d6efd;
  transform: translateX(5px);
}

/* Animation des listes */
.list-animation li {
  transition: all 0.3s ease;
  padding-left: 0;
}

.list-animation li:hover {
  padding-left: 10px;
  color: #0d6efd;
}

/* Animation des formulaires */
.form-control {
  transition: all 0.3s ease;
}

.form-control:focus {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(13, 110, 253, 0.2);
}

/* Animation des messages */
#newsletter-message {
  font-size: 0.95rem;
  color: #0d6efd;
  animation: fadeInScale 0.5s ease-out;
}

/* Marge pour éviter que les cartes ne soient coupées en bas */
#product-list > .col-md-4 {
  margin-bottom: 30px;
}

/* Animation d'apparition au scroll pour les produits */
.product-card.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.product-card.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Correction du formulaire newsletter */
#newsletter-form {
  flex-direction: column;
  gap: 0.5rem;
}

#newsletter-form .btn {
  width: 100%;
  margin-top: 0.5rem;
} 