/* Navbar personnalisée */
.navbar-custom {
    background-color: #ec8c4ffd; /* brun terre */
}

/* Bouton "Téléchargez mon CV" */
.btn-outline-light {
    border: none ;
    background-color: #374C21!important; /* fond marron */
    padding: 6px 15px;;
}
.btn-brown {
  background-color: #E36414; /* ton marron brun terre */
  color: #fff; /* texte en blanc */
  border: none; /* pas de contour */
}

.btn-brown:hover {
  background-color: #3e2716; /* un marron plus foncé au survol */
  color: #fff;
}

.bonjour {
  color: #000000;       /* noir */
  font-size: 30px;      /* taille plus grande */
  font-weight: 600;     /* texte en gras */
  margin-bottom: 5px;   /* espacement en dessous */
}
/* Hero section */
.name {
  color: #E36414;       /* brun terre */
  font-size: 34px;      /* taille plus grande */
  font-weight: 700;     /* texte en gras */
}

/* Optionnel : ajuster les liens de menu */
.navbar-nav .nav-link {
    color: #ffffff;               /* texte blanc */
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffffff;             /* couleur au survol */
}

/* Titre principal centré */
.about-title {
  font-size: 36px;
  color: #ffffff;
  font-weight: 700;
}

/* Paragraphes */
.about p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
  color: #000000; /* texte clair sur fond brun */
}



/* Image */
.about img {
  max-width: 100%;
  height: auto;
 
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Section Mes valeurs */
#valeurs {
  background: linear-gradient(135deg, #4A5D2B, #E8732A); /* dégradé vert doux → orange doux */
  width: 90%;
  padding: 7rem 0;
  color: white;
  text-align: center;
}

/* Titres et sous-titres */
#valeurs h3 {
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

#valeurs p.mb-5 {
  color: #f0f0f0;
}

/* Cartes */
#valeurs .card {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}

#valeurs .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Icônes */
#valeurs .icon-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #E36314; /* orange icône */
  margin: 0 auto 1rem auto;
  color: white;
  font-size: 1.5rem;
}


/* Section Mes valeurs */
#valeurs {
  background: linear-gradient(135deg, #374C21, #E36314); /* dégradé vert → orange */
  width: 90%;
  height: 55%;
  color: white; /* texte global en blanc */
  padding: 5rem 0; /* équivalent à py-5 */
}

/* Cartes */
#valeurs .card {
  background-color: rgba(255, 255, 255, 0.9); /* fond clair pour lisibilité */
  border: none;
}

/* Titres dans les cartes */
#valeurs .card h5 {
  color: #374C21; /* couleur marron foncé pour titres */
}

/* Icônes */
#valeurs .icon-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #E36314; /* couleur orange */
  margin: 0 auto 1rem auto;
  color: white;
  font-size: 1.5rem;
}

/* Responsive pour mobile */
@media (max-width: 992px) {
  .about .row {
    flex-direction: column;
    text-align: center;
  }

  .about .col-lg-7 {
    text-align: justify;
  }
}

/* Icônes des outils */
.tool-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tool-icon:hover {
  transform: scale(1.2);
}
.project img-fluid shadow{
  width: 50%;        /* prend toute la largeur du conteneur */
  height: 100x;      /* même hauteur pour toutes les images */
  object-fit: cover;  /* recadre l'image sans la déformer */
  border-radius: 8px; /* coins arrondis */
}
/* Fond brun principal */
.bg-brown {
  background-color: #F5F5DC; /* brun terre que tu avais choisi */
  color: #fff; /* texte en blanc pour bien contraster */
}
/* Section Projets en fond blanc */
.projets {
  background-color: #ffffff; /* blanc pur */
  color: #000; /* texte noir pour la lisibilité */
}

/* Optionnel : pour que les titres soient bien visibles */
.projets h2,
.projets h5,
.projets p {
  color: #000;
}
#valeurs{
  background-color: #F5F5DC; /* brun terre */
  color: white; /* texte blanc */
  width: 100%;
  height: auto;
}
/* Bouton marron plein Voir mes projets */
.btn-brown {
  background-color: #E36414 !important; /* marron plein */
  color: #fff !important; /* texte blanc */
  border: none !important;
}

.btn-brown:hover {
  background-color: #f0c8ac !important; /* marron foncé au survol */
  color: #fff !important;
}

/* Bouton marron contour (outline) Me contacter */
.btn-brown-outline {
  background-color: transparent !important; /* transparent */
  color: #5C3A21 !important; /* texte marron */
  border: 1px solid #5C3A21 !important; /* contour marron */
}

.btn-brown-outline:hover {
  background-color: #5C3A21 !important; /* devient plein au survol */
  color: #fff !important; /* texte blanc */
}
/* Section Outils */
#outils {
  background: linear-gradient(135deg, #4A5D2B, #E36414); /* dégradé doux et léger */
  padding: 5rem 0;
  text-align: center;
}

#outils h2 {
  color: #374C21;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Bande défilante */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Logos */
