/* ========================================
   Sicmada - Nouvelle Palette de Couleurs
   Intégration complète basée sur le logo
   ======================================== */

/* Variables supplémentaires pour la nouvelle palette */
:root {
  /* Couleurs étendues du logo */
  --bleu-principal: #0171bb;
  --bleu-secondaire: #28abe3;
  --bleu-fonce: #005a8b;
  --bleu-pale: #4db8e8;
  --bleu-tres-clair: #e6f4fc;
  
  --gris-principal: #212021;
  --gris-secondaire: #999999;
  --gris-tres-fonce: #1a1a1a;
  --gris-clair: #cccccc;
  --gris-tres-clair: #f5f5f5;
  
  /* Gradients améliorés */
  --gradient-logo: linear-gradient(135deg, #0171bb 0%, #28abe3 100%);
  --gradient-hero: linear-gradient(135deg, #e6f4fc 0%, #f0f7fb 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Améliorations de la navigation avec le logo */
.navbar-brand img {
  transition: var(--transition);
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

/* Hero section avec les nouvelles couleurs */
.hero-section {
  background: var(--gradient-hero);
}

/* Boutons avec la nouvelle palette */
.btn-primary {
  background: var(--gradient-logo);
  border: none;
  position: relative;
  overflow: hidden;
}

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

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

.btn-outline-primary {
  border: 2px solid var(--bleu-principal);
  color: var(--bleu-principal);
  background: transparent;
}

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

/* Cartes avec la nouvelle palette */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--gris-clair);
}

.card-header {
  background: var(--bleu-tres-clair);
  border-bottom: 1px solid var(--gris-clair);
}

/* Icônes avec les nouvelles couleurs */
.feature-icon {
  background: var(--gradient-logo);
  color: white;
}

.config-icon {
  background: var(--gradient-logo);
}

.event-icon {
  background: var(--gradient-logo);
}

/* Pricing cards améliorées */
.pricing-card .card.border-primary {
  border: 2px solid var(--bleu-principal) !important;
  position: relative;
}

.pricing-card .card.border-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-logo);
}

/* Gallery avec les nouvelles couleurs */
.gallery-overlay {
  background: linear-gradient(to top, rgba(1, 113, 187, 0.8) 0%, rgba(40, 171, 227, 0.2) 100%);
}

/* Footer avec la nouvelle palette */
footer {
  background: var(--gradient-dark);
}

/* Formulaires améliorés */
.form-control:focus,
.form-select:focus {
  border-color: var(--bleu-secondaire);
  box-shadow: 0 0 0 0.2rem rgba(40, 171, 227, 0.25);
}

/* Badges avec la nouvelle palette */
.badge-primary {
  background: var(--gradient-logo);
  color: white;
}

/* Animations avec les nouvelles couleurs */
@keyframes logoGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(1, 113, 187, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(40, 171, 227, 0.5);
  }
}

.hero-image-wrapper {
  animation: logoGlow 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-brand img {
    height: 30px;
  }
}

/* Améliorations d'accessibilité */
:focus-visible {
  outline: 2px solid var(--bleu-secondaire);
  outline-offset: 2px;
}

/* Classes utilitaires supplémentaires */
.text-logo-primary {
  color: var(--bleu-principal) !important;
}

.text-logo-secondary {
  color: var(--bleu-secondaire) !important;
}

.bg-logo-primary {
  background-color: var(--bleu-principal) !important;
}

.bg-logo-secondary {
  background-color: var(--bleu-secondaire) !important;
}

.bg-logo-light {
  background-color: var(--bleu-tres-clair) !important;
}
