﻿:root {
    --ft-dark: #0f172a;
    --ft-accent: #a3ff12;
    --ft-bg: #f6f7fb;
    --ft-text: #0b1220;
    --ft-muted: #64748b;
}

body {
    font-family: 'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial;
    background: var(--ft-bg);
    color: var(--ft-text);
}

/* smooth scroll */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}



/* =========================================
   HERO (Bao style)
========================================= */

/* =========================================
   HERO (Som Tam) – KOMPAKT + pekný center
========================================= */

/* HERO default: fullscreen (na začiatku stránky) */
.hero-bao {
    background: #F1EFEA;
    min-height: calc(100vh - 70px); /* 70px = navbar */
    padding: 90px 0 60px; /* menší spodok, lebo už je fullscreen */
    transition: min-height .35s ease, padding .35s ease;
}

/* Po scroll: kompaktný hero (tvoj režim s 180px) */
body.hero--compact .hero-bao {
    min-height: auto;
    padding: 90px 0 180px;
}

.hero-bao__inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* miska hore */
/* HERO miska – responsívna + hover shake */
.hero-bao__img {
    display: block;
    margin: 0 auto 22px;
    width: clamp(160px, 38vw, 380px);
    height: auto;
    filter: drop-shadow(0 18px 35px rgba(0,0,0,.20));
    transform-origin: 50% 70%;
    transition: transform .18s ease, filter .18s ease;
}

.hero-bao__img {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    pointer-events: auto;
}

    .hero-bao__img.hero-bowl {
        margin: 30px auto 22px;
    }

/* jemný “bounce” pri hover (desktop) */
@media (hover:hover) {
    .hero-bao__img:hover {
        animation: somtam-wiggle .55s ease-in-out;
        filter: drop-shadow(0 22px 45px rgba(0,0,0,.22));
    }
}

/* klik / tap animácia */
.hero-bao__img.is-wiggle{
  animation: somtam-wiggle-click .55s ease-in-out;
  filter: none;
}


