/* ===== NAVBAR ===== */
.navbar {
  background-color: #2F519F; /* fond noir */
}

.navbar-nav .nav-link {
  color: white !important; /* texte blanc */
  margin-right: 15px;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd !important; /* bleu au survol */
}

/* Bouton personnalisé */
.btn-custom {
  background-color: #0d6efd;
  color: white;
  border-radius: 20px;
  padding: 6px 15px;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: #0b5ed7;
  color: #fff;
}
/* Style du logo dans la navbar */
.navbar-brand img {
  height: 60px;   /* hauteur du logo */
  width: auto;    /* garde les proportions */
  display: inline-block;
  vertical-align: middle; /* centre verticalement avec le texte du menu */
}
/* Section blanche */
.portfolio-section {
  background-color: #ffffff;
  padding: 80px 0;
  color: #111;
}

/* Forcer alignement texte à gauche */
.portfolio-section .text-area {
  text-align: left;
}

/* Polices */
.kapakana {
  font-family: 'Kapakana', cursive;
  font-size: 3rem; /* ajuste si besoin */
  color: #000;
  margin-bottom: 0.25rem;
}

.montserrat-eb {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; /* ExtraBold */
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1.05;
}

.montserrat-light {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; /* Light */
  color: #333;
  line-height: 1.6;
}

/* Boutons (petite personnalisation) */
.btn-warning {
  background-color: #E98C64;
  border-color: #E98C64;
  color: #111;
}
.btn-warning:hover { transform: translateY(-3px); }

.btn-outline-dark {
  border-color: #111;
  color: #111;
}
.btn-outline-dark:hover {
  background-color: #111;
  color: #fff;
}

/* Image sizing & alignment */
.portfolio-section img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
  .portfolio-section { padding: 40px 0; }
  .kapakana { font-size: 1.3rem; }
}
.portfolio-section .scroll-strip {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.portfolio-section .scroll-content {
  display: inline-block;
  white-space: nowrap;
  line-height: 40px;
  animation: scroll-left 15s linear infinite;
}

.portfolio-section .scroll-content span {
  display: inline-block;
  margin: 0 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #0d6efd;
  font-size: 1rem;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bande défilante fine sous la première section */
.portfolio-section .scroll-content span i {
  margin-right: 8px;
  font-size: 1.2rem;      /* taille de l’icône */
  vertical-align: middle; /* bien aligner avec le texte */
  color: #0d6efd;         /* même bleu que le texte */
}
/* Le css de la deuxième section A propos */
body {
  font-family: 'Montserrat', sans-serif;
}

/* Section fond sombre */
.about-section {
  background: #1c1e26;         /* gris très foncé */
}

/* Image ronde */
.about-img {
  max-width: 260px;
}


/* Bouton bleu clair personnalisé */
.btn-light-blue {
  background-color: #5ea3ff;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-light-blue:hover {
  background-color: #3385ff;
  color: #fff;
}

/* Blocs d'infos */
.info-box {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.info-box h3 {
  font-weight: 700;
  margin-bottom: 5px;
}
.info-box p {
  font-weight: 300;
  margin: 0;
}
.info-box:hover {
  transform: translateY(-5px);
}
/* C'est le défilement jusqu'à la section */
html {
  scroll-behavior: smooth;
}
/* Css pour la section Services/compétences */
.services-section {
  background-color: #0b1f3a;
  font-family: 'Montserrat', sans-serif;
}

.service-card {
  background: rgba(94, 163, 255, 0.1);
  border-radius: 16px;
  text-align: left;
  transition: transform 0.3s ease, background 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  background: rgba(94, 163, 255, 0.2);
}

.service-icon {
  font-size: 2.5rem;
  color: #5ea3ff;
}

/* Css pour la section projets */
.projets-section {
  background-color: #0b1f3a; /* même fond que Services */
  font-family: 'Montserrat', sans-serif;
}

.project-card {
  background: #2F519F;
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  background: rgba(94, 163, 255, 0.2);
}

.project-img {
  border-radius: 16px;       /* même arrondi que le bloc */
  width: 100%;
  height: auto;
  object-fit: cover;         /* garde les proportions */
}
/* css pour la partie contact */
.contact-section h2 {
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-section p {
  font-weight: 300;
  color: #ccc; /* texte plus doux */
}

footer small {
  font-weight: 400;
  font-size: 0.9rem;
  color: #aaa;
}
/* partie de la flèche */
#btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;      /* caché au chargement */
  z-index: 1050;      /* au-dessus du contenu */
}
html {
  scroll-behavior: smooth; /* défilement doux natif */
}
