/* styles.css - Styles personnalisés pour STUDIO BIM+ */

/* Polices personnalisées */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Raleway', sans-serif;
}

/* Animation du slider sur la page d'accueil */
.slider-slide {
    transition: opacity 0.8s ease-in-out;
}

/* Effet de survol pour les cartes de projets */
.project-card {
    overflow: hidden;
    position: relative;
}

.project-card img {
    transition: transform 0.5s ease;
}

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

.project-card .overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .overlay {
    transform: translateY(0);
}

/* Animation pour les pages qui se chargent */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

main {
    animation: fadeIn 0.5s ease-in-out;
}

/* Styles pour les boutons */
.btn-primary {
    background-color: #5096de;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #4080c0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Style pour la barre de défilement */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #5096de;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4080c0;
}

/* Styles pour les formulaires */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: #f8f8f8;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #5096de;
    box-shadow: 0 0 0 3px rgba(80, 150, 222, 0.2);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

/* Styles pour le menu mobile */
@media (max-width: 768px) {
    #mobile-menu {
        transition: all 0.3s ease-in-out;
    }
    
    #mobile-menu.hidden {
        display: none;
    }
}

/* Animations pour les icônes et éléments interactifs */
.icon-hover {
    transition: transform 0.2s ease, color 0.2s ease;
}

.icon-hover:hover {
    transform: scale(1.1);
    color: #5096de;
}

/* Style pour les cartes de l'équipe */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Style pour le pied de page */
footer {
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}
/* Ajout des animations personnalisées */
@keyframes float {
    0% {
      transform: translateY(0) translateX(0);
    }
    50% {
      transform: translateY(-10px) translateX(10px);
    }
    100% {
      transform: translateY(0) translateX(0);
    }
  }
  
  @keyframes pulse-slow {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
      transform: scale(1.05);
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
  }
  
  .animate-float-slow {
    animation: float 8s ease-in-out infinite;
  }
  
  .animate-pulse-slow {
    animation: pulse-slow 3s ease-in-out infinite;
  }

  @keyframes slideInFromRight {
    0% {
      transform: translateX(100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  .timeline-container {
    position: relative;
  }

  .timeline-items {
    position: relative;
  }

  .timeline-item {
    animation: slideInFromRight 0.8s ease-out forwards;
    opacity: 0;
  }

  .timeline-item:nth-child(1) {
    animation-delay: 0.2s;
  }

  .timeline-item:nth-child(2) {
    animation-delay: 0.4s;
  }

  .timeline-item:nth-child(3) {
    animation-delay: 0.6s;
  }

  .timeline-item:nth-child(4) {
    animation-delay: 0.8s;
  }

  .timeline-dot {
    transition: transform 0.3s ease;
    box-shadow: 0 0 0 4px rgba(80, 150, 222, 0.3);
  }

  .timeline-dot:hover {
    transform: scale(1.1) translateX(-45%);
  }

  .timeline-content {
    transition: all 0.3s ease;
    border-left: 3px solid #5096de;
  }

  .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  @media (min-width: 768px) {
    .timeline-dot:hover {
      transform: scale(1.1) translate(-50%, 0);
    }
  }

  .group:hover .bg-charcoal {
    background-color: rgba(80, 150, 222, 0.9); /* Couleur bleu primaire avec opacité */
  }

  