/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Top Bar */
.top-bar {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    text-align: right;
}

.top-bar .contact-info {
    display: inline-block;
}

.top-bar .contact-info span {
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
}

.top-bar .contact-info img {
    margin-right: 5px;
    height: 16px;
    width: 16px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 10;
}

.logo img {
    max-height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    background-color: #e74c3c;
    color: white;
}

.nav-links a img {
    margin-right: 5px;
    vertical-align: middle;
    height: 16px;
    width: 16px;
}



/* Section Intro */
.intro {
    display: flex;
    align-items: center;
    padding: 40px;
}

.intro-text {
    flex: 1;
    padding-right: 20px;
}

.intro-text h2 {
    font-size: 1.2em;
    color: #808080;
}

.intro-text h1 {
    font-size: 2.5em;
    margin: 0;
}

.intro-text p {
    color: #555;
    line-height: 1.6;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    max-width: 100%;
    height: auto;
}

/* Achievements Section */
.achievements {
    background-color: #222;
    padding: 40px 20px;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.achievement {
    flex: 1;
    padding: 20px;
    max-width: 200px;
}

.achievement img {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
}

.achievement h3 {
    font-size: 2.5em;
    margin: 0;
}

.achievement p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

/* Services Section */
.services {
    text-align: center;
    padding: 40px 20px;
}

.services h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.services p {
    font-size: 1.2em;
    color: #808080;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    background-color: white;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1 1 200px;
    max-width: 300px;
}

.service img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.service h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.service p {
    color: #555;
    line-height: 1.6;
}

.portfolio-button {
    margin-top: 40px;
}

.portfolio-button .bouton {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s;
}

.portfolio-button .bouton:hover {
    background-color: #c0392b;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.back-to-top img {
    width: 40px;
    height: 40px;
}

/* Section Address */
.address {
    background: #f9f9f9;
    padding: 40px;
    display: flex;
    justify-content: space-between;
}

.address-text {
    flex: 1;
    margin: 0 20px;
}

.address-text h2 {
    font-size: 1.8em;
}

.address-text p {
    color: #555;
    line-height: 1.6;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.back-to-top img {
    width: 40px;
    height: 40px;
}


/* Menu Burger */
.menu-burger {
    display: none;
    cursor: pointer;
}

.menu-burger img {
    width: 35px;
    height: 35px;
}

/* Logo */
.top {
    justify-content: center;
    align-items: center;
}

.logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.titre-bloc {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
}

.titre-bloc .titre {
    font-size: 2em;
    color: #333;
}

/* Main Text */

.text-bloc {
    text-align: left;
    margin-bottom: 40px;
}

.text-bloc .text {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.text-bloc .text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Sidebar */


.sidebar {
    width: 200px;
    margin-right: 20px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #e74c3c;
    color: white;
}

/* Content */
.content {
    flex: 1;
}

.content .text-bloc {
    width: 100%;
    max-width: none;
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.content .text-bloc .text {
    line-height: 1.6;
    color: #555;
}

.content .text-bloc .text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Articles Section */
#article-bloc {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 10px;
}

.article {
    text-decoration: none;
    color: #000;
    width: 200px;
    text-align: center;
}

.article .container {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.article .container img {
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.article .container:hover {
    transform: scale(1.05);
}


/* Carrousel */
.defilement {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 2%;
    z-index: 5;
}

.defilement .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.defilement .slide.active {
    opacity: 1;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: red;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 20%;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}
/* Buttons */
.bouton {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bouton:hover {
    background-color: #c1272d;
}

/* Product Details */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    flex: 1;
    max-width: 500px;
}

.image_produit {
    margin-right:20px;
    max-width: none;
    background-color: white;
    width: 300px;
    height: auto;
    border: 2px solid black;
}

.zoom-result {
    position: absolute;
    border: 1px solid #d4d4d4;
    width: 300px;
    height: 300px;
    overflow: hidden;
    display: none;
    top: 0;
    left: 310px;
}

.zoom-result img {
    position: absolute;
    width: 600px;
    height: auto;
}

.produit {
    gap:20px;
    margin: 40px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@media screen and (max-width: 900px) {
    .produit {
        flex-direction: column;
        align-items: center;
    }


    .info {
        text-align: center;
    }

    .info table {
        width: 100%;
    }
}

/* Buy Buttons inutiles pour l'instant*/
.acheter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.acheter input[type="number"] {
    width: 100px;
    margin-bottom: 20px;
}

.button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    color: black;
    text-align: center;
    width: 200px;
}

.button-acheter:first-of-type {
    background-color: #f7413e;
}

.button-acheter:last-of-type {
    background-color: #ff6464;
}

/* Cart Icon */
.achat {
    display: flex;
    align-items: center;
    position: relative;
}

.cart {
    display: flex;
    align-items: center;
    position: relative;
}

.nb-achat {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #FFD700;
    color: black;
    border-radius: 50%;
    padding: 5px 10px;
    font-size: 12px;
}

#panier {
    width: 50px;
}


/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.popup-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Panier */
.titre-bloc-panier {
    width: 100%;
    background-color: #bfbfbf;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.titre-panier {
    background-color: #e9e9e9;
    color: #95c11c;
    padding: 20px 40px;
    border-radius: 10px;
}

.panier-conteneur {
    width: 80%;
    margin: 20px 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.panier-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.panier-entete h1 {
    margin: 0;
}

.panier-entete a {
    text-decoration: none;
    color: #007bff;
}

.panier-article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f8f8;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-panier {
    width: 100px;
    margin-right
    : 20px;
}

.details-panier {
    flex: 1;
}

.details-panier h2 {
    margin: 0 0 10px 0;
}

.details-panier p {
    margin: 5px 0;
}

.actions-panier {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actions-panier button {
    background: none;
    border: none;
    color: #007bff;
    cursor: pointer;
    padding: 5px;
    text-align: left;
}

.actions-panier button:hover {
    text-decoration: underline;
}

.panier-pied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 20px;
}

.button-payer {
    padding: 15px 30px;
    background-color: #91be00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

.button-payer:hover {
    background-color: #7ea600;
}


/* Main Content */
.main-content {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.sidebar {
    width: 250px;
    margin-right: 20px;
}

.sidebar .side-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .side-links li {
    margin-bottom: 10px;
}

.sidebar .side-links a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    display: block;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar .side-links a:hover {
    background-color: #e74c3c;
    color: white;
}

.center {
    flex: 1;
    max-width: 800px;
}

.text-bloc {
    text-align: left;
    margin-bottom: 40px;
}

.text-bloc .text {
    margin: auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.text-bloc .text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Form Styles */
.connexion-form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.connexion-form label {
    margin: 10px 0 5px;
    font-weight: bold;
}

.connexion-form input {
    width: 95%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.connexion-form .buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.connexion-form .bouton {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.connexion-form .bouton:hover {
    background-color: #c0392b;
}

.connexion-form .forgot-password {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.connexion-form .forgot-password:hover {
    color: #c0392b;
}


.text-connexion {
    text-align: center;
    margin-bottom: 40px;
}

.text-connexion .text {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-top: 20px;
}

.text-connexion .text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #f8f8f8;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 20;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        padding: 20px;
        text-align: center;
        display: block;
    }

    .menu-burger{
        display: block;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.active {
        display: flex;
    }
}

/*Breadcrumb*/

.ui.breadcrumb {
    .active {
        color: #9a9a9a;
        font-weight: 400;
    }
}
.breadcrumb {
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    margin: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #6c757d; /* Couleur du séparateur pour une distinction subtile */
}

.section{
    margin-right: 5px;
    margin-left: 5px;
}


/* Boutons traduction */
.language-switcher {
    display: inline;
    align-items: center;
}

.language-switcher a {
    margin-left: 10px;
}

.language-switcher .flag {
    width: 24px;
    height: auto;
    display: inline-block;
}

div#sylius-billing-address {
    margin-right: 40px;
}
