@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Titre font */
.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
  }

.josefin-sans {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 100;
  }

.abel-regular {
    font-family: "Abel", sans-serif;
    font-weight: 400;
  }
  
.lato-thin {
    font-family: "Lato", serif;
    font-weight: 100;
    font-style: normal;
  }

/* Style de base du body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #292626;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    font-family: "Lato", serif;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #002b5b;
    padding: 15px 30px;
    z-index: 1000;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Menu burger */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #c72424;
}

/* Header */
.header {
    height: 60vh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)), url(../images/header.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    flex-direction: column;
    padding: 20px;
}

.company-name {
    font-family: "Kanit", sans-serif;
    font-size: 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.header-content p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 1.2rem;
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background: #ff6347;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 10px;
}

.btn:hover {
    background: #e5533d;
}

/* Services */
.services {
    font-family: "Abel", sans-serif;
    font-size: 2.5rem;
    background-color: #292626;
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.services h2 {
    font-family: "Kanit", sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
}

.service-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    text-align: center;
    width: 280px;
}

.service img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.service h3 {
    color: #000;
    font-size: 1.5rem;
}

.service p {
    font-size: 1.2rem;
    color: #333;
}

/* Footer */
.footer {
    width: 100%;
    background: #002b5b;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-family: "Abel", sans-serif;
    font-size: 1.5rem;
}

/* RESPONSIVE */

/* Large écrans */
@media (max-width: 1200px) {
    .service-container {
        gap: 20px;
    }

    .service {
        width: 250px;
    }
}

/* Tablettes et petits écrans */
@media (max-width: 992px) {
    .navbar {
        padding: 15px;
    }

    .company-name {
        font-size: 2rem;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    /* Menu burger */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        border-radius: 8px;
        width: 150px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    /* Header */
    .header {
        height: 50vh;
        padding: 10px;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    /* Services */
    .services {
        font-size: 1.8rem;
    }

    .service-container {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 90%;
    }

    /* Footer */
    .footer {
        font-size: 1rem;
        padding: 10px;
    }
}
