/* Reset et base */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9fbfd;
  color: #002244 !important; /* Couleur de texte globale (comme la navbar) */
}

a {
  color: #002244;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: #f1f5fb !important; /* Plus clair pour faire ressortir le logo */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
    color: #002244 !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img.logo-full-height {
  height: 80px;               /* Taille du logo */
  max-height: 100%;
  object-fit: contain;
  padding: 5px 0;             /* Centrage vertical */
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  color: #002244;
}

.nav-links a i {
  margin-right: 6px;
  color: #002244;
}

.navbar-nav .nav-link {
  color: #002244 !important;
}

.navbar-nav .nav-link:hover {
  color: #004488 !important;
}

.navbar .bi {
  color: #002244 !important;
}
/* Sections */
section {
  padding: 80px 40px;
  border-top: 1px solid #dbe4f1; /* Séparateur entre sections */
}

section:first-of-type {
  border-top: none;
}

/* Hero / Accueil */
.hero {
  background: linear-gradient(135deg, #d6e6fb, #e9f1fd);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #333;
}

.hero-image {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

/* CV Section */
.cv-section {
  background-color: #ffffff;
}

/* Contact Section */
.contact-section {
  background-color: #f1f5fb;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background-color: #002244;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background-color: #004488;
}

/* Footer */
footer {
  background-color: #f1f5fb;
  color: #002244;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
  border-top: 1px solid #dbe4f1;
}

/* Back To Top */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  background-color: #002244;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}
