/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

header {
    background-color: #fff;
    padding: 5px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

header .container {
    display: flex;
    justify-content: space-between; /* Changed to space-between */
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header .logo {
    width: 80px; /* Adjust size as needed */
    height: auto;
    margin-right: 20px; /* Space between logo and title */
    margin-left: -20px; /* Shift logo to the left */
}

.title-container {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden; /* Hide overflow content */
}

.vertical-bar {
    width: 2px; /* Width of the vertical bar */
    height: 40px; /* Adjust height as needed */
    background-color: #333; /* Color of the vertical bar */
    margin-right: 20px; /* Space between the bar and the title */
    animation: fade-out-bar 1s ease-out forwards;
}

header h1 {
    margin: 0;
    font-size: 2em;
    font-weight: 300;
    color: #333;
    position: relative;
    animation: slide-in 1s ease-out forwards, fade-in 2s ease-out forwards;
    text-align: left; /* Align title to the left */
    transform: translateX(-100%); /* Start hidden to the left */
}

@keyframes slide-in {
    from {
        transform: translateX(-100%); /* Start from off the screen to the left */
    }
    to {
        transform: translateX(0); /* End at the original position */
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-out-bar {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

nav {
    margin-left: auto; /* Align navigation to the right */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #000;
}

.hero {
    background-size: cover; /* Adjust background size to cover the entire container */
    color: #fff;
    text-align: center;
    padding: 150px 20px; /* Adjust padding as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fits entirely within the container */
    z-index: -1;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.hero h2 {
    font-size: 3em;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero .button {
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 300;
    transition: background-color 0.3s, color 0.3s;
}

.hero .button:hover {
    background-color: #ddd;
    color: #000;
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.content-section h2 {
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
    font-weight: 300;
}

.content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.content-image {
    max-width: 30%;
    border-radius: 10px;
    margin-right: 20px;
}

.content .text {
    max-width: 600px;
    margin: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centre les produits horizontalement */
    gap: 20px; /* Espacement entre les produits */
}

.product {
    align-items: center; /* Centre les éléments à l'intérieur de chaque produit */
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Largeur maximale pour chaque produit */
    text-align: center; /* Centre le texte à l'intérieur de chaque produit */
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* Content Sections */
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.step {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    text-align: center;
}

.step img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.location {
    background-color: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: left;
}

/* Form Styles */
form {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-top: 10px;
    font-weight: 300;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-weight: 300;
}

form button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #555;
}

/* Social Media Links */
.social-media {
    margin-top: 20px;
}

.social-media .social-link {
    margin-right: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 300;
    transition: color 0.3s;
}

.social-media .social-link:hover {
    color: #000;
}

/* Footer */
footer {
    background-color: #fff;
    color: #333;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.process-image {
    height: 200px; /* Hauteur fixe pour toutes les images */
    width: 100%; /* Assure que l'image prend toute la largeur de son conteneur */
    object-fit: cover; /* Les images garderont leurs proportions */
}

/* Media Queries */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Reduce font size on small screens */
    }

    .content {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .content-image {
        max-width: 80%;
        margin-right: 0px;
    }

    .hero h2 {
        font-size: 2em;
        font-weight: 300;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 0.8em;
    }

    nav {
        display: none;
    }

    header .logo {
        margin-left: 5px; /* Adjust as needed */
    }
}