
@media screen and (max-width: 480px) {
  
  .banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  

  @media screen and (max-width: 480px) {
    .banner {
      height: 60vh !important; 
      min-height: 300px !important;
    }
  }
  
  .video-bg, .overlay-image {

    object-fit: cover;
  }

  .container {
    padding: 0 10px;
  }
  

  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  

  .nav {
    flex-direction: column;
  }
  

  .btn {
    padding: 12px 20px;
    font-size: 16px;
    width: 100%; 
  }
  

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #000;
  color: #fff;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
}


header {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #000; 
}


.video-banniere {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
}

.video-banniere video {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8); 
}


nav {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  font-weight: 600;
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #1f00ba; 
}


main {
  max-width: 900px;
  margin: 3rem auto 5rem;
  padding: 0 1rem;
}

section {
  margin-bottom: 5rem;
}

h1, h2 {
  margin-bottom: 1rem;
  color: #ffffff;
}


p {
  font-size: 1.1rem;
  color: #eee;
}


#about {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  background-color: #000; 
  color: #fff;
}

.about-container {
  display: flex;
  max-width: 900px;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.about-photo {
  width: 200px;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #000000;
}

.about-text {
  flex: 1;
  min-width: 250px;
}

.about-text h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}






.section {
  padding: 80px 40px;
  color: white;
}

.a-propos-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.photo {
  width: 200px;
  height: auto;
  border-radius: 8px;
}

.texte-a-propos {
  max-width: 600px;
}

.boutons {
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: 1px solid #ffffff;
  background-color: transparent;
  color: #ffffff;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-right: 10px;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
}





.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-infos {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.contact-infos li {
  margin-bottom: 10px;
  font-size: 16px;
}

.contact-infos a {
  color: white;
  text-decoration: underline;
}

.contact-infos a:hover {
  text-decoration: none;
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
}

.video-section video {
  width: 60%;
  max-width: 800px;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.projets-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.projets-container h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}.projets-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.projets-container h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.projets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.projet-card {
  background-color: #1a1a1a;
  padding: 20px;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 0;
  text-align: left;
  transition: transform 0.3s ease;
}

.projet-card:hover {
  transform: scale(1.02);
}

.projet-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border: 1px solid white;
}

.projet-card h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center; 
  text-transform: uppercase;
  letter-spacing: 1px; 
}

.projet-card p {
  color: #ccc;
  margin-bottom: 15px;
}

.infos-projet {
  text-align: center; 
  margin-top: 10px;
}

.infos-projet h3 {
  text-align: center; 
  margin-bottom: 15px;
}

.btn-projet {
  flex: 1; 
  max-width: 160px; 
  padding: 8px 0;
  border: 1px solid rgb(0, 0, 0);
  background-color: transparent;
  color: white;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}


.btn-projet:hover {
  background-color: white;
  color: black;
}

.btn-projet {
  display: inline-block;
  margin: 8px 0;
  padding: 8px 15px;
  border: 1px solid rgb(0, 0, 0);
  background: transparent;
  color: white;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  text-align: center;
  width: fit-content;
}

.btn-projet:hover {
  background-color: white;
  color: #1a1a1a;
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.popup-contenu {
  background-color: #111;
  color: white;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid rgb(0, 0, 0);
  width: 80%;
  max-width: 500px;
  position: relative;
  border-radius: 4px;
}

.fermer {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 24px;
  cursor: pointer;
}



footer {
  background-color: #000; 
  color: #fff; 
  padding: 40px 20px;
  text-align: center;
  font-family: 'Lora', serif; 
  margin-top: 60px;
}

.footer-contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-contact p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: #ccc;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f8f8f8;
}

.contact-form button {
  padding: 12px 20px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.contact-links {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.contact-link {
  color: #fff;
  text-decoration: none;
  border: 1px solid #fff;
  padding: 8px 16px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 0;
}

.contact-link:hover {
  background-color: #fff;
  color: #000;
}




.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Fallback pour Safari ancien */
  min-width: 100%;
  min-height: 100%;
  /* Propriété principale avec préfixe */
  -webkit-object-fit: cover;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 1;
}

.overlay-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Fallback pour Safari ancien */
  min-width: 100%;
  min-height: 100%;
  /* Propriété principale avec préfixe */
  -webkit-object-fit: cover;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}
