:root {

    --bg: #0f0f0f;
    --card: #161616;
    --text: #f3f3f3;
    --accent: #e63946;
    --accent-2: #ffd166;
    --radius: 16px;
    --shadow: 0 10px 24px rgba(0, 0, 0, .35);
    --container: 1140px;

}

body {

    font-family: Inter, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;

}

.container {

    width: min(100% - 32px, var(--container));
    margin-inline: auto;

}

header {

    position: sticky;
    top: 0;
    background: rgba(15, 15, 15, .7);

}

.nav {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;

}

.brand {

    display: flex;
    gap: 12px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;

}

.logo {

    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 50%;

}

nav ul {

    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;

}

nav a {

    color: var(--text);
    text-decoration: none;
    padding: 8px 12px;

}

.cta {

    background: var(--accent);
    color: white;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background .3s ease;

}

.cta:hover {

    background: #b82836;

}

.hero {

    position: relative;

}

.hero video {

    width: 100%;
    height: 60vh;
    object-fit: cover;
    z-index: 1;
    position: relative;

}

.hero video {

    position: relative;
    z-index: 1;

}

.hero .content {

    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    z-index: 3;

}

.section {

    padding: 48px 0;

}

.tabs {

    display: flex;
    gap: 8px;
    margin-bottom: 16px;

}

.tab {

    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;

}

.tab[aria-selected="true"] {

    background: var(--accent);
    
}

#carte .grid {

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    
}

.item {
    
    display: grid;
    grid-template-columns: 1fr 80px 120px; 
    /* 1fr = nom du plat prend la place dispo
       80px = prix, largeur fixe
       120px = bouton "ajouter" */
    align-items: center;
    gap: 12px;

    padding: 14px;
    border-radius: 14px;
    background: #141414;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);

}

.item .price {

    text-align: right;
    font-weight: bold;
    color: #fff;

}

.item .add-to-cart {

    display: inline-flex;           
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
    background-color: #b82836;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;

}

.item .add-to-cart:hover {

    background-color: #8f1f29;

}

.price {
    font-weight: 700;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.gallery img {
    width: 100%;
    border-radius: 12px;
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact .cta {
    display: inline-block;
    margin-top: 6px;
}

.map {
    width: 100%;
    height: 300px;
    border: 0;
}

footer {
    padding: 36px 0;
    color: #c7c7c7;
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

a.ghost {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    transition: all .3s ease;
    font-weight: 600;
}

a.ghost:hover {
    background: var(--accent);
    color: white;
}

.promo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 0;
}

.promo .card {
    background: var(--card);
    padding: 24px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 500px;
    border: 2px solid var(--accent);
}

.promo .badge {
    display: inline-block;
    background: var(--accent-2);
    color: #000;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.remove-item {

    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background .3s ease;

}

.remove-item:hover {

    background: #b82836;
    
}

.volume-control {
    position: absolute;
    bottom: 80px;
    right: 20px;
    transform: rotate(-90deg);
    width: 120px;
    accent-color: #e63946;
    z-index: 4;
}

.hero .actions {

    display: flex;
    justify-content: center;
    margin-top: 20px;

}

.hero .actions .cta {

    font-size: 1.3rem;
    padding: 15px 30px;

}

#search {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #1a1a1a;
    color: var(--text);
    font-size: 1rem;
    transition: border 0.3s ease, background 0.3s ease;
}

#search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#search:focus {
    outline: none;
    border-color: var(--accent);
    background: #222;
}

/* Message "Aucun plat trouvé" */
#no-results {
    color: var(--accent-2);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
}
