/* style.css - Hub du Canada */
:root {
  --primary-color: rgb(153, 0, 0); 
  --secondary-color: #2c3e50;
  --accent-color: #ff6b6b;
  --light-color: #f7fafc;
  --success-color: #38a169;
  --warning-color: #d69e2e;
  --info-color: #3182ce;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Styles généraux */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f8f9fa;
}


/* Hero sections */
.hero-section {
  /* background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.8)),  */
  background: linear-gradient(rgba(204, 0, 0, 0.7) 0%, rgba(153, 0, 0, 0.6)), 
              url('/assets/img/slides/1728421095-slider_hub2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 80px 0;
  margin-bottom: 40px;
}

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 20px;
}

/* Cartes de pricing */
.pricing-card {
  border: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
  border: 2px solid var(--accent-color);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-header {
  background-color: var(--primary-color);
  color: white;
  padding: 30px 20px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 20px 0;
}

.pricing-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Boutons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 30px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #2d4a7c;
  border-color: #2d4a7c;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.btn-accent:hover {
  background-color: #c53030;
  border-color: #c53030;
  color: white;
}

/* Dashboard styles */
.dashboard-sidebar {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.dashboard-sidebar .nav-link {
  color: var(--secondary-color);
  padding: 10px 15px !important;
  border-radius: var(--border-radius);
  margin-bottom: 5px;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

.dashboard-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.dashboard-card h5 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Table styles */
.table {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table thead th {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 15px;
}

.table tbody tr:hover {
  background-color: rgba(26, 54, 93, 0.05);
}

/* Formulaires */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(26, 54, 93, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--secondary-color);
}

/* Badges */
.badge {
  padding: 6px 12px;
  font-weight: 500;
}

.badge-success {
  background-color: var(--success-color);
}

.badge-warning {
  background-color: var(--warning-color);
}

.badge-info {
  background-color: var(--info-color);
}

/* Event cards */
.event-card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.event-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.event-card-img {
  height: 200px;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
}

/* Countdown timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.countdown-item {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 15px;
  min-width: 80px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-top: 5px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 50px 0 20px;
  margin-top: 50px;
}

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

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
      padding: 50px 0;
  }
  
  .hero-section h1 {
      font-size: 1.8rem;
  }
  
  .countdown {
      flex-wrap: wrap;
      gap: 10px;
  }
  
  .countdown-item {
      min-width: 70px;
      padding: 10px;
  }
  
  .dashboard-sidebar {
      margin-bottom: 20px;
      position: static;
  }
}

/* style.css - Ajouts pour la page d'accueil */

/* Animation pour les logos de navigation */
.logo-white, .logo-dark {
  transition: opacity 0.3s ease;
}

/* Bouton accent amélioré */
.btn-accent {
  background: var(--gradient-accent);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-accent::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;
}

.btn-accent:hover::before {
  left: 100%;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
}

/* Badge amélioré */
.badge.bg-accent {
  background: var(--gradient-accent);
  padding: 8px 16px;
  font-weight: 500;
  border-radius: 50px;
}

/* Styles pour les cartes d'événements sur l'index */
.event-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-card-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-accent);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Animation pour les éléments flottants */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-slow {
  animation: float-slow 8s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Overlay pour images */
.img-overlay {
  position: relative;
}

.img-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(26, 54, 93, 0.7));
  border-radius: inherit;
}

/* Responsive utilities */
@media (max-width: 576px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .hero-subtitle {
      font-size: 1rem;
  }
  
  .stat-number {
      font-size: 2rem;
  }
}


/* Loader pour les images */
.img-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}