/* Custom Highlights Colors for Messiah Christian College Theme */

/* Variables pour les couleurs du thème */
:root {
  --mcc-primary: #1270b6;    /* Bleu principal */
  --mcc-secondary: #f2b833; /* Jaune secondaire */
  --mcc-accent: #e5454f;     /* Rouge accent */
  --mcc-primary-light: #1a8fd8;
  --mcc-secondary-light: #f8c95a;
  --mcc-accent-light: #f06b75;
}

/* Modification de la barre de progression en haut des cartes */
.hero .highlights-container .highlight-item::before {
  background: linear-gradient(90deg, var(--mcc-primary), var(--mcc-secondary), var(--mcc-accent), var(--mcc-primary));
  background-size: 300% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

/* Modification du fond au survol */
.hero .highlights-container .highlight-item:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
  box-shadow: 0 20px 60px rgba(18, 112, 182, 0.15);
}

/* Modification des icônes avec les couleurs du thème */
.hero .highlights-container .highlight-item .icon {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, var(--mcc-secondary) 100%);
  box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
}

.hero .highlights-container .highlight-item .icon::before {
  background: linear-gradient(135deg, var(--mcc-primary), var(--mcc-secondary));
}

/* Couleurs spécifiques pour chaque carte */
.hero .highlights-container .highlight-item:nth-child(1) .icon {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, var(--mcc-primary-light) 100%);
  box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
}

.hero .highlights-container .highlight-item:nth-child(2) .icon {
  background: linear-gradient(135deg, var(--mcc-secondary) 0%, var(--mcc-secondary-light) 100%);
  box-shadow: 0 8px 25px rgba(242, 184, 51, 0.3);
}

.hero .highlights-container .highlight-item:nth-child(3) .icon {
  background: linear-gradient(135deg, var(--mcc-accent) 0%, var(--mcc-accent-light) 100%);
  box-shadow: 0 8px 25px rgba(229, 69, 79, 0.3);
}

.hero .highlights-container .highlight-item:nth-child(4) .icon {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, var(--mcc-secondary) 100%);
  box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
}

/* Animation de pulsation adaptée */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(18, 112, 182, 0.5);
  }
}

/* Pulsation spécifique pour chaque carte */
.hero .highlights-container .highlight-item:nth-child(1) .icon {
  animation: pulse-glow-blue 2s ease-in-out infinite;
}

.hero .highlights-container .highlight-item:nth-child(2) .icon {
  animation: pulse-glow-yellow 2s ease-in-out infinite;
}

.hero .highlights-container .highlight-item:nth-child(3) .icon {
  animation: pulse-glow-red 2s ease-in-out infinite;
}

.hero .highlights-container .highlight-item:nth-child(4) .icon {
  animation: pulse-glow-blue 2s ease-in-out infinite;
}

@keyframes pulse-glow-blue {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(18, 112, 182, 0.5);
  }
}

@keyframes pulse-glow-yellow {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(242, 184, 51, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(242, 184, 51, 0.5);
  }
}

@keyframes pulse-glow-red {
  0%, 100% {
    box-shadow: 0 8px 25px rgba(229, 69, 79, 0.3);
  }
  50% {
    box-shadow: 0 8px 35px rgba(229, 69, 79, 0.5);
  }
}

/* Modification des titres au survol */
.hero .highlights-container .highlight-item:hover h3 {
  color: var(--mcc-primary);
}

.hero .highlights-container .highlight-item h3 small {
  color: var(--mcc-primary);
}

/* Modification des liens */
.hero .highlights-container .highlight-item .card-link {
  color: var(--mcc-primary);
  background: linear-gradient(135deg, rgba(18, 112, 182, 0.1), rgba(18, 112, 182, 0.05));
}

.hero .highlights-container .highlight-item .card-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mcc-primary), var(--mcc-secondary));
  border-color: var(--mcc-primary);
  box-shadow: 0 8px 25px rgba(18, 112, 182, 0.3);
}

/* Modification des particules flottantes */
.hero .highlights-container .highlight-item::after {
  background: var(--mcc-primary);
}

.hero .highlights-container .highlight-item:nth-child(1)::after {
  background: var(--mcc-primary);
}

.hero .highlights-container .highlight-item:nth-child(2)::after {
  background: var(--mcc-secondary);
}

.hero .highlights-container .highlight-item:nth-child(3)::after {
  background: var(--mcc-accent);
}

.hero .highlights-container .highlight-item:nth-child(4)::after {
  background: var(--mcc-primary);
}

/* Animation shimmer améliorée */
@keyframes shimmer {
  0% { background-position: -300% 0; }
  100% { background-position: 300% 0; }
}

/* Effet de survol des icônes */
.hero .highlights-container .highlight-item:hover .icon {
  box-shadow: 0 12px 35px rgba(18, 112, 182, 0.4);
}

.hero .highlights-container .highlight-item:nth-child(1):hover .icon {
  box-shadow: 0 12px 35px rgba(18, 112, 182, 0.4);
}

