/* Animations pour les titres des pages */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroReveal {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}



/* Animations pour les titres */
/* Animations pour les titres */
.category-header h1 {
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
  font-size: 2.5rem; 
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
   
}


.category-header p {
  opacity: 0;
  animation: fadeInRight 1.2s ease forwards;
  animation-delay: 0.8s;
 font-size: 1.3rem;
  color: #555;
}


/* Animation pour l'ensemble de la section header */
.category-header {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 3rem 1rem;
  background-color: #f0f8ff;
  color: #000000;
}



.category-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(97, 5, 255, 0.1);
  z-index: -1;
  animation: heroReveal 1.5s ease forwards;
}

/* Styles pour la section de partage */
.share-section {
  padding: 1.5rem 0;
  background-color: #f9f9f9;
  border-top: 1px solid #e8e8e8;
  font-family: 'sailec', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
}

.share-section h3 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #303030;
}

.share-section h3 i {
  margin-right: 0.5rem;
  color: #666;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 600px;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #777;
}

.share-button i {
  margin-right: 0;
  font-size: 1.3rem;
}

.share-button span {
  display: none; /* Hide text labels */
}

.share-button.facebook,
.share-button.twitter,
.share-button.whatsapp,
.share-button.copy {
  background-color: #777;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background-color: #0F7CB3;
}

.share-button.copied {
  background-color: #888;
}

/* Responsive styles */
@media (max-width: 768px) {
  .share-buttons {
    gap: 1rem;
  }
  
  .share-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .share-buttons {
    width: 100%;
  }
  .share-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
}


