﻿@import url('https://fonts.googleapis.com/css2?family=Roboto');

body {
    font-family: 'Roboto', sans-serif;
    background: white;
    margin: 0;
    padding: 0;
    height: 100vh;
    scroll-behavior: smooth; /* Pour une navigation fluide vers les sections */
}

header {
    background-color: white;
    color: white;
    padding: 25px 75px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    nav ul li a {
        text-decoration: none;
        color: black;
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 0;
        white-space: normal;
        word-break: normal;
        text-decoration: none;
        font-weight: 500;
        text-transform: uppercase;
        padding: 10px 20px;
    }

nav ul li {
    display: inline;
}

    nav ul li a:hover {
        border-bottom: 2px solid #c72525;
        color: #c72525;
    }

section {
    width: 100%;
    margin: 0 auto; /* Centre la section sur la page */
}

.logo { 
    width: 200px;
    height:auto;
}

.logo img {
    width: 100%;
    height: auto;
}

/* Home */

#home {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0px;
    height: 600px;
    overflow: hidden;
}

#home img {
    width: 100%;
    height: 600px;
    margin: 0px;
    object-fit: cover;
}

#home .continuous-slide-track{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#home .slide {
    width: 100%;
}


p.intro {
    width:50%;
    text-align:center;
    font-size: 24px;
    color:white;
    background: #252525a6;
    border-radius: 4px;
    padding: 15px 20px;
    position:absolute;
}

#solutions {
    width: 100%;
    box-sizing: border-box;
}

#solutions .title {
    font-size: 32px;
}

#solutions .category {
    display: flex;
    flex-direction: row;
}

#solutions .header {
    height: 300px;
}

#solutions .header img {
    height: 100%;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
}

#solutions .category img {
    width: 100%
}

#solutions .category-1 {
    margin-right: 4px;
}

#solutions .category-2 {
    margin-left: 4px;
}

#solutions .category button {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0 0 4px 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #c72525;
    box-sizing: border-box;
    text-align: center;
    padding-left: 8px;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.1);
}

#solutions .category .box img {
    border-radius: 4px 4px 0 0;
}

#solutions .box {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
}

#solutions .box .content {
    padding: 0 20px 20px 20px;
    text-align: center;
    height: 180px;
}

/* Products */

#products {
    width:100%;
    box-sizing:border-box;
}

h3 {
    color: #c72525;
}

.dl-sheet {
    width:100%;
}

/* Product box */