.tool-logo {
  height: 60px;
  margin: 0 20px;
  object-fit: contain;
  transition: transform 0.3s;
}

.tool-logo:hover {
  transform: scale(1.1);
}

/* Section outils */
.text-brown {
  color: #5C3A21;
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff; /* fond blanc */
  padding: 20px 0;
}

.marquee-content {
  display: flex;
  gap: 50px;
  animation: scroll 20s linear infinite;
}

.tool-logo {
  height: 60px; /* ajuste selon tes images */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tool-logo:hover {
  transform: scale(1.2);
}

/* Animation défilement horizontal */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


.softskill-item {
  background-color: #f8f4f0;
  color: #561112;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}

.softskill-item i {
  font-size: 28px;
  color: #5C3A21;
}

/* Animation d’apparition progressive */
.softskill-item:nth-child(1) { animation-delay: 0.1s; }
.softskill-item:nth-child(2) { animation-delay: 0.2s; }
.softskill-item:nth-child(3) { animation-delay: 0.3s; }
.softskill-item:nth-child(4) { animation-delay: 0.4s; }
.softskill-item:nth-child(5) { animation-delay: 0.5s; }
.softskill-item:nth-child(6) { animation-delay: 0.6s; }

/* Hover effect */
.softskill-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Animation clé */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-center a i {
  color: #5C3A21; /* icône marron */
  transition: transform 0.3s, color 0.3s;
}

.text-center a:hover i {
  color: #432915; /* marron foncé au survol */
  transform: scale(1.2);
}
.progress-brown {
  background-color: #4A5D2B !important; /* marron */
  color: #fff; /* texte à l’intérieur */
  font-weight: 500;
}

.progress {
  height: 25px; /* hauteur des barres */
  border-radius: 12px;
  background-color: #e9ecef; /* gris clair pour le fond */
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 25px; /* centrer le texte verticalement */
}
.brown {
  color: #5C3A21;
}

.cursor {
  border-right: 2px solid #5C3A21;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0%, 50%, 100% { border-color: #5C3A21; }
  25%, 75% { border-color: transparent; }
}
.icon-circle {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto;
}
/* Section Compétences */
#compétences {
  background-color: #EDE9E3; /* même fond que À propos */
  padding: 5rem 0;
  color: #374C21; /* texte marron foncé */
}

/* Titres */
#compétences h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

#compétences h4 {
  color: #E36314; /* accent orange pour titres de cartes */
  margin-bottom: 1.5rem;
}

/* Cartes */
#compétences .card {
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  height: 100%;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

#compétences .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Soft skills grid */
.softskills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.softskill-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: transform 0.3s, color 0.3s;
}

.softskill-item i {
  color: #E36314; /* icône orange */
}

.softskill-item:hover {
  transform: translateY(-3px);
  color: #374C21; /* accent marron foncé */
}

/* Progress bars */
.progress-brown {
  background-color: #E36314;
  height: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
}

/* Responsive adjustment */
@media (max-width: 992px) {
  .softskills-grid {
    grid-template-columns: 1fr;
  }
}
/* Section Contact */
#contact {
  background-color: #EDE9E3; /* même fond que À propos */
  padding: 5rem 0;
}

#contact h2, #contact h5 {
  color: #374C21; /* texte marron foncé */
  font-weight: 700;
}

#contact form .form-control {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
}

#contact form .form-control:focus {
  border-color: #E36314; /* accent orange au focus */
  box-shadow: 0 0 5px rgba(227, 99, 20, 0.5);
}

#contact .btn-brown {
  background-color: #E36314;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  transition: 0.3s;
}

#contact .btn-brown:hover {
  background-color: #3e2716;
  transform: translateY(-2px);
}

#contact .contact-info p {
  line-height: 1.8;
  font-size: 1rem;
}

#contact .social-icons a {
  font-size: 2rem;
  color: #ffffff;
  transition: 0.3s;
}

#contact .social-icons a:hover {
  color: #E36314;
  transform: scale(1.1);
}

@media (max-width: 992px) {
  #contact .row {
    text-align: center;
  }
  #contact .social-icons {
    justify-content: center;
  }
}
.footer {
  background: linear-gradient(135deg, #374C21, #E36314); /* dégradé vert → orange */
  color: #fff;
  padding: 4rem 0;
}

.footer img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.footer-menu {
  padding: 0;
  margin-bottom: 1.5rem;
}

.footer-menu li {
  display: inline-block;
  margin: 0 15px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-menu a:hover {
  color: #EDE9E3; /* blanc cassé au hover */
  text-decoration: underline;
}

.footer .social-icons a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: #fff;
  transition: 0.3s;
}

.footer .social-icons a:hover {
  color: #EDE9E3;
  transform: scale(1.1);
}

.footer p {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.footer .social-icons a {
  font-size: 1.5rem;
  margin: 0 10px;
  color: #fff; /* blanc par défaut */
  transition: 0.3s;
}

.footer .social-icons a:hover,
.footer .social-icons a:active {
  color: #E36314; /* orange au survol ou clic */
  transform: scale(1.1);
}
