/* RESET & BASE */
* {margin:0; padding:0; box-sizing:border-box; font-family: Arial, sans-serif;}
body {background: #f5f5f5; color: #333; line-height:1.6;}
a {text-decoration:none; color:inherit;}

/* HEADER */
header {

  position: fixed;
  top:0;
  left:0;
  width:100%;
  background: rgb(2, 8, 83); 
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 50px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  z-index:1000;
}


header img {
  height:100px; /* ajustable selon la taille de mon logo */
  object-fit:contain;
}

header nav a {
  margin-left:25px;
  font-weight:bold;
  color:#f9f9f9;
  transition: color 0.3s;
}
header nav a:hover {color:#02105f;}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 60px;
  font-family: sans-serif;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;       /* moins de padding */
  background-color: #020e4e;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;             /* header plus fin */
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container .logo {
  width: 140px;             /* réduit un peu la taille du logo */
  height: auto;
}

.main-nav a {
  margin: 0 8px;
  font-weight: 500;
  line-height: 1.2;         /* compacte verticalement */
}

.lang-switch a {
  margin: 0 5px;
  font-weight: 600;
  color:#fff
}

body {
  margin: 0;
  padding-top: 60px;        /* espace suffisant pour que le hero ne soit pas caché */
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;           /* hauteur adaptative sur mobile */
    padding: 10px 15px;
  }
  .main-nav {
    margin: 5px 0;
  }
  .lang-switch {
    align-self: flex-end;
  }
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 50px 20px;
  background-color: #020e4e; /* couleur de fond personnalisable */
  flex-wrap: wrap;
}

.hero-images {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.hero-images img {
  width: 200px;
  height: auto;
  border: 5px solid #025f5f; /* couleur de bordure personnalisable */
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.hero-images img:hover {
  transform: scale(1.50);
}

.hero-text {
  max-width: 400px;
  text-align: left;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #0072b5; /* couleur principale bleu */
  margin-bottom: 10px;
}
/* Effet néon */
.neon {
  font-size: 2.8rem;
  font-weight: bold;
  color: #00e6ff;
  text-shadow:
    0 0 5px #00e6ff,
    0 0 10px #00e6ff,
    0 0 20px #00e6ff,
    0 0 40px #00e6ff,
    0 0 80px #00e6ff;
  letter-spacing: 2px;
}
.hero-text p {
  font-size: 1.2rem;
  color: #005f73; /* couleur secondaire */
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-images {
    flex-direction: row;
    justify-content: center;
  }

  .hero-images img {
    width: 100px;
  }
}

/* SECTION TITRES */
.section h2 {font-size:36px; text-align:center; color:#0e0159; margin-bottom:40px;}
.section {padding:80px 20px; background:white; margin-bottom:20px;}

/* ABOUT */
/* Section À propos */
#about {
    padding: 50px 20px;
    background: #ffffff;
    text-align: center;
}

#about h2 {
    color: #0b1d46; /* bleu nuit */
    font-size: 2rem;
    margin-bottom: 20px;
}

#about p {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #333;
}

/* Pourquoi nous choisir */
.why-choose-us {
    margin-top: 40px;
    background: #025f5f;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(17, 17, 17, 0);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f4f9ff;
}

.why-choose-us h3 {
    color: #0b1d46;
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
}

.why-choose-us li {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
}

.why-choose-us li::before {
    content: "✔";
    color: #07f7df;
    position: absolute;
    left: 0;
}
/* Animation fade + slide */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Appliquer aux titres et paragraphes */
#about h2, 
#about p, 
.why-choose-us {
    opacity: 0;
    animation: fadeSlideUp 5s ease forwards;
}

/* Délais pour que ça arrive en douceur */
#about h2 {
    animation-delay: 0.5s;
}

#about p {
    animation-delay: 0.8s;
}

.why-choose-us {
    animation-delay: 0.15s;
}


/* SERVICES - ACCORDÉON */
.services-accordion {max-width:900px; margin:0 auto;}
.service-item {margin-bottom:10px; border:1px solid #ddd; border-radius:8px; overflow:hidden; background:white; box-shadow:0 4px 10px rgba(0,0,0,0.05);}
.service-title {
  width: 100%;
  padding: 15px;
  background:#0e0159; /* bleu vif */
  color: #fff;
  font-weight: bold;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 10px;
  transition: background 0.3s ease;
}

.service-title:hover {
  background:#025f5f; /* bleu plus foncé au survol */
}

.service-content {
  display: none;
  padding: 15px;
  background: #f4f9ff; /* bleu très clair en fond */
  border-left: 3px solid #025f5f;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #333;
  line-height: 1.6;
}

/* SLIDER (GALERIE) */
#gallery {
  padding: 60px 20px;
  text-align: center;
}

#gallery h2 {
  font-size: 2rem;
  color:#0e0159;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.slider {
  position: relative;
  max-width: 1000px;
  margin: 20px auto;
  text-align: center;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.caption {
  margin-top: 10px;
  background: rgba(255,255,255,0.8); /* fond clair pour lisibilité */
  color: #0e0159; /* bleu vif */
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 8px;
  display: inline-block;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}


.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  margin-top: 15px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background: #1E73BE;
}

@media(max-width:768px){
  .slide img { max-height: 300px; }
  .caption { font-size: 0.9rem; }
}

@media(max-width:768px){
  .slide img { max-height: 300px; }
  .caption { font-size: 0.9rem; }
}



/* SLIDER BUTTONS */
.prev, .next {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background: rgba(0,0,0,0.4);
  color:white;
  border:none;
  padding:10px 15px;
  font-size:24px;
  cursor:pointer;
  border-radius:50%;
}
.prev:hover, .next:hover {background: rgba(0,0,0,0.7);}
.prev {left:20px;}
.next {right:20px;}

/* SLIDER DOTS */
.dots {
  position:absolute;
  bottom:15px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.dot {
  width:12px;
  height:12px;
  background:#bbb;
  border-radius:50%;
  cursor:pointer;
}
.dot.active {background:#1E73BE;}

/* CONTACT */
.contact-info {display:flex; flex-direction:column; align-items:center; gap:15px; margin-top:20px;}
.contact-item {display:flex; align-items:center; gap:10px; font-size:18px;}
.contact-item .icon {font-size:22px;}

/* FOOTER */
footer {text-align:center; padding:20px; background:#f0f0f0; font-size:16px;}
/* Footer */
footer {
    background-color:#0e0159; /* bleu nuit */
    color: #ffffff; /* texte en blanc */
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #ffffff; /* liens en blanc */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #4db6ac; /* petit effet au survol */
}

/* RESPONSIVE */
@media(max-width:768px){
  header {flex-direction:column; align-items:flex-start; padding:10px 20px;}
  header nav {margin-top:10px;}
  header nav a {margin-left:0; margin-right:15px;}
  .hero h1 {font-size:36px;}
  .hero p {font-size:18px;}
  .slider-container {height:300px;}
}