/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Global Styles */
body {
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}



/* Header Styles */
header {
  background: transparent;
  padding: 5px 0;
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  z-index: 999;
}

.container__header {
  width: 90%;
  max-width: 1500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center ;
  gap: 20px;
  font-size: 24px;
  font-weight: bold;
}

.logo p {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  color: #fff;
}

.logo__img {
  width: 10vw;
  max-width: 125px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li {
  display: inline;
}

nav a {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  color: #fff;
  padding: 5px 10px;
}

.toggle {
  display: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

.nav-scrolled {
  background-color: #74b2a5;
}

/* Menu mobile style */
.menu {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100vh;
  display: none; /* Initialement caché */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.5s;
}

.menu.visible {
  display: block;
  opacity: 1;
}

.menu-content {
  background-color: #fff;
  width: 80vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.header__menu__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo__menu {
  flex: 1;
}

.close__btn {
  cursor: pointer;
  font-size: 1.5rem;
  padding: 10px;
}

#nav-menu {
  margin-top: 20px;
  flex: 1;
}

#nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

#nav-menu ul li {
  margin-bottom: 15px;
}

#nav-menu ul li a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #000;
  transition: color 0.3s;
}

/* Hero Section Styles */
#hero {
  background: url('../img/coverNolte.jpg') no-repeat center center/cover;
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#hero .hero-content {
  z-index: 1;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

#hero h1 {
  font-size: 48px;
  font-family: "Nanum Myeongjo", serif;
  font-weight: 300;
  font-style: normal;
  margin-bottom: 20px;
}

#hero p {
  margin-bottom: 20px;
  font-size: 24px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal
}

.cta-button {
  padding: 15px;
  background-color: #74b2a5;
  color: #fff;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #fff;
  color: #74b2a5;
}

/* Products Section */
#products {
  padding: 60px 0;
}

#products h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
}

.product-category {
  margin: 90px 0;
}

.product-category h3 {
  font-size: 60px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 20px;
  text-align: left;
}

.product-content {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.reverse {
  flex-direction: row-reverse;
}

.product-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  max-height: 478px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.product-description {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.product-description p {
  margin-bottom: 20px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
}

.product-description a {
  display: block;
  margin-top: 10px;
  color: #74b2a5;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s;
}

.product-description a:hover {
  color: #0056b3;
}

/* Services Section */
#services {
  position: relative;
  height: 40vh;
  background: url('../img/coverNolte2.jpeg') no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

.services-content {
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
}

#services h2 {
  font-size: 60px;
  margin-bottom: 20px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.services-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.service {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  margin: 10px;
}

.service-icon {
  width: 100px; 
  height: 100px; 
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-bottom: 10px;
}

.service-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.service p {
  font-size: 20px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* About Section */
#about {
  padding: 60px 0;
}

#about h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 60px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
}

#about-title {
  padding-top: 150px;
  margin-top: -150px;
}

#about p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 20px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.team {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team img {
  width: 100%;
  max-width: 300px;
  border-radius: 50%;
}

/* Inspiration Section */
.inspiration-section {
  width: 100vw;
  background-color: #74b2a5;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.inspiration-content {
  max-width: 800px;
  margin: 0 auto;
}

.inspiration-content h2 {
  font-size: 60px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 20px;
}

.inspiration-content p {
  font-size: 22px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 30px;
}

.catalog-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.catalogue-link {
  background: #fff;
  color: #74b2a5;
  padding: 10px 20px;
  border: 1px solid #74b2a5;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.catalogue-link:hover {
  background: #74b2a5;
  border: 1px solid #fff;
  color: #fff;
}

/* Contact Section */
#contact {
  padding: 60px 0;
}

#contact h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 60px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
}

#contact-title {
  padding-top: 140px; /* Ajustez cette valeur en fonction de la hauteur de votre en-tête */
  margin-top: -140px; /* La même valeur que padding-top */
}


form input[type="hidden"] {
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: auto;
}

form label {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
}

form input, form textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
}

form textarea {
  resize: vertical;
  min-height: 100px;
}

form button {
  padding: 10px 20px;
  background-color: #74b2a5;
  color: #fff;
  border: 1px solid #74b2a5;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #fff;
  color: #74b2a5;
}

.contact-info {
  text-align: center;
  margin-top: 20px;
}

.contact-info p, .contact-info a {
  margin-bottom: 10px;
  display: block;
}

#map {
  width: 100%;
  height: 300px;
  background-color: #e0e0e0; /* Remplacer par une vraie carte */
  margin-top: 20px;
  position: relative;
}

#map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
}

/* Footer Section */
footer {
  background: #2c362f;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.social-links a {
  color: #fff;
  font-size: 16px;
}

/* Gallery Styles */
.realisation-section {
  margin-bottom: 40px;
}

.realisation-section h2 {
  padding-top: 110px;
  font-size: 60px;
  font-family: "Allura", cursive;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Styles pour la modale bigImg */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 80%;
  max-width: 900px;
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 95vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@media (max-width: 960px) {

  /* Gallery style mobile */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  /* Navbar style mobile */
  .logo p {
    font-size: 20px;
  }

  .logo__img {
    width: 80px;
  }

  header nav ul {
      display: none;
  }

  .toggle {
      display: block;
  }

  nav .active ul {
      display: flex;
  }

  /* Hero section style mobile */
  #hero {
    text-align: center;
    background-position: -300px;
  }

  #hero h1 {
    font-size: 35px;
  }

  #hero p {
    padding: 0 10px;
    font-size: 20px;
  }


  /* about Section style mobile */
  .team {
      flex-direction: column;
      align-items: center;
  }
  
  /* Product section style mobile */
  .product-content {
    flex-direction: column;
    align-items: center;
  }

  .product-content .reverse {
    flex-direction: column;
  }

  .product-description {
    padding: 20px 0 0;
  }

  /* .product-image img {
    max-height: 342px;
  } */

  /* Service section mobile */
  #services {
    height: auto;
  }

  #services h2 {
    font-size: 40px;
  }

  .services-logos {
    flex-direction: column;
  }

  .service {
    max-width: none;
    margin: 20px 0;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon img {
    width: 50%;
    height: 50%;
  }

  .service p {
    font-size: 18px;
  }

  /* inspiration section mobile */
  .catalog-links {
    flex-direction: column;
  }

  /* modale big img */
  .modal-content {
    width: 100%;
  }
}