@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;
}
/* Header */
header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;

}

.logo-container {
    flex-shrink: 0;
  }
  

/* 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: 35px;
    height: 4px;
    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;


}

/* Landing page */
.landing-page {
    position: relative;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
}

.big-title {
    font-family: Montserrat, sans-serif;
    color: white;
    font-size: 90px;
    line-height: 1.2;
    width: 100%;
    max-width: 800px;
    text-align: center;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    margin-bottom: 20px;
}

.big-title-description {
    font-family: Robotto, sans-serif;
    color: white;
    font-size: 24px;
    line-height: 1.4;
    width: 100%;
    max-width: 600px;
    text-align: center;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}




/* Scroll down */
.scroll-down, .scroll-up {
    color: rgb(0, 0, 0);
    text-decoration: none; /* Supprime le soulignement */
    position: absolute;
    font-size: 20px;
    /* Autres styles existants */
}



/* Services */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px 0;
    padding: 20px;
    background-color: #faedcd;
}

.service-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.delivery-icon {
    font-size: 50px;
    color: #3a5a40;
    margin-bottom: 10px;
}

.service-details-title {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
}

.service-details {
    font-size: 16px;
    width: 100%;
    max-width: 200px;
}


/* Prestations */
.section-title {
    font-size: 47px;
    font-weight: 800;
    position: relative;
    left: 5%;
}



.card-title {
    font-size: 25px;
    font-weight: bold;
}

/* Realisation */


.btn-voir-tout  {
    background-color: #3a5a40;
    border-color: #3a5a40;
    padding: 10px 20px;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
    
}

.btn-primary:hover {
    background-color: #2d4330;
    border-color: #2d4330;
}

/* terrasses */



/* Nous contacter */
.contact-info-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.contact-info-box h3 {
    color: #3a5a40;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info-box p {
    margin-bottom: 15px;
}

.contact-info-box i {
    color: #3a5a40;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.contact-info-box a {
    color: inherit;
    text-decoration: none;
}

.contact-info-box a:hover {
    text-decoration: underline;
}

#contact {
    padding-bottom: -20px; /* Réduisez cette valeur selon vos besoins */
}


/* Maps */

iframe {
    display: block;
    width: 100%;
    border: none;
    margin-bottom: 0;
}

#map, .map-container {
    margin-bottom: 0; /* Supprime la marge en bas */
}


/* 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;
}

#terrasses {
    background-color: #f9f9f9; /* Fond léger */
    padding: 60px 0;
}

#terrasses .section-title {
    color: #3c763d; /* Couleur de titre distincte */
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
/* terrasses */
#terrasses .content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#terrasses h3, #terrasses h4 {
    color: #3c763d;
}

#terrasses p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

#terrasses ul {
    list-style-type: disc;
    padding-left: 20px;
}

#terrasses ul li {
    margin-bottom: 10px;
}
  
/* Responsive */

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

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

    .hamburger div {
        width: 35px;
        height: 4px;
        background-color: white;
        margin: 6px;
        transition: all 0.3s ease;
    }

}

@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 div {
        width: 35px;
        height: 4px;
        background-color: white;
        margin: 6px;
        transition: all 0.3s ease;
    }

    .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: 60px;
    }
    .big-title-description {
        font-size: 25px;
    }
  
  	.section-title {
    font-size: 20px;
    font-weight: 800;
    position: relative;
	}

    #contact {
        padding-bottom: 10px; /* Réduisez davantage en mode responsive */
    }

    #contact .row {
        flex-direction: column;
    }

    #contact .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .footer-page {
        margin-top: 10px; /* Réduisez davantage en mode responsive */
    }
    
    #map, .map-container {
        margin-bottom: 0;
    }

    #map {
        height: 250px; /* Réduisez la hauteur de la carte en mode responsive */
    }
}

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

    
