/* Global */

@font-face {
    font-family: "Poppins";
    src: url('/Fonts/Poppins-Regular.ttf');
}

@font-face {
    font-family: "Poppins-Bold";
    src: url('/Fonts/Poppins-Bold.ttf');
}

* {
    font-family: "Poppins";
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
    scroll-behavior: smooth;
}

.poppins-bold {
    font-family: "Poppins-Bold";
}

/* Navbar */

header {
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: #55afa6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    z-index: 999;
}

.home-padding-top {
    padding-top: 80px;
}

.hamburger {
    display: none;
}

.navbar ul {
    display: flex;
}

.navbar ul li a {
    display: block;
    font-family: "Poppins-Bold";
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 20px;
    transition: 0.3s;
    margin: 0 10px;
}

.navbar ul li a:hover {
    background-color: #4a9991;
    transform: scale(1.1);
}

@media only screen and (max-width: 1320px) {
    header {
        padding: 0 50px;
    }
}

@media only screen and (max-width: 1100px) {
    header {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 920px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger .line {
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 6px 0;
    }

    .navbar {
        height: 0px;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100vw;
        background-color: #55afa6;
        transition: 0.3s;
        overflow: hidden;
    }

    .navbar.active {
        height: 400px;
    }

    .navbar ul {
        display: block;
        width: fit-content;
        margin: 50px auto 0 auto;
        text-align: center;
        transition: 0.3s;
        opacity: 0;
    }

    .navbar.active ul{
        opacity: 1;
    }

    .navbar ul li a {
        margin-bottom: 12px;
    }
}

/* Accueil */

.home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 600px;
    background: url(/IMG/landing_page.webp) no-repeat center/cover;
}

section.home h1 {
    font-family: "Poppins-Bold";
    font-size: 48px;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 50px;
    border-radius: 20px;
}

#cta-home {
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    font-family: "Poppins-Bold";
    font-size: 24px;
    margin-top: 50px;
    background-color: #55afa6;
    padding: 15px;
    border-radius: 20px;
    transition: 0.3s;
}

#cta-home:hover {
    background-color: #4a9991;
    transform: scale(1.1);
}

@media only screen and (max-width: 932px) {
    section.home h1 {
        font-size: 32px;
        margin: 0 20px;
    }
}

/* Qualities */

#qualities {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 100px;
}

.qualities-item {
    text-align: center;
    margin: 50px 100px;
}

.qualities-item img {
    width: 150px;
}

.qualities-item h2 {
    font-family: "Poppins-Bold";
    font-size: 32px;
}

.qualities-item p {
    color: #666;
}

@media only screen and (max-width: 1200px) {
    .qualities-item {
        margin: 50px 50px;
    }
}

@media only screen and (max-width: 800px) {
    #qualities {
        flex-direction: column;
    }
}

/* About */

.heading {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 50px auto 0 auto;
}

.heading h1 {
    font-family: "Poppins-Bold";
    font-size: 50px;
    color: black;
    margin-bottom: 25px;
    position: relative;
}

.heading h1::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    display: block;
    margin: 0 auto;
    background-color: #55afa6;
}

.heading p {
    font-size: 18px;
    color: #666666;
    margin-bottom: 35px;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 10px 20px;
}

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

.about-image {
    flex: 1;
    margin-right: 40px;
    overflow: hidden;
}

.about-image img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
    display: block;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-family: "Poppins-Bold";
    font-size: 23px;
    margin-bottom: 15px;
    color: black;
}

.about-content p {
    text-align: justify;
    font-size: 18px;
    line-height: 1.5;
    color: #666;
}

.about-content .read-more {
    font-family: "Poppins-Bold";
    display: inline-block;
    padding: 10px 20px;
    background-color: #55afa6;
    color: white;
    font-size: 19px;
    border-radius: 20px;
    margin-top: 15px;
    transition: 0.3s ease;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.about-content .read-more:hover {
    background-color: #4a9991;
    transform: scale(1.1);
}

@media only screen and (max-width: 920px) {
    .heading {
        padding: 0px 20px;
    }

    .heading h1 {
        font-size: 36px;
    }

    .heading p {
        font-size: 17px;
        margin-bottom: 0px;
    }
    
    .container {
        padding: 0px;
    }

    .about {
        padding: 20px;
        flex-direction: column;
    }

    .about-image {
        margin-right: 0px;
        margin-bottom: 20px;
    }

    .about-content p {
        padding: 0px;
        font-size: 16px;
    }

    .about-content .read-more {
        font-size: 16px;
    }
}

/* Services */

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

/* Realisations */

@media only screen and (max-width: 920px) {
    #pb-0 {
        padding-bottom: 0;
    }
    
    #pt-0 {
        padding-top: 0;
    }
}

/* Contact */

.contact-box {
    position: relative;
    background-image: url('IMG/story.webp');
    background-size: cover;
    background-position: center;
    height: 800px;
}

form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    grid-column: span 1;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: black;
}
  
select {
    grid-column: span 2;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: black;
}

textarea {
    grid-column: span 2;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: black;
}
  

button[type="submit"] {
    font-family: "Poppins-Bold";
    grid-column: span 2;
    justify-self: center;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #55afa6;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

button[type="submit"]:hover {
    transform: scale(1.1);
    background-color: #4a9991;
}

@media only screen and (max-width: 768px) {
    .contact-box {
        background: white;
    }

    form {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        grid-column: span 2;
    }
}

/* Footer */

footer {
    background-color: #333;
    color: white;
    padding: 50px 0px;
    text-align: center;
    font-size: 20px;
}

.navbar-2 {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.navbar-2 li {
    margin: 0 30px;
    transition: 0.3s;
}

.navbar-2 li:hover {
    transform: scale(1.1);
}

.navbar-2 a {
    font-family: "Poppins-Bold";
    color: white;
    transition: 0.3s;
}

.navbar-2 a:hover {
    color: #55afa6;
}

footer p a {
    color: white;
    text-decoration: underline;
    transition: 0.3s;
}

footer p a:hover {
    color: #55afa6;
}

.copyright {
    margin-top: 20px;
}

@media only screen and (max-width: 768px) {
    .navbar-2 {
        display: none;
    }
}