/* ======= Effet Hero Section ======= */
.hero-section {
    background: #121a2f; /* Fond noir de base */
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  @media (max-width: 768px) {
    .hero-section {
      text-align: center;
      max-width: 100%;
    }

    .hero-section p {
        font-size: 1.1rem;
        align-items: center;
    }
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dégradé néon style */
    background: radial-gradient(circle at center, rgba(0,255,255,0.15), transparent 60%);
    animation: neon-glow 3s ease-in-out infinite alternate;
    z-index: 1;
  }
  
  @keyframes neon-glow {
    0% {
      background: radial-gradient(circle at center, rgba(0,255,255,0.25), transparent 60%);
    }
    100% {
      background: radial-gradient(circle at center, rgba(255,0,255,0.25), transparent 60%);
    }
  }
  
  .hero-section .container {
    position: relative;
    z-index: 2; /* Pour passer devant l’overlay */
  }
  
  .hero-cta {
    border: 2px solid #fff;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  .hero-cta:hover {
    background: #fff;
    color: #000;
  }
  
  /* ======= Section Services ======= */
  .service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    transition: transform 0.3s;
  }
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  /* ======= Section Projets ======= */
  .project-card {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: transform 0.3s;
    border-radius: 0.5rem;
  }
  .project-card:hover {
    transform: scale(1.02);
  }
  
  /* Pour ajuster la couleur du texte dans la section Projets */
  #projects {
    background: #121212;
  }
    
  .bg-custom {
    background: #1d1c1c;
    background: linear-gradient(135deg, #ff0080, #8000ff, #00ffff);
  }

  /* ======= Boutons ======= */
  .btn-outline-primary {
    border-color: #0ff;
    color: #0ff;
  }
  .btn-outline-primary:hover {
    background-color: #0ff;
    color: #000;
    border-color: #0ff;
  }
  
  /* ======= Section Contact ======= */
  #contact {
    background: #111;
  }
  
  /* Ajustements divers */
  h2, h3, h4, h5, p {
    color: #ccc; /* Couleur de texte par défaut sur fond sombre */
  }
  

  /* [[[[----- Compétences -----]]]]*/

  #skills{
    background-color: rgb(61, 58, 58);
  }

  #skills button.active{
    background-color: rgb(255, 255, 255);
    color: black;
  }

  #skills button{
    color: white;
  }

  #skills .card-body{
    aspect-ratio: 4/3;
    align-items: center;
    background-color: #2e2b2b;
    border: none;
  }

  #skills img {
    width: 10rem;
    aspect-ratio: 4 / 3;
    object-fit: contain;
  }

  #skills h5{
    color: white;
  }
  
/* [------ Progress Bar ------]*/

.custom-progress-container {
  margin: 10px 0;
}

/* Label du pourcentage */
.progress-label {
  font-weight: bold;
  color: #333;
  width: 45px; /* éventuellement pour aligner */
  text-align: right;
  /* Ajoutez vos styles souhaités */
}

/* Barre de progression */
.custom-progress {
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.custom-progress-bar {
  background: linear-gradient(90deg, #b34c4c, #ac4c10);
  height: 100%;
  border-radius: 10px 0 0 10px;
  transition: width 0.6s ease;
}


/** [------ Contact ------]*/

/* Carte avec fond sombre et légère transparence */
.cyber-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Input avec un effet néon au focus */
.cyber-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #0ff;
  color: #fff;
}

.cyber-input:focus {
  outline: none;
  box-shadow: 0 0 5px #0ff;
  border-color: #0ff;
}

.cyber-card label{
  color: white;
  font-weight: bold;
}

.cyber-card input{
  background-color: rgba(255, 255, 255, 0.726);
}

.cyber-card textarea{
  background-color: rgba(255, 255, 255, 0.763);
  color: black;
}
