/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.7); /* blanc semi-transparent */
  backdrop-filter: blur(10px); /* effet flou */
  -webkit-backdrop-filter: blur(10px); /* Safari */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* ombre légère */
}

.navbar .nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.05rem;
  
  color: #000;

    font-family: 'Montserrat', sans-serif; /* Utilise Montserrat */
    font-weight: 700; /* Gras */
    font-size: 1rem; /* Taille standard */
    letter-spacing: 0.5px; /* Espacement pour meilleure lisibilité */
}


.navbar .nav-link:hover {
  color: #007bff !important; /* bleu au survol */
  transform: scale(1.1); /* zoom au survol */
}

/* Navbar brand logo */
.navbar-brand img {
  height: 70px;
  width: auto;
}

/* ---------- Carousel ---------- */
.carousel-item {
  position: relative;
}

.carousel-img {
  height: 90vh; /* occupe 90% de la hauteur de la fenêtre */
  max-height: 900px; /* limite pour très grands écrans */
  width: 100%;
  object-fit: cover; 
  object-position: center center; /* centre l'image correctement */
  filter: brightness(0.6); /* légèrement plus sombre pour texte lisible */
}


.carousel-caption {
  position: absolute;
  top: 55%; /* descendre un peu le texte */
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  text-align: left;
  max-width: 600px;
}

.carousel-title {
  font-family: 'Playfair Display', serif; /* police élégante */
  font-size: 3.5rem; /* légèrement agrandi */
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  animation: fadeInDown 1s ease-in-out;
}

.carousel-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-in-out;
}

/* Flèches plus visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 20px;
}

/* Animations */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Coller Carousel au Navbar ---------- */
body {
  padding-top: 100px; /* compense la navbar fixe */
}
.carousel.slide { margin-top: 0; }

/* ---------- Section À Propos ---------- */
.apropos-section img {
  max-height: 350px;
  object-fit: cover;
}
.apropos-section a.btn-primary:hover {
  background-color: #0d6efdcc;
  box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}
.apropos-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  cursor: pointer;
  transition: transform 0.3s;
}
.apropos-title:hover {
  transform: scale(1.05);
}
.black-text { color: #000; margin-right: 0.3rem; }
.blue-text { color: #007bff; }
.apropos-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  transition: transform 0.3s;
}
.apropos-text:hover {
  transform: translateY(-3px);
}
.image-wrapper {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #e0f7ff, #cce5ff);
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.img-apropos {
  max-height: 300px;
  width: auto;
  border-radius: 10px;
}
.btn-hover:hover {
  transform: scale(1.05);
  transition: 0.3s;
}

/* ---------- Section Services ---------- */
.services-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}
.services-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  cursor: pointer;
  transition: transform 0.3s, color 0.3s;
}
.services-section h2:hover {
  transform: scale(1.05);
  color: #0056b3;
}
.service-card {
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.service-card i {
  color: #007bff;
  transition: color 0.3s ease-in-out;
}
.service-card:hover i { color: #0056b3; }
.service-card h5 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #000;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}
.services-section .btn {
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.services-section .btn:hover {
  background-color: #007bff;
  color: #fff;
}

/* ---------- Section Contact ---------- */
.contact-section {
  background-color: #555;
  color: white;
  margin-bottom: 0 !important;
}
.contact-section h2 {
  font-size: 2.2rem;
  font-weight: bold;
   transition: transform 0.3s, color 0.3s;
}
.contact-section h2:hover {
  transform: scale(1.05);
}
.contact-section p {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* ---------- Footer ---------- */
/* ===== Footer ===== */

footer {
  margin-top: 0 !important;
}

.footer {
  background: linear-gradient(180deg, #007bff 0%, #0056b3 100%);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h5 {
  text-transform: uppercase;
  font-size: 1.1rem;
  border-bottom: 2px solid #ffd700;
  display: inline-block;
  padding-bottom: 5px;
}

.footer p {
  margin-bottom: 0.8rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-link {
  color: #f1f1f1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #ffd700;
  padding-left: 3px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  color: #f8f9fa;
}

/* Navbar links */
.menu-link {
  position: relative;
  text-decoration: none;
  color: black;
  padding-bottom: 5px;
  transition: all 0.3s;
}

/* Lien actif : trait bleu en bas */
.menu-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background-color: #007bff; /* bleu */
  border-radius: 2px;
}




