@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-color: rgba(0, 0, 0, 0.76);
    --status-bg-color: rgba(0, 0, 0, 0.726);
    --accent-color: #cc3b2e;
}

body {
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding-top: 100px;
}
*{
   box-sizing: border-box;
   font-family: "Roboto", sans-serif;
}
h1 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.restaurant_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    gap: 25px;
}
.restaurant {
    position: relative;
    width: 90vw;
    max-width: 400px;
    border-radius: 15px;
    overflow: hidden;
    color: var(--text-color);
    background: var(--bg-color); /* même couleur que le fond */
    border: 1.5px solid #232323; /* fine bordure pour démarquer */
    box-shadow: 0 4px 16px var(--shadow-color); /* ombre plus visible */
    display: flex;
    flex-direction: column;
    padding: 0;
    text-decoration: none; /* enlève tout soulignement éventuel */
}

.restaurant img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.restaurant-info {
    padding: 15px;
    background: none;
    position: static;
}

.restaurant-info h3 {
    margin: 0 0 6px 0;
    font-size: 1.2em;
}

.restaurant-info p {
    margin: 0;
    font-size: 0.98em;
    color: #e0e0e0;
}

.navbar {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 10;
}

.navbar-brand {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--text-color);
}

.navbar-balance {
    font-size: 1.1em;
    color: var(--text-color);
    padding: 7px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-balance i {
    font-size: 1.1em;
    cursor: pointer;
    transition: transform 0.2s;
}

.navbar-balance i:hover {
    transform: scale(1.2);
}

.navbar-mascot {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    height: 90px;
    z-index: 100;
    /* Optionnel : petite ombre pour la lisibilité */
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.menu-icon {
    height: 22px;
    vertical-align: middle;
    margin: 0 2px;
}

/* Responsive pour tablettes et ordinateurs */
@media (min-width: 768px) {
    .restaurant_container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 0 20px;
    }

    .restaurant {
        width: 320px;
    }

    h1 {
        font-size: 2.5em;
        margin-bottom: 40px;
    }
}

.restaurant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.restaurant-price-tag {
    background: rgba(204, 59, 46, 0.35); /* orange avec transparence */
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    border-radius: 12px;
    padding: 3px 14px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(204, 59, 46, 0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 12px;
    display: inline-block;
}

.menu-tags {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
    flex-wrap: wrap;
}

.menu-tag {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.13);
    border-radius: 12px;
    margin-right: 0;
    font-weight: 500;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: 2px;
    margin-right: 2px;
    padding: 0;
}

.menu-tag .menu-icon[alt="Plat"] {
    width: 60px;
    height: 60px;
}
.menu-tag .menu-icon[alt="Dessert"] {
    width: 40px;
    height: 40px;
}
.menu-tag .menu-icon[alt="Boisson"] {
    width: 34px;
    height: 34px;
}

.menu-plus {
    color: #fff;
    opacity: 0.7;
    font-weight: bold;
    margin: 0 4px;
    font-size: 1.1em;
    user-select: none;
    display: flex;
    align-items: center;
    height: 40px;
}