:root{
	--primaryColor: rgb(210, 143, 17);
}

/* NAVBAR */
.navbar{
    height: 190px;
    width: 100%;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(254, 254, 254);
    position: sticky;
    top: 0;
    z-index: 100;
    box-sizing: border-box;
    border-bottom: 3px solid var(--primaryColor);
    box-shadow: 0 2px 15px black 0.8;
}

.logo img{
    width: 170px;
    height: auto;
    display: block;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a{
    position: relative;
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;

    transition: 0.3s;
}
.nav-links a:hover{
    color: var(--primaryColor);
}
.nav-links a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    top: 50px;
    width: 0;
    height: 2px;
    background-color: var(--primaryColor);
    transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after{
    width: 100%;
}
.nav-links a.active{
    background-color: var(--primaryColor);
    color: white;
    border-radius: 10px;
    padding: 10px 20px;
}

.phone{
    padding: 14px 20px;
    background-color: var(--primaryColor);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;

    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    transition: 0.3s;
}
.phone:hover{
    background-color: #a87912;
    transform: translateY(-3px);
}
#toggle-btn{
	display: none;
	cursor: pointer;
    position: absolute;
    top: 230px;
    right: 20px;
    color: white;
    z-index: 3;
}

/* CARROUSEL */
.carrousel{
	position: relative;
	overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.carrousel .images{
	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	height: 600px;
	transition: transform 0.7s ease-in-out;	
}
.slide-item{
    width: 100%;
	object-fit: cover;
	flex-shrink: 0;
}
.carrousel::after{
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgb(0, 0, 0, 0.75);
}

.fleches{
	position: absolute;
	width: 100%;
	padding-left: 10px;
	top: 300px;
	color: var(--primaryColor);
	cursor: pointer;
    z-index: 3;
}

#droite{	
	float: right;
	padding-right: 20px;	
}

.hero-content{
    z-index: 2;
    position: absolute;
    inset: 0;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: auto;
    padding: 0 8%;
    color: white;
}

