:root {
    --primary: #0D1A12;
    --secondary: #38E078;
    --accent: #E8F2ED;
    --accentBis: #52946B;
    --background: #F7FAFA;

    --font-size: 16px;
}

html {
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: var(--font-size);
    background-color: var(--background);
    padding: 0;
    margin: 0;
    width: 100%;
}

h1, h2, h3 {
    color: var(--primary);
}

h1 {
    font-size: 28px;
    margin: 20px 20px;
}

h2 {
    font-size: 22px;
    margin: 10px 0;
}

.titreIndex {
    font-size: 22px;
    margin: 10px 20px;
}

h3 {
    font-size: 16px;
    margin: 5px 0;
}

p {
    padding: 0;
    margin: 0;
}

a, .disable:hover {
    color: var(--primary);
    text-decoration: none
}


a:hover {
    color: var(--accentBis);
}

.container {
}

#imageIndex {
    width: 100% !important;
    height: 300px;
    background-size: cover;
    background-position: center;
}

#logoIndex {
    display: none;
}

.high {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}


.high div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back, .title p {
    margin: 10px;
    width: 15%;
}

.title {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between !important;
    align-items: center;
}

.name-description {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name-description p {
    color: var(--secondary);
    font-size: 14px;
    margin: 0;
    text-align: center;
    width: 100%
}

.item-details-viewMenu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.title-menus {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    margin: 0 auto !important;
}

.help {
    color: grey;
    font-weight: inherit;
    font-size: 12px;
}

.title a {
    display: flex;
    align-items: center;
}


.indexHeader {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.indexDescription {
    text-align: center;
    font-size: var(--font-size);
    color: var(--primary);
    margin: 0;
}

.swiper {
    width: 100%;
    height: 280px;
    margin: 20px auto;
    overflow: hidden;
    background-color: var(--background);
    display: flex;
    justify-content: center;
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

.swiper-slide img {
    width: 240px;
    height: 240px;
    object-fit: cover;
}

/* Couleur du bullet actif */
.swiper-pagination-bullet-active {
    background-color: var(--secondary) !important;
    opacity: 1;
}

.btn-primary, .btn-secondary {
    height: 40px;
    width: 90%;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: var(--font-size);
    margin: 10px auto;
    padding: 0;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accentBis);
    color: var(--primary);
}

.buttons {
    margin: 20px auto;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.footer {
    margin: 40px auto;
    align-items: center;
    text-align: center;
}

.footer, .footer a, .footer p {
    color: var(--accentBis);
}

.logos {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

.logo {
    margin: 0 10px;
}

.items {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.item {
    display: flex;
    justify-content: space-between;
    width: 90%;
    align-items: center;
    margin: 10px auto;
    padding: 8px 16px 8px 16px;
}

.item-details {
    width: 20% !important;
    min-width: 250px;
}

.item-description {
    font-size: 14px;
    color: var(--secondary);
}

.item-details-viewMenu .item-name {
    font-size: 16px;
    color: var(--primary);
    width: 55%;
    text-align: left;
}

.item-details-viewMenu .item-description {
    font-size: 14px;
    color: var(--secondary);
    width: 30%;
    text-align: right;
}

.hr-horizontal {
    display: none;
}

.item-price {
    width: 15%;
    color: var(--primary);
    text-align: right;
}

.category {
    margin-top: 20px;
}

.category-name {
    width: 90%;
    padding: 8px 16px;
    margin: 0 auto;
}

.chapter {
    margin: 10px;
}

.chapterDescription {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chapterDescription p, .chapterDescription img {
    margin: 10px 0;
    text-align: justify;
}

.chapterDescription img {
    width: auto;
    max-width: 600px;
    height: 300px !important;
    object-fit: cover;
}

.contactPoint {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
}

.contactPoint h3 {
    color : var(--secondary);
    font-weight: normal !important;
}

.contentContact {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.horaires {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 60%
    }

    .footerRight, .footerLeft {
        width: 50%;
    }

    .indexHeader {
        flex-direction: row-reverse;
        max-height: 450px;
    }

    #imageIndex {
        max-width: 50%;
        height: 450px;
        margin: 0;
    }

    #logoIndex {
        display: block;
        width: 100px;
        height: 100px;
    }

    .viewMenu {
        width: 60%;
        margin: 0 auto;
    }

    .logosIndex {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;

    }

    .indexDescription {
        width: 50% !important;
        padding: 20px;
        margin: 0 auto;
        align-items: center;
    }

    .indexDescription p {
        text-align: justify;
        width: 70%;
        margin: 0 auto;
    }

    .buttons {
        width: 90%;
        justify-content: space-around;
    }

    .swiper {
        width: 80%;
        margin: 20px auto;
    }

    .hr-horizontal {
        width: 100%;
        display: flex;
        align-self: center;
        border-top: 1px dashed #ccc;
    }

    .item-price {
        width: 5%;
        color: var(--primary);
        text-align: right;
    }

    .item-name, .item-description {
        width: 100% !important;
    }

    .title-menus {
        justify-content: flex-start;
    }

    .chapterDescription {
        flex-direction: row;
        justify-content: space-around;
    }

    .chapterDescription p, .chapterDescription img {
        margin: 10px;
        width: 50%;
    }

    .contentContact {
        display : flex;
        flex-direction: column;
    }
}

@media (min-width: 1300px) {
    .swiper-wrapper a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
