﻿/* ===== Tvoje barevná paleta pro UI ===== */
:root {
    --primary-yellow: #FFA726;
    --primary-darkblue: #0B132B;
}

/* ===== Header & Footer ===== */
.custom-header {
    background-color: var(--primary-darkblue) !important;
    padding: .5rem 1rem;
}

footer {
    background-color: var(--primary-darkblue) !important;
}

/* Logo (název) v headeru – žlutě */
.restaurant-logo {
    font-size: 1.4rem;
    text-decoration: none;
}

    .restaurant-logo span {
        color: #f9a825 !important;
        font-weight: bold;
        font-size: 1.3rem;
    }

/* Košíkový badge / hover */
.btn .badge {
    font-size: .75rem;
    padding: .4em .6em;
}

.btn-warning:hover {
    background-color: #ffb400;
    transform: scale(1.05);
    transition: all .2s ease-in-out;
}

/* Žlutá tlačítka (sjednoceně) */
.btn-warning,
.btn-order,
.btn-menu {
    background-color: var(--primary-yellow) !important;
    border-color: var(--primary-yellow) !important;
    color: #fff !important;
}

    .btn-warning:hover,
    .btn-order:hover,
    .btn-menu:hover {
        background-color: #ffb84d !important;
        border-color: #ffb84d !important;
    }

.btn-menu {
    font-size: 1.1rem;
    font-weight: bold;
    padding: .8rem 1.5rem;
}

.btn-order {
    font-weight: bold;
    padding: .4rem .8rem;
}

/* ===== MENU – layout karet (sdílené s style.css) ===== */
:root {
    --brand-primary: #1b6ec2;
    --brand-primary-dark: #174f8f;
    --brand-accent: #ffb400;
    --card-bg: #fff;
    --card-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.menu-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.meal-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
}

.meal-img {
    width: 110px;
    height: 110px;
    flex: 0 0 110px;
    border-radius: 14px;
    object-fit: cover;
    background: #f5f7fb;
}

.meal-info {
    flex: 1 1 auto;
    min-width: 0;
}

.meal-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0e2a4a;
}

.meal-desc {
    color: #6c7a89;
    font-size: .95rem;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meal-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
}

.meal-price {
    font-weight: 800;
    color: #18324f;
    font-size: 1.1rem;
}

.add-btn {
    font-weight: 700;
    border-radius: 12px;
    padding: .5rem 1rem;
}

/* ===== Bílé odkazy v headeru i footeru (přebití žlutých .text-warning apod.) ===== */
header a, header .text-warning,
footer a, footer .text-warning {
    color: #fff !important;
    text-decoration: none;
}

    header a:hover, header a:focus,
    footer a:hover, footer a:focus {
        color: #f1f1f1 !important;
        text-decoration: underline;
    }
/* jednotné náhledy jídel */
.meal-thumb {
    aspect-ratio: 4 / 3; /* drží poměr 4:3 */
    width: 100%;
    object-fit: cover; /* vyplní okénko, přebytek ořízne */
    max-height: 220px; /* nepřeroste – klidně uprav na 200–260px */
}

/* ořez dlouhých popisků na 3 řádky */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