.hero .highlights-container .highlight-item:nth-child(2):hover .icon {
  box-shadow: 0 12px 35px rgba(242, 184, 51, 0.4);
}

.hero .highlights-container .highlight-item:nth-child(3):hover .icon {
  box-shadow: 0 12px 35px rgba(229, 69, 79, 0.4);
}

.hero .highlights-container .highlight-item:nth-child(4):hover .icon {
  box-shadow: 0 12px 35px rgba(18, 112, 182, 0.4);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero .highlights-container .highlight-item .icon {
    font-size: 2.4rem;
    height: 75px;
    width: 75px;
    line-height: 75px;
  }

  .hero .highlights-container .highlight-item h3 {
    font-size: 1.2rem;
  }

  .hero .highlights-container .highlight-item p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero .highlights-container .highlight-item {
    padding: 25px 20px;
  }

  .hero .highlights-container .highlight-item .icon {
    font-size: 2.2rem;
    height: 70px;
    width: 70px;
    line-height: 70px;
    margin-bottom: 20px;
  }

  .hero .highlights-container .highlight-item .card-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ===========================================
   EVENT BANNER - STYLE MODERNE ET PROFESSIONNEL
   =========================================== */

/* Event Banner - Fond bleu principal avec design moderne */
.hero .event-banner {
  background: linear-gradient(135deg, var(--mcc-primary) 0%, #033e62 100%);
  padding: 35px 0;
  margin-top: 40px;
  border-radius: 0;
  box-shadow: 0 15px 40px rgba(18, 112, 182, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* Effet de fond avec motif subtil */
.hero .event-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 1;
}

/* Contenu de la bannière */
.hero .event-banner .container {
  position: relative;
  z-index: 2;
}

.hero .event-banner .row {
  align-items: center;
}

/* Date de l'événement - Style moderne avec bleu clair */
.hero .event-banner .event-date {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: var(--mcc-primary);
  text-align: center;
  border-radius: 15px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(18, 112, 182, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .event-banner .event-date::before {
  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.5s ease;
}

.hero .event-banner .event-date:hover::before {
  left: 100%;
}

.hero .event-banner .event-date:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(18, 112, 182, 0.3);
}

.hero .event-banner .event-date .month {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  opacity: 0.9;
  color: var(--mcc-primary);
}

.hero .event-banner .event-date .day {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(18, 112, 182, 0.1);
  color: var(--mcc-primary);
}

/* Contenu textuel */
.hero .event-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.3;
}

.hero .event-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  font-weight: 400;
}

/* Bouton d'inscription - Style jaune moderne */
.hero .event-banner .btn-register {
  background: linear-gradient(135deg, var(--mcc-secondary) 0%, var(--mcc-secondary-light) 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(242, 184, 51, 0.3);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.hero .event-banner .btn-register::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;
}

.hero .event-banner .btn-register:hover {
  background: linear-gradient(135deg, var(--mcc-secondary-light) 0%, var(--mcc-secondary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(242, 184, 51, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.hero .event-banner .btn-register:hover::before {
  left: 100%;
}

/* Animation d'entrée */
.hero .event-banner {
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design pour event-banner */
@media (max-width: 768px) {
  .hero .event-banner {
    padding: 25px 0;
    margin-top: 30px;
    border-radius: 0;
  }

  .hero .event-banner .event-date {
    margin: 0 auto 20px;
    max-width: 120px;
    padding: 15px 10px;
  }

  .hero .event-banner .event-date .month {
    font-size: 0.8rem;
  }

  .hero .event-banner .event-date .day {
    font-size: 1.5rem;
  }

  .hero .event-banner h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .hero .event-banner p {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .hero .event-banner .btn-register {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
    padding: 12px 25px;
  }
}

@media (max-width: 576px) {
  .hero .event-banner {
    padding: 20px 0;
    margin-top: 25px;
  }

  .hero .event-banner .event-date {
    max-width: 100px;
    padding: 12px 8px;
  }

  .hero .event-banner .event-date .month {
    font-size: 0.7rem;
  }

  .hero .event-banner .event-date .day {
    font-size: 1.3rem;
  }

  .hero .event-banner h3 {
    font-size: 1.2rem;
  }

  .hero .event-banner p {
    font-size: 0.85rem;
  }

  .hero .event-banner .btn-register {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Effet de brillance au survol de la bannière */
.hero .event-banner:hover {
  box-shadow: 0 20px 50px rgba(18, 112, 182, 0.25);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Animation des éléments internes */
.hero .event-banner .event-date,
.hero .event-banner h3,
.hero .event-banner p,
.hero .event-banner .btn-register {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.hero .event-banner .event-date {
  animation-delay: 0.1s;
}

.hero .event-banner h3 {
  animation-delay: 0.2s;
}

.hero .event-banner p {
  animation-delay: 0.3s;
}

.hero .event-banner .btn-register {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
