﻿/* ===== Brand proměnné (globální) ===== */
:root {
    --primary: #FEA116;
    --light: #F1F8FF;
    --dark: #0F172B;
}

/* drobné utility */
.ff-secondary {
    font-family: 'Pacifico', cursive;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

/* ===== Spinner ===== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

    #spinner.show {
        visibility: visible;
        opacity: 1;
        transition: opacity .5s ease-out, visibility 0s linear 0s;
    }

/* ===== Tlačítka (základní doladění) ===== */
.btn {
    font-family: 'Nunito',sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: .3s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* ===== NAVBAR (tmavá) ===== */
.navbar-dark .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    color: var(--light) !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .3s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-dark .navbar-brand img {
    max-height: 60px;
    transition: .3s;
}

.sticky-top.navbar-dark .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
    }

    .navbar-dark .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    .navbar-dark .navbar-nav .nav-link,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
    }

    .navbar-dark .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
        background: transparent !important;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: var(--dark) !important;
    }
}

/* ===== HERO ===== */
.hero-header {
    background: linear-gradient(rgba(15,23,43,.9), rgba(15,23,43,.9)), url(../img/bgfoto.jpg) center/cover no-repeat;
}

    .hero-header img {
        animation: logoPop 2s ease-in-out both;
    }

@keyframes logoPop {
    0% {
        transform: scale(1) rotate(0);
    }

    30% {
        transform: scale(1.1) rotate(5deg);
    }

    70% {
        transform: scale(.95) rotate(-3deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

/* ===== Section title (linky vlevo/vpravo) ===== */
.section-title {
    position: relative;
    display: inline-block;
}

    .section-title::before,
    .section-title::after {
        position: absolute;
        content: "";
        width: 45px;
        height: 2px;
        top: 50%;
        margin-top: -1px;
        background: var(--primary);
    }

    .section-title::before {
        left: -55px;
    }

    .section-title::after {
        right: -55px;
    }

    .section-title.text-start::before,
    .section-title.text-end::after {
        display: none;
    }

/* ===== Service cards ===== */
.service-item {
    box-shadow: 0 0 45px rgba(0,0,0,.08);
    transition: .3s;
}

    .service-item:hover {
        background: var(--primary);
    }

    .service-item * {
        transition: .3s;
    }

    .service-item:hover * {
        color: var(--light) !important;
    }

/* ===== Footer ===== */
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFF;
    border-radius: 35px;
    transition: .3s;
}

    .footer .btn.btn-social:hover {
        color: var(--primary);
    }

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

    .footer .btn.btn-link::before {
        position: relative;
        content: "\f105";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        margin-right: 10px;
    }

    .footer .btn.btn-link:hover {
        letter-spacing: 1px;
        box-shadow: none;
    }

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255,255,255,.1);
}

    .footer .copyright a {
        color: #FFF;
    }

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255,255,255,.1);
}

    .footer .footer-menu a:last-child {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
    }

/* ===== MENU / Karty jídel – neutrální vzhled (sdílené) ===== */
: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;
}

.category-title {
    margin: 2rem 0 1rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0e2a4a;
    display: inline-block;
}

    .category-title::after {
        content: "";
        display: block;
        height: 4px;
        width: 56px;
        margin-top: .35rem;
        background: linear-gradient(90deg,var(--brand-primary),var(--brand-accent));
        border-radius: 4px;
    }

.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;
}

/* (kvůli předchozím chybám ponecháno jen validní CSS; žádné „ali …“ ani osamocené tečky) */
/* 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;
}