.product-box {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.product-box .header {
    display: flex;
    flex-direction: row;
    background: linear-gradient(90deg, rgba(1,1,1,1) 0%, rgba(36,36,36,1) 35%, rgba(109,108,108,1) 100%);
    box-sizing: border-box;
    height: 250px;
    justify-content: space-between;
}

.product-box .header button {
    padding: 15px;
    background-color: #c72525;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 50px;
    box-sizing: border-box;
}

.product-box .header .left {
    display: flex;
    flex-direction: column;
    height: 100%;
    width:50%;
    padding: 50px 25px;
    box-sizing: border-box;
}

.product-box .header .right {
    height: 100%;
    width:50%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box;
}

    .product-box .header .right img {
        height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.product-box .header h2 {
    color: #fff;
    font-size:12px;
    margin:0;
}

.product-box .header h3 {
    color: #c72525;
    padding: 0;
    margin: 0;
    font-size: 24px;
}

.product-box .content {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.product-box .content button {
    padding: 15px;
    background-color: #f9f9f9;
    color: #252525;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 25px;
    box-sizing: border-box;
}

.product-box .content .description {
    text-align:justify;
    font-size:14px;
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .banner .content {
        padding: 30px;
        margin:20px;
        text-align: center;
        background: #0000009b;
        color:white;
    }


#blister-pack .banner {
    height: 400px;
    background-image: url('img/DSC05310.jpg');
    background-size: cover;
    background-position: center center;
}

#pouch-pack .banner {
    height: 400px;
    background-image: url('img/pouch packing solution.jpg');
    background-position:center 1090px;
    background-size: cover;

}

/* Sign in */
.box-connexion {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background: #f9f9f9;
    align-items: center;
    padding: 20px;
}

.container-connexion {
    display:flex;
    flex-direction:column;
    width: 350px;
}

.form-group.login input, .form-group.password input {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: white;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

.container-connexion button {
    width: 100%;
    padding: 15px;
    background-color: #3085b8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

    .form-group button:hover {
        background-color: #037047;
    }

/* Contact us */

span {
    color: #c72525;
}

.inline-content {
    display:flex;
    flex-direction: row;
    width: 100%;
}

.contact-form {
    width: 80%;
}

#contact-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    height: calc(100% - 300px);
}

.contact-form input {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #f9f9f9;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: left;
    text-transform: uppercase;
    padding-left: 8px;
    color: #000;
}

.name {
    width:50%;
    margin-right: 4px !important;
}

.email {
    width:50%;
    margin-left:4px !important;
}

.contact-form textarea {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #f9f9f9;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 8px;
    text-transform: uppercase;
    color: #000;
}

.contact-form select {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #f9f9f9;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 8px;
    text-transform: uppercase;
    color: #000;
}

.contact-form button {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 4px;
    padding-top: 15px;
    padding-bottom: 15px;
    background: #c72525;
    box-sizing: border-box;
    margin-bottom: 20px;
    text-align: center;
    padding-left: 8px;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
}


/* Partners */
#partners {
    text-align: center;
}

#partners .content {
    display: flex;
    flex-direction: row;
}

/* Responsive */

@media (max-width: 992px) {

    .product-box .header .left {
        padding: 30px 25px;
    }	

    .slider {
        overflow: hidden;
        width: 100%;
        margin: 0;
    }

    .slide-track {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .slide {
        flex: 0 0 100%;
    }

    #solutions .category-1 {
        margin-right:0;
    }

    #solutions .category-2 {
        margin-left:0;
    }

    #solutions .title {
        text-align:center;
    }

    .contact-form {
        width: 80%;
    }

    #products .inline-content {
        flex-direction: column;
    }

    /*TODO MARGE*/

    .inline-content {
        margin: 0;
    }

        .inline-content * {
            margin: 0;
        }

    nav {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 20px;
    }

    header {
        padding: 25px;
    }

    #products .header.section-1, #products .header.section-2 {
        font-size: 70%;
    }

    #products .inline-content {
        padding: 10px;
        box-sizing: border-box;
    }

    #products h2 {
        text-align: center;
    }

    #products .content {
        flex-direction: column;
    }

    #products h3 {
        margin-top: 10px;
        margin-bottom: 5px;
    }

    #contact-us p {
        width: 80%;
    }

    .product-box {
        margin-bottom: 8px;
    }

    .product-box .right-box {
        padding: 40px 25px;
    }

}

.menu-toggle {
    cursor: pointer;
    display: none;
}

@media screen and (max-width: 992px) {
    .menu-toggle {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }

        .nav-list.show {
            display: flex;
        }

        .nav-list li {
            margin: 0;
            text-align: center;
            padding: 10px;
        }

    #partners .content {
        overflow: unset;
        justify-content: flex-start;
    }

    .cols-mobile.inline-content {
        flex-direction: column;
        margin-top:20px;
        margin-bottom:20px;
    }
}

/* Container */

@media (min-width: 1200px) {
    body .container {
        padding-left: 90px;
        padding-right: 90px;
        max-width: 1440px;
    }

    #partners .content {
        overflow-x: hidden !important;
        justify-content: center;
    }
}

@media (min-width: 992px) {
    body .container {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 1200px;
    }

    #partners .content {
        overflow-x: scroll;
        align-items: center;
    }

    #solutions .category-1 {
        margin-right: 4px;
    }

    #solutions .category-2 {
        margin-left: 4px;
    }

}

@media (min-width: 768px) {

    .container {
        max-width: 1024px;
    }
    
}

@media (min-width: 480px) {
    .container {
        max-width: 768px;
    }
}

    


@media (max-width: 768px) {
    p.intro {
        font-size: 80%;
        width: 80%;
    }
}

.container {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}

/* Footer */

.footer {
    margin-top: 50px;
    position: relative;
    width: 100%;
    background: #c72525;
    min-height: 100px;
    padding: 20px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.social-icon,
.menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
    padding:0;
}

.social-icon__item,
.menu__item {
    list-style: none;
}

.social-icon__link {
    font-size: 2rem;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

    .social-icon__link:hover {
        transform: translateY(-10px);
    }

.menu__link {
    font-size: 15px;
    text-transform:uppercase;
    color: #fff;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;
}

    .menu__link:hover {
        opacity: 1;
    }

.footer p {
    color: #fff;
    margin: 15px 0 10px 0;
    font-size: 1rem;
    font-weight: 300;
}

* {
    box-sizing:border-box;
}