/* realisation.php */

@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,900;1,900&family=Roboto:ital,wght@1,700&display=swap');
* {
    font-family: Roboto;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 70px; /* Ajustez cette valeur à la hauteur de votre navbar */
    scroll-behavior: smooth;

}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.header, .footer-page, .navbar, .section {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container, .navbar-container, .footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding-top: 80px;
}

body.menu-open {
    overflow: hidden;
}

/* Navigation */
.navbar {
    width: 100%;
    height: 80px;
    background-color: #3a5a40;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
}

.navbar::after {
    content: "";
    display: table;
    clear: both;

}

.navbar-container {
    display: flex;
    justify-content: flex-end; /* Aligne les éléments à droite */
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    margin: 0 auto; /* Centre le conteneur */
    padding-right: 20px; /* Ajoute un espace à droite */
    overflow: hidden;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-right: 20px; /* Ajoute de l'espace entre le logo et les éléments de menu */
}

.navbar-brand .logo {
    height: 20vh; /* Taille de base pour le mode normal */
    width: auto;
    max-width: 100%;
    transition: height 0.3s ease
}


.navbar-menu {
    list-style-type: none;
    display: flex;
    margin: 0 auto;
}

.navbar-menu li {
    margin-left: 20px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
}

.navbar-menu a:hover {
    color: #faedcd;
}

.navbar, .navbar-container {
    margin: 0;
    padding: 0 20px; /* Ajustez selon vos besoins */
    box-sizing: border-box;
}

/* Hamburger - Responsive */

.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 15px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* To page */
section.top-page {
    background: url("../Photo/image.webp");
    background-size: cover;
    background-position: center;
    height: 80vh;


}

/* Realisation.php */

.realisation-card {
    max-width: 700px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .realisation-card .carousel-item img {
    height: 600px; /* Augmentez cette valeur selon vos besoins */
    object-fit: cover;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  /* Styles pour le carousel */
  .carousel-control-prev,
  .carousel-control-next {
    width: 10%;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* Couleur de fond semi-transparente */
  border-radius: 50%; /* Rend les icônes circulaires */
  padding: 10px; /* Ajoute un peu d'espace autour de l'icône */
}



/* Footer */

.footer {

    width: 100%;
    padding: 20px 0;
    margin-top: auto;
    position: sticky;
    bottom: 0;
      
  }
  

.footer-page {
    background-color: #3a5a40;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 0 20px;
    text-align: left;
}

.footer-section h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul {
    font-size: 16px;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

  
/* Responsive */

@media (max-width: 1024px) {
    .navbar-brand .logo {
        height: 20vh;
    }

}

@media (max-width: 810px) {

    body {
        padding-top: 80px; /* Augmentez cette valeur si votre navbar est plus haute en mode responsive */
    }

    .big-title{
        font-size: 90px;
    }
    .navbar {
        height: 80px; /* Hauteur de la navbar en mode responsive */
    }
    
    .navbar-container {
        justify-content: space-between;
    }
            

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #3a5a40;
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu li {
        margin: 20px 0;
    }

    .navbar-brand {
        padding: 10px;
    }


    .hamburger {
        display: block;
        z-index: 1002;
    }

    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

}

    
@media (max-width: 768px) {
    .big-title {
        font-size: 80px;
    }
    .realisation-card {
        max-width: 100%;
      }
}

@media (max-width: 480px) {
    .big-title {
        font-size: 60px;
    }
}

    
