

/* CHOIX DES TYPOS */
@font-face {
    font-family: 'Major';
    src: url('../fonts/MajorMonoDisplay-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Karla';
    src: url('../fonts/Karla-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Karla-L';
    src: url('../fonts/Karla-L.ttf') format('truetype');
}

@font-face {
    font-family: 'Train';
    src: url('../fonts/Train.ttf') format('truetype');
}

@font-face {
    font-family: 'Kapra';
    src: url('../fonts/Kapra.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Didot';
    src: url('../fonts/Didot.ttc') format('truetype');
    font-weight: normal;
    font-style: normal;
}




body { background-color:white;}


/*  TITRE en HAUT A GAUCHE */

@keyframes clignote-couleurs {
    0%   { color: black; }
    95%  { color: white; }
    100% { color: black; }
}

.navbar-brand {
    font-family: 'Major', sans-serif !important;
    font-size: 1.8em !important;
    font-weight: 100 !important;
    text-transform: none;
    animation: clignote-couleurs 3s steps(1, end) infinite;}

@keyframes shake-horizontal {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}



.navbar-brand:hover {
    animation: shake-horizontal 0.4s ease-in-out;
}

@media (max-width: 768px) {
   .navbar-brand {
    font-family: 'Major', sans-serif !important;
    font-size: 1.5em !important;
}

}


/* GRAND TITRE AU CENTRE */
.site-heading h1 {
    font-family: 'Major', sans-serif !important;
    font-size: 3em !important;
    font-weight: 100 !important;
    color: black !important;
    display: none !important;
}


/* SLOGAN */
.subheading {
    font-family: 'Karla-L', sans-serif !important;
    font-size: 2.8em !important;
    text-transform: uppercase;
    font-weight: 400 !important;
    color: black !important;
    border-style: solid;
    border-color: white;
    border-width: 4px;
    padding: 40px;
}

@media (max-width: 768px) {
.subheading {
    font-size: 1.7em !important;
    font-weight: 400 !important;

}

}

.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1000; /* pour rester au-dessus des autres éléments */

}

@media (max-width: 900px) {
    .navbar {
        position: absolute !important;
       
    }
}

/* MENU LIENS */
a.nav-link {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.9em !important;
    text-transform: none !important;
    font-weight: 500 !important;
    color: black !important;
    padding: 10px !important;
}

@media (max-width: 768px) {
    a.nav-link  {
        font-size: 20px !important;
    padding: 25px !important;
    text-align: center;
        font-weight: 400;00 !important;

    }
}

/* Effet flip sur desktop */
@media (min-width: 769px) {
    a.nav-link {
        display: inline-block; /* Nécessaire pour l'animation */
        transition: transform 0.4s ease;
    }

    a.nav-link:hover {
        transform: scaleX(-1); /* effet miroir horizontal */
    }
}

/* Effet flip lent et continu sur le lien NL */
@media (min-width: 769px) {
    a.nav-link-nl {
        display: inline-block;
        animation: slowFlip 6s linear infinite;
        transform-style: preserve-3d;
    }

    @keyframes slowFlip {
        0%   { transform: rotateY(0deg); }
        50%  { transform: rotateY(180deg); }
        100% { transform: rotateY(360deg); }
    }
}


/* PAGE - TITRE SUR LA PHOTO DE COUV */
.post-heading h1 {
    font-family: 'Karla', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.4em;
    display: none !important;
}




p {font-size: 18px;}

/* H2 TITRE DE PAGE ou CHAPITRE */

h2 {
    font-family: 'Karla', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.4em;
    color: black;
}

/* H2 TITRE POST SUR LA HOMEPAGE */
h2.post-title {
    font-size: 1.2em !important;
    color: black;
    margin: 10px !important;
}

/* H2 DESCRIPTION POST SUR LA HOMEPAGE */


/* H3 Légendes des photos dans Réalisations*/

h3 {
    font-family: 'Karla', sans-serif;
    text-transform: none;
    font-weight: 300;
    font-size: 14px;
    color: black;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
}

/* PAGE REALISATIONS DIAPORAMA EN cOLONNES */
.diaporama {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 3 colonnes par défaut */
    gap: 10px;
    padding: 10px;
    width: 100%; /* mieux que 130% pour rester dans le flux */
    max-width: 1400px;
    margin: 0 auto;
}

.image-item {
    position: relative;
    z-index: 0; /* base par défaut */
}

.image-item:hover {
    z-index: 10; /* remonte le bloc entier au-dessus des autres */
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    will-change: transform;
}
.image-item:hover img {
    transform: scale(1.5);
}

@media (max-width: 900px) {
    .image-item:hover img {
        transform: none;
        box-shadow: none;
    }

    .image-item:hover {
        z-index: 0;
    }
}



/* Responsive : 2 colonnes sur tablette */
@media (max-width: 900px) {
    .diaporama {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 600px) {
    .diaporama {
        grid-template-columns: 1fr;
    }
}



/* FOORTER h4 */

.footer-top {
    background-color: #abb8e8;
    padding-top: 50px !important;
    padding-bottom: 50px;

}

.footer-top p {
    font-size: 15px;
    font-family: 'Karka', sans-serif !important;
    font-weight: 100;
}


h4 {
    font-family: 'Major', sans-serif;
    text-transform: none;
    font-weight: 300;
    font-size: 1.4em;
    color: black;
}

h5 {
    font-family: 'Open Sans', sans-serif;
    text-transform: none;
    font-weight: 600;
    font-size: 0.9em;
    color: black;
    padding-bottom: 5px;
}



/* CONTACT FORMULAIRE */

    .contact-container {
      background: white;
      padding: 2rem;
      max-width: 500px;
      width: 100%;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      border-radius: 10px;
    }

form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    input, textarea {
      padding: 0.75rem;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 1rem;
      width: 100%;
    }

    button {
      background: #333;
      color: white;
      padding: 0.75rem;
      border: none;
      border-radius: 5px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.2s;
    }

    button:hover {
      background: #555;
    }

    .alt-contact {
      margin-top: 2rem;
      font-size: 0.9rem;
      color: #555;
    }

    .alt-contact a {
      color: #333;
      text-decoration: underline;
    }





/* WHATSAPP CONTACT FORMULAIRE WHATSAPP */



.ZAP-contact-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px; /* limite totale */
  margin: 40px auto;
  padding: 0 20px;
}

.ZAP-contact-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement */
  align-items: center;     /* centre horizontalement */
  background: white;
  border-radius: 2px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex: 1 1 45%;
  min-width: 300px;
  box-sizing: border-box;
}


@media (max-width: 768px) {
  .ZAP-contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .ZAP-contact-container {
    width: 100%;
    max-width: 400px;
  }
}


    .ZAP-whatsapp-btn {
      background-color: #25D366 !important;
      color: white !important;
      padding: 15px 30px !important;
      font-family: 'Karla' !important;
      text-transform: uppercase !important;
      font-size: 1em !important;
      border: none !important;
      border-radius: 50px !important;
      cursor: pointer !important;
      transition: background 0.3s !important;
      text-decoration: none !important;
    }

    .ZAP-whatsapp-btn:hover {
      background-color: #128C7E !important;
    }

    .ZAP-whatsapp-btn i {
      margin-right: 0;
    }





 .s-content{
      margin-top: 80px;
    }

@media (max-width: 768px) {
    .s-content {
        margin-top: 0px;
    }
}







/* TRIANGLE NOIR pour faire dérouler le texte */

/* Style général pour le titre */
.deroule-label {
    cursor: pointer;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    
    text-align: left; /* Alignement à gauche pour le titre */
    width: 100%; /* Pour être sûr que le titre occupe toute la largeur */
    margin: 0; /* Enlève les marges par défaut */
    padding: 5px 0; /* Ajoute un petit padding pour espacer les éléments sans trop d'espace */
}

/* Style pour la flèche noire */
.arrow {
    margin-left: 10px;
    font-size: 1.2em; /* Taille du triangle */
    transition: transform 0.3s;
}

/* Style pour le contenu déroulé */
.deroule-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.3s ease;

    text-align: left; /* Alignement à gauche pour le texte */
    margin: 0; /* Enlève les marges par défaut */
    padding: 10px 0; /* Ajoute un petit padding pour espacer le contenu */
}