/* animácia zatrasenia */
@keyframes somtam-wiggle {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    15% {
        transform: rotate(-3deg) translateY(-2px);
    }

    30% {
        transform: rotate(3deg) translateY(-2px);
    }

    45% {
        transform: rotate(-2deg) translateY(-1px);
    }

    60% {
        transform: rotate(2deg) translateY(-1px);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

@keyframes somtam-wiggle-click {
    0% {
        transform: rotate(0deg) translateY(0);
    }

    15% {
        transform: rotate(-3deg) translateY(-2px);
    }

    30% {
        transform: rotate(3deg) translateY(-2px);
    }

    45% {
        transform: rotate(-2deg) translateY(-1px);
    }

    60% {
        transform: rotate(2deg) translateY(-1px);
    }

    100% {
        transform: rotate(0deg) translateY(0);
    }
}

/* rešpektuj “reduced motion” (ak má niekto vypnuté animácie) */
@media (prefers-reduced-motion: reduce) {
    .hero-bao__img {
        transition: none;
    }

        .hero-bao__img:hover {
            animation: none;
        }
}

/* názov */
.hero-bao__title {
    font-weight: 800;
    color: #0f172a;
    font-size: clamp(40px, 5vw, 64px);
    margin: 0;
}

/* podnadpis */
.hero-bao__sub {
    margin-top: 10px;
    color: rgba(15,23,42,.70);
    letter-spacing: .10em;
    text-transform: uppercase;
    font-size: 12px;
}

/* buttons wrapper */
.hero-bao__buttons {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* jemné orámované pill tlačidlá (oba) */
.btn-hero,
.btn-hero-outline-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,.18);
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    background: rgba(255,255,255,.30);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

/* druhé tlačidlo (rezervácia) nech je trochu výraznejšie */
.btn-hero {
    background: rgba(255,255,255,.55);
}

    /* hover */
    .btn-hero:hover,
    .btn-hero-outline-dark:hover {
        background: rgba(255,255,255,.75);
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(0,0,0,.10);
    }

/* jemná deliaca čiara pod hero (voliteľné, vyzerá profi) */
.hero-bao {
    border-bottom: 1px solid rgba(15,23,42,.08);
}

/* MOBILE */
@media (max-width: 480px) {
    .hero-bao {
        padding: 78px 0 90px; /* ak chceš aby béžová ešte pokračovala */
    }

    /* ŽIADNE prepisovanie šírky misky tu! */

    .btn-hero, .btn-hero-outline-dark {
        padding: 10px 16px;
    }
}
/* =========================================
   NAVBAR – FIX (Bootstrap friendly)
========================================= */

.ft-nav {
    position: sticky;
    top: 0;
    z-index: 1050;
    min-height: 70px;
    background: #F1EFEA !important; /* rovnaká farba ako hero */

    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: background .25s ease;
}

    .ft-nav.ft-nav--solid {
        background: rgba(241,239,234,0.92) !important;
    }

    /* dôležité: udrží obsah navbaru pekne v jednej línii */
    .ft-nav .navbar > .container,
    .ft-nav .navbar > .container-fluid,
    .ft-nav .container,
    .ft-nav .container-fluid {
        display: flex;
        align-items: center;
    }

    /* brand nech sa nerozťahuje/divne neláme */
    .ft-nav .navbar-brand {
        font-weight: 800;
        color: #0f172a !important;
        margin-right: 12px;
        white-space: nowrap;
    }

    /* nav links – tvoja úprava, ale stabilnejšie */
    .ft-nav .navbar-nav {
        gap: 6px;
    }

        .ft-nav .navbar-nav .nav-link {
            color: #0f172a !important;
            font-weight: 600;
            padding: 8px 12px;
            border-radius: 12px;
            line-height: 1.2;
            white-space: nowrap; /* aby sa nerozbíjali do 2 riadkov */
            transition: background .15s ease;
        }

            .ft-nav .navbar-nav .nav-link:hover {
                background: rgba(15,23,42,.06);
            }

            .ft-nav .navbar-nav .nav-link.active {
                background: rgba(15,23,42,.10);
            }

    /* toggler (mobile) nech je pekný a viditeľný */
    .ft-nav .navbar-toggler {
        border: 1px solid rgba(15,23,42,.18);
        border-radius: 12px;
        padding: 8px 10px;
    }

/* ===== MOBILE collapse menu – najčastejšia príčina “rozbitia” ===== */
@media (max-width: 991.98px) {
    .ft-nav .navbar-collapse {
        margin-top: 10px;
        /* toto je kľúč: po otvorení menu musí mať vlastný “card” background */
        background: rgba(241,239,234,0.98);
        border: 1px solid rgba(15,23,42,.10);
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 18px 45px rgba(0,0,0,.12);
    }

    .ft-nav .navbar-nav .nav-link {
        padding: 10px 12px; /* lepší tap target */
        white-space: normal; /* na mobile môže zalomiť, ak je dlhý text */
    }
}

/* =========================================
   SEKCIE
========================================= */

.ft-section {
    padding: 80px 0;
}

.ft-section--light {
    background: #fff;
}

.ft-section--cream {
    background: #F1EFEA;
}

.ft-section--dark {
    background: #000;
    color: #fff;
}

.ft-section__head h2 {
    font-weight: 800;
}

.ft-section__head p {
    color: var(--ft-muted);
    margin-top: 10px;
}

#rezervacia p {
    color: rgba(255,255,255,.75);
}

/* =========================================
   CARDS
========================================= */

.ft-card {
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 18px;
    padding: 22px;
}

.ft-shadow {
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}



/* =========================================
   MENU TILES
========================================= */

.ft-tile {
    display: block;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .ft-tile img {
        width: 100%;
        height: 170px;
        object-fit: cover;
    }

.ft-tile__body {
    padding: 14px;
}

.ft-tile__tag {
    font-size: 12px;
    font-weight: 800;
    opacity: .75;
}

.ft-tile__title {
    font-size: 18px;
    font-weight: 800;
}

.ft-tile__muted {
    color: var(--ft-muted);
    font-size: 13px;
}

.ft-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
}



/* =========================================
   KONTAKT
========================================= */

.ft-contact > div {
    padding: 10px 0;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

.ft-map {
    height: 260px;
    border-radius: 18px;
    background: rgba(15,23,42,.06);
    border: 1px dashed rgba(15,23,42,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ft-muted);
}


/* =========================================
   BRAND (logo + name)
========================================= */

.ft-brand {
    gap: 10px;
}

.ft-logo {
    height: 32px;
    width: auto;
}

.ft-brand__name {
    font-weight: 800;
    font-size: 18px;
    color: #0f172a;
}

/* =========================================
   REVEAL ANIMÁCIA
========================================= */

.ft-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

    .ft-reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }



/* =========================================
   MOBILE
========================================= */

@media (max-width:480px) {

    .ft-section {
        padding: 56px 0;
    }
}
/* =========================================
   MENU PROMO (truck + menu list)
========================================= */

#onas .row {
    align-items: flex-start;
}

/* Menu list */
.ft-menu-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
    font-weight: 700;
}

    .ft-menu-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #0f172a;
        font-size: 16px;
    }

/* bodka */
.ft-menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(15,23,42,.25);
    flex: 0 0 10px;
}

/* truck obrázok */
.ft-menu-img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    /* mierne posunutie doľava */
    margin-left: -40px;
}

/* nadpis Menu vyššie */
#onas .ft-section__head {
    margin-top: 0;
}

#onas h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width:992px) {

    .ft-menu-img {
        margin-left: 0;
        max-height: 340px;
    }

    #onas .row {
        text-align: center;
    }

    .ft-menu-list {
        justify-content: center;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width:480px) {

    .ft-menu-img {
        max-height: 260px;
    }

    #onas h2 {
        font-size: 28px;
    }

    .ft-menu-list li {
        font-size: 15px;
    }
}