.hero-subtitle{
    color: var(--primaryColor);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero-content h1{
    font-size: clamp(130px, 9vw, 105px);
    line-height: 1;
    margin: 20px 0;
}

.hero-content h1 span{
    color: var(--primaryColor);
}

.hero-content p{
    text-align: center;
    max-width: 500px;
    font-size: 20px;
    line-height: 1.7;
    color: #eeeeee;
}

.hero-buttons{
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.btn1, .btn2{
    padding: 14px 24px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn1{
    background-color: var(--primaryColor);
    color: white;
}
.btn1:hover{
    background: linear-gradient(125deg, var(--primaryColor),var(--primaryColor),rgb(233, 233, 0),var(--primaryColor), var(--primaryColor));
    color: rgb(158, 107, 13);
}
.btn2{
    border: 1px solid white;
    color: white;
}
.btn2:hover{
    background-color: white;
    color: black;
}

.navbar-list{
    height: 190px;
    width: 100%;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 2px 15px black 0.8;
}

.navbar-list .nav-links{

    gap: 90px;
}

footer{
    width: 100%;
    margin-top: 100px;
    padding: 35px 20px;
    background-color: #25231F;
    border-top: 4px solid var(--primaryColor);
    text-align: center;
    box-sizing: border-box;
}

footer p{
    margin: 0;
    color: #d8d4cc;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    letter-spacing: 0.4px;
}

footer p span{
    color: var(--primaryColor);
    font-weight: bold;
}

.corps{
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.food-slider{
    width: 100%;
    overflow: hidden;
}
.food-track{
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}
.food-category{
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.food{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.food .card{
    position: relative;
    padding: 29px 30px 30px;
    min-height: 170px;
    background-color: #faf9f6;
    border: 1px solid var(--primaryColor);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.food .card::before{
    content: "";
    position: absolute;
    top: 12px;
    right: 22px;
    font-family: 'poppins';
    font-size: 55px;
    line-height: 1;
    color: #d8c28b;
    opacity: 1;
}
.food .card:hover{
    transform: translateY(-6px);
    border-color: #d8c28b;
    box-shadow: 0 12px 30px rgb(0, 0, 0, 0.7);
}
.food .name{
    margin: 0 0 15px;
    color: #29261f;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 30px;
    text-align: center;
}
.food .card p{
    margin: 0;
    text-align: center;
    color: #68645c;
    font-size: 20px;
}
.food .card::after{
    content: "\f005 \f005 \f005 \f005 \f005";
    display: block;
    margin-top: 20px;
    font-family: "font awesome 6 free";
    font-weight: bold;
    color: gold;
    letter-spacing: 3px;
}

.food .card img{
    object-fit: cover;
    width: 100%;
    height: 300px;
    border: 1px solid var(--primaryColor);
    transition: transform 0.8s ease;
}
.food .card img:hover{
    transform: scale(1.2);
}

.food .card .cadre-img{
    overflow: hidden;
    box-sizing: border-box;
}

.food .card .prix{
    position: absolute;
    bottom: 0;
    right: 19px;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 10px;
    font-size: 25px;
    background-color: var(--primaryColor);
}

.contenu button{
    display: block;
    margin: 45px auto 0;
    padding: 13px 25px;
    border: 1px solid var(--primaryColor );
    border-radius: 4px;
    background-color: transparent;
    color: #9a7731;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.contenu button:hover{
    background-color: var(--primaryColor);
    color: white;
    transform: translateY(-3px);
}
.contenu a{
    text-decoration: none;
}

/* RESPONSIVE */
@media screen and (max-width:1320px){
    #toggle-btn{
        display: block;
        z-index: 1000;
    }

    .phone{
        padding: 10px 5px;
        font-size: 12px;
    }
    .phone i{
        font-size: 13px;
    }
    .navbar .nav-links{
        opacity: 0;
        flex-direction: column;
        width: 150px;
        max-height: 450px;
        padding: 0;
        position: absolute;
        top: 190px;
        right: 15px;

        border-radius: 10px;
        border: 1px solid rgb(255, 255, 255, 0.7);
        background-color: rgb(255, 255, 255, 0.60);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.50);

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 100;
        transition: opacity 0.5s ease;
    }
    .logo img{
        width: 90px;
    }

    nav ul li{
        width: 100%;
        padding-top: 10px;
    }

    .nav-links a{
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        transition: all 0.25s ease;
    }
    .nav-links a:hover{
        color: white;
        background-color: rgba(0, 1, 0, 0.10);
        transform: translateY(-4px);
    }
    .nav-links a.active{
        color: white;
        background-color: #c9a24d;
    }

    .un, .deux{
        grid-column: span 2;
    }

    .food{
        grid-template-columns: 1fr;
    }

}

@media screen and (min-width: 1321px) {
    nav ul{
        opacity: 1 !important;
    }
}

@media screen and (max-width:580px) {
    .card{
        grid-column: span 3;
    }
}


/* =========================================================
   RESPONSIVE - BOISSONS
   ========================================================= */


/* --------------------------------
   TABLETTES ET PETITS PC
   -------------------------------- */

@media screen and (max-width: 1320px) {

    /* NAVBAR PRINCIPALE */

    .navbar {
        height: 100px;
        padding: 0 5%;
    }

    #toggle-btn {
        display: block;
        position: absolute;
        top: 32px;
        right: 25px;
        z-index: 1000;
        color: black;
    }

    .navbar .nav-links {
        top: 100px;
        right: 15px;

        width: 180px;
        max-width: calc(100vw - 30px);

        opacity: 0;
        pointer-events: none;
        z-index: -1;

        padding: 10px 0;
        box-sizing: border-box;
    }

    .logo img {
        width: 100px;
    }

    .phone {
        margin-right: 55px;
        padding: 10px 5px;
        font-size: 12px;
    }

    .phone i {
        font-size: 13px;
    }


    /* HERO */

    .carrousel .images {
        height: 550px;
    }

    .hero-content {
        padding: 0 7%;
    }

    .hero-content h1 {
        font-size: clamp(70px, 9vw, 105px);
    }

    .hero-content p {
        max-width: 450px;
        font-size: 18px;
    }


    /* MENU DES CATEGORIES */

    .navbar-list {
        height: auto;
        min-height: 120px;
        padding: 25px 5%;
    }

    .navbar-list .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px 45px;
    }

    .navbar-list .nav-links a {
        font-size: 17px;
    }


    /* CONTENU */

    .corps {
        width: 100%;
        padding: 0 25px;
        box-sizing: border-box;
    }


    /* CARTES */

    .food {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .food .card {
        min-width: 0;
        box-sizing: border-box;
        padding: 25px 20px 30px;
    }

    .food .name {
        font-size: 26px;
    }

    .food .card p {
        font-size: 17px;
        line-height: 1.6;
    }

    .food .card img {
        height: 270px;
    }

    .food .card .prix {
        font-size: 21px;
        right: 15px;
    }
}


/* --------------------------------
   TABLETTES
   -------------------------------- */

@media screen and (max-width: 900px) {

    /* NAVBAR */

    .phone span {
        display: none;
    }

    .phone {
        padding: 10px 13px;
        margin-right: 55px;
    }

    .phone i {
        font-size: 16px;
    }


    /* HERO */

    .carrousel .images {
        height: 500px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        padding: 0 6%;
    }

    .hero-content h1 {
        font-size: clamp(60px, 10vw, 85px);
    }

    .hero-content p {
        text-align: center;
        font-size: 17px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }


    /* CATEGORIES */

    .navbar-list {
        min-height: auto;
        padding: 25px 20px;
    }

    .navbar-list .nav-links {
        gap: 15px 30px;
    }

    .navbar-list .nav-links a {
        font-size: 15px;
    }


    /* CARTES */

    .food {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .food .card {
        padding: 20px 15px 30px;
    }

    .food .card img {
        height: 240px;
    }

    .food .name {
        font-size: 23px;
    }

    .food .card p {
        font-size: 15px;
    }

    .food .card .prix {
        font-size: 19px;
        padding: 8px;
    }
}


/* --------------------------------
   TELEPHONES
   -------------------------------- */

@media screen and (max-width: 600px) {

    /* NAVBAR */

    .navbar {
        height: 85px;
        padding: 0 20px;
    }

    .logo img {
        width: 80px;
    }

    #toggle-btn {
        top: 27px;
        right: 20px;
    }

    .navbar .nav-links {
        top: 85px;
        right: 10px;

        width: 180px;
        max-width: calc(100vw - 20px);

        padding: 8px 0;
    }

    nav ul li {
        width: 100%;
        padding-top: 5px;
    }

    .navbar .nav-links a {
        font-size: 14px;
        padding: 10px;
    }

    .phone {
        display: none;
    }


    /* HERO */

    .carrousel .images {
        height: 480px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: clamp(45px, 14vw, 70px);
        line-height: 1;
        margin: 15px 0;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 320px;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn1,
    .btn2 {
        width: 80%;
        max-width: 250px;
        box-sizing: border-box;
        text-align: center;
    }

    .fleches {
        top: 50%;
        transform: translateY(-50%);
    }


    /* NAVIGATION DES CATEGORIES */

    .navbar-list {
        width: 100%;
        padding: 20px 15px;
        min-height: auto;
        box-sizing: border-box;
    }

    .navbar-list .nav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar-list .nav-links li {
        width: auto;
        padding: 0;
    }

    .navbar-list .nav-links a {
        display: block;
        padding: 9px 12px;
        font-size: 13px;
        text-align: center;
    }


    /* CONTENU */

    .corps {
        width: 100%;
        margin: 50px auto;
        padding: 0 15px;
    }


    /* CARTES */

    .food {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .food .card {
        width: 100%;
        min-width: 0;
        padding: 20px 15px 35px;
    }

    .food .card img {
        width: 100%;
        height: 260px;
    }

    .food .name {
        font-size: 23px;
        line-height: 1.2;
    }

    .food .card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .food .card .prix {
        right: 12px;
        font-size: 18px;
        padding: 8px;
    }


    /* BOUTON COMMANDE */

    .contenu button {
        max-width: 90%;
        padding: 12px 20px;
    }


    /* FOOTER */

    footer {
        margin-top: 60px;
        padding: 30px 15px;
    }

    footer p {
        font-size: 13px;
    }
}


/* --------------------------------
   TRES PETITS TELEPHONES
   -------------------------------- */

@media screen and (max-width: 380px) {

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn1,
    .btn2 {
        width: 90%;
    }

    .navbar-list .nav-links {
        gap: 8px;
    }

    .navbar-list .nav-links a {
        padding: 8px 9px;
        font-size: 12px;
    }

    .food .card img {
        height: 230px;
    }

    .food .name {
        font-size: 21px;
    }

    .food .card p {
        font-size: 14px;
    }

}