/* Lorsque la section est dépliée */
.deroule-content.expanded {
    opacity: 1;
}







/* LOGOS CLIENTELE MISE EN FORME */


.clients-gallery {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}


.clients-gallery img {
  width: auto !important; /* Largeur automatique pour respecter le ratio */
  max-width: 225px !important; /* Les images ne dépasseront pas 225px de largeur */
  height: auto !important; /* Garde le ratio d'origine */
  object-fit: contain !important; /* S'assure que l'image est contenue sans déformation */
}

/* PICTO NL FR*/

.nl-picto {
    position: fixed;
    top: 120px !important;
    left: 20px;  /* Distance depuis le bord gauche */
    z-index: 9999;
    display: none;
}

@media (max-width: 768px) {
    .nl-picto  {
        top: 10px !important;
    left: 300px; 
    }
}



.nl-picto img {
    filter: invert(1);
    width: 40px;
    height: auto;
}



/* PORTFOLIO */
.portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 20px; /* Espace entre les images */
  padding: 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Centrer la galerie */
}

.portfolio img {
  width: 100%; /* L'image prend toute la largeur de son conteneur */
  height: auto; /* Garde le ratio d'origine */
  transition: transform 0.3s ease-in-out; /* Transition fluide pour le scale et l'opacité */
}


.portfolio:hover {
    z-index: 10; /* remonte le bloc entier au-dessus des autres */
}


.portfolio img:hover {
  transform: scale(1.5); /* Agrandir l'image au survol */
}

.img-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-family: 'Karka', sans-serif;
  font-size: 14px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 900px) {
  .portfolio {
    grid-template-columns: 1fr; /* 1 colonne sur les petits écrans */
  }
    .portfolio img {
    transition: none; /* Désactive la transition sur mobile */
  }

  .portfolio img:hover {
    transform: none; /* Aucun effet de zoom sur mobile */
  }

   .portfolio-item:hover .img-caption {
    opacity: 1;
    transform: translateY(0);
  }

   .img-caption {
    display: none;
  }
}



.container.bg-a-propos {
  position: relative;
  padding: 100px 50px;
  border-radius: 10px;
  z-index: 1;
  overflow: hidden;
  text-align: left;
}

.container.bg-a-propos::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://atelierwiart.be/images/wiart-bucket.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6; /* transparence de l’image */
  z-index: 0;
}

/* le contenu reste lisible */
.container.bg-a-propos > * {
  position: relative;
  z-index: 1;
}
