/* =========================================================
   Táta u grilu — styles
   Sticker / cartoon estetika přesně podle loga:
   černé obrysy, syté barvy, dřevěný banner, sluneční scéna.
   ========================================================= */

:root {
    /* Logo paleta - extrahováno přímo z loga */
    --c-sky: #7BC6E8;
    --c-sky-2: #5DAEDB;
    --c-sky-3: #4090BE;
    --c-sun: #FFC629;
    --c-sun-2: #F5A800;
    --c-cream: #FFF6E3;
    --c-cream-2: #FFEAC4;
    --c-ink: #0F0E0D;
    --c-ink-soft: #2A2622;
    --c-muted: #6E625A;
    --c-red: #C83B1A;
    --c-red-dark: #9C2A10;
    --c-shirt: #B53A1F;
    --c-green: #2E6B2B;
    --c-green-2: #3F8A3B;
    --c-wood: #6B4423;
    --c-wood-dark: #4A2E16;
    --c-wood-light: #8B5E33;

    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-pop: 0 6px 0 var(--c-ink);
    --shadow-pop-sm: 0 4px 0 var(--c-ink);
    --shadow-soft: 0 12px 30px rgba(15, 14, 13, 0.18);
    --shadow-deep: 0 18px 50px rgba(15, 14, 13, 0.35);

    --border: 3px solid var(--c-ink);
    --border-thick: 4px solid var(--c-ink);

    --font-display: "Baloo 2", system-ui, sans-serif;
    --font-body: "Nunito", system-ui, sans-serif;

    --container: 1160px;
    --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
    color: var(--c-ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 0.25em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.accent { color: var(--c-red); }

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius-pill);
    border: var(--border-thick);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.95rem;
}
.btn-primary {
    background: var(--c-red);
    color: #fff;
    box-shadow: var(--shadow-pop-sm);
}
.btn-primary:hover {
    background: var(--c-red-dark);
    transform: translate(-2px, -2px);
    box-shadow: 0 6px 0 var(--c-ink), 4px 4px 0 var(--c-ink);
    text-decoration: none;
}
.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 0 1px 0 var(--c-ink);
}
.btn-ghost {
    background: var(--c-sun);
    color: var(--c-ink);
    box-shadow: var(--shadow-pop-sm);
}
.btn-ghost:hover {
    background: var(--c-sun-2);
    transform: translate(-2px, -2px);
    box-shadow: 0 6px 0 var(--c-ink), 4px 4px 0 var(--c-ink);
    text-decoration: none;
}
.btn-block { width: 100%; }

/* ===== Header ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-cream);
    border-bottom: var(--border);
    height: var(--header-h);
    display: flex;
    align-items: center;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
}
.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--c-ink);
    background: var(--c-sky);
}
.brand-text em {
    font-style: normal;
    color: var(--c-sun-2);
    font-weight: 700;
}
.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: background .15s ease;
    font-size: 0.98rem;
}
.primary-nav a:hover { background: var(--c-sun); text-decoration: none; }
.primary-nav .nav-cta {
    background: var(--c-red);
    color: #fff;
    border: 3px solid var(--c-ink);
    margin-left: 10px;
    padding: 8px 20px;
    box-shadow: 0 3px 0 var(--c-ink);
}
.primary-nav .nav-cta:hover {
    background: var(--c-red-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 var(--c-ink);
}
.nav-toggle {
    display: none;
    background: transparent;
    border: 3px solid var(--c-ink);
    border-radius: 10px;
    width: 46px;
    height: 46px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle span {
    display: block;
    height: 3px;
    background: var(--c-ink);
    border-radius: 3px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero — sky scene matching logo interior ===== */

.hero {
    position: relative;
    background:
        linear-gradient(180deg, #8FD2EE 0%, var(--c-sky) 45%, var(--c-sky-2) 100%);
    color: var(--c-ink);
    padding: 70px 0 160px;
    overflow: hidden;
    border-bottom: var(--border-thick);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-clouds {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
}

.hero-sun {
    position: absolute;
    top: 8%;
    left: 5%;
    width: 130px;
    height: 130px;
    filter: drop-shadow(0 4px 0 var(--c-ink));
    animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-sun { animation: none; } }

/* Bushes/foliage at sides of hero matching logo's green bushes */
.hero-bushes-left, .hero-bushes-right {
    position: absolute;
    bottom: 50px;
    width: 240px;
    height: 220px;
    pointer-events: none;
    filter: drop-shadow(0 4px 0 rgba(0,0,0,0.15));
}
.hero-bushes-left { left: -40px; }
.hero-bushes-right { right: -40px; transform: scaleX(-1); }

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 50px;
    align-items: center;
    z-index: 1;
}
.hero-text { max-width: 620px; }

.eyebrow {
    display: inline-block;
    background: var(--c-ink);
    color: var(--c-cream);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
    letter-spacing: 0.04em;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--c-ink);
    text-shadow: 0 2px 0 rgba(255,255,255,0.4);
}
.hero h1 .accent {
    background: var(--c-sun);
    padding: 2px 12px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(-1deg);
    color: var(--c-ink);
    border: 3px solid var(--c-ink);
    box-shadow: 0 3px 0 var(--c-ink);
}

.lead {
    font-size: 1.18rem;
    line-height: 1.55;
    max-width: 540px;
    margin-bottom: 30px;
    color: var(--c-ink);
    font-weight: 500;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo {
    width: 100%;
    max-width: 460px;
    height: auto;
    filter: drop-shadow(0 16px 0 rgba(0,0,0,0.15)) drop-shadow(0 20px 40px rgba(0,0,0,0.25));
    animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

.logo-fallback { display: none; width: 100%; max-width: 380px; }
.hero-illustration.logo-missing .logo-fallback { display: block; }
.hero-illustration.logo-missing .hero-logo { display: none; }

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    pointer-events: none;
    line-height: 0;
    z-index: 1;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* ===== Section base ===== */

.section { padding: 100px 0; position: relative; }

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: var(--c-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 3px solid var(--c-ink);
    box-shadow: var(--shadow-pop-sm);
    margin-bottom: 14px;
    transform: rotate(-1deg);
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 70px;
}
.section-sub {
    color: var(--c-ink-soft);
    font-size: 1.1rem;
    margin-top: 10px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* ===== About ===== */

.section-about { background: var(--c-cream); }

.check-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}
.check-list li {
    position: relative;
    padding-left: 36px;
    font-weight: 700;
    color: var(--c-ink);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 24px;
    height: 24px;
    background: var(--c-sun);
    border: 3px solid var(--c-ink);
    border-radius: 50%;
    box-shadow: 0 2px 0 var(--c-ink);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 9px;
    width: 11px;
    height: 6px;
    border-left: 3px solid var(--c-ink);
    border-bottom: 3px solid var(--c-ink);
    transform: rotate(-45deg);
}

/* Sticker card for the illustration column */
.col-illustration { display: flex; justify-content: center; }
.illu-card {
    background: var(--c-sun);
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 8px 0 var(--c-ink), 0 14px 30px rgba(0,0,0,0.15);
    max-width: 400px;
    width: 100%;
    transform: rotate(-3deg);
    transition: transform .3s ease;
}
.illu-card:hover { transform: rotate(0deg) scale(1.02); }
.illu-card svg { width: 100%; height: auto; }

.illu-photo-card { padding: 14px; background: #fff; }
.illu-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 3px solid var(--c-ink);
    border-radius: 12px;
    display: block;
}

/* ===== How / Možnosti — black background like logo canvas ===== */

.section-how {
    background: var(--c-ink);
    color: var(--c-cream);
    position: relative;
    border-top: var(--border-thick);
    border-bottom: var(--border-thick);
}
.section-how::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 198, 41, 0.08) 0, transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(200, 59, 26, 0.1) 0, transparent 35%);
    pointer-events: none;
}
.section-how h2 { color: var(--c-cream); }
.section-how h2 .accent {
    color: var(--c-sun);
}
.section-how .section-eyebrow {
    background: var(--c-sun);
    color: var(--c-ink);
    border-color: var(--c-cream);
}

.cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    background: var(--c-cream);
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-pop);
    transition: transform .2s ease, box-shadow .2s ease;
    color: var(--c-ink);
    position: relative;
}
.card:nth-child(1) { transform: rotate(-1.5deg); }
.card:nth-child(2) { transform: rotate(1deg); }
.card:nth-child(3) { transform: rotate(-0.5deg); }
.card:nth-child(4) { transform: rotate(1.5deg); }
.card:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 0 12px 0 var(--c-ink);
}
.card-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    background: var(--c-sky);
    border: 3px solid var(--c-ink);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow-pop-sm);
}
.card:nth-child(2) .card-icon { background: var(--c-sun); }
.card:nth-child(3) .card-icon { background: var(--c-shirt); }
.card:nth-child(4) .card-icon { background: var(--c-green-2); }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: 10px; color: var(--c-ink); }
.card p { color: var(--c-ink-soft); font-size: 0.98rem; }

/* ===== Menu — sky scene with wood banner accents ===== */

.section-menu {
    background:
        linear-gradient(180deg, var(--c-sky) 0%, #9BD9EE 100%);
    color: var(--c-ink);
    position: relative;
    overflow: hidden;
}
.section-menu::before {
    content: "";
    position: absolute;
    top: 8%;
    right: 6%;
    width: 90px;
    height: 90px;
    background: var(--c-sun);
    border: 4px solid var(--c-ink);
    border-radius: 50%;
    box-shadow:
        0 4px 0 var(--c-ink),
        -120px 40px 0 -30px var(--c-cream),
        -180px 20px 0 -45px var(--c-cream),
        140px 60px 0 -35px var(--c-cream);
}
.section-menu h2 .accent {
    color: var(--c-red);
    background: var(--c-sun);
    padding: 2px 12px;
    border-radius: 8px;
    border: 3px solid var(--c-ink);
    box-shadow: 0 3px 0 var(--c-ink);
    display: inline-block;
    transform: rotate(-1deg);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    position: relative;
    z-index: 1;
}

.menu-cat {
    background: var(--c-cream);
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-pop);
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.menu-cat:nth-child(1) { transform: rotate(-1deg); }
.menu-cat:nth-child(2) { transform: rotate(0.5deg); background: var(--c-cream-2); }
.menu-cat:nth-child(3) { transform: rotate(-0.5deg); }
.menu-cat:nth-child(4) { transform: rotate(1deg); background: var(--c-cream-2); }
.menu-cat:nth-child(5) { transform: rotate(-1deg); }
.menu-cat:nth-child(6) { transform: rotate(0.5deg); background: var(--c-cream-2); }
.menu-cat:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 0 12px 0 var(--c-ink);
}

.menu-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: -28px -26px 18px;
    border-bottom: 3px solid var(--c-ink);
    background: var(--c-sky);
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.menu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.menu-photo.is-missing img { display: none; }
.menu-photo.is-missing::before {
    content: attr(data-emoji);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.3) 0,
            rgba(255, 255, 255, 0.3) 12px,
            transparent 12px,
            transparent 24px
        ),
        var(--c-sun);
}

.menu-cat h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 3px dashed var(--c-ink);
}
.menu-emoji { font-size: 2rem; line-height: 1; }

.menu-cat ul { list-style: none; padding: 0; margin: 0; }
.menu-cat li {
    padding: 6px 0;
    color: var(--c-ink-soft);
    font-weight: 700;
}
.menu-cat li::before {
    content: "▸";
    color: var(--c-red);
    font-weight: 700;
    margin-right: 10px;
}

.menu-note {
    text-align: center;
    margin-top: 50px;
    color: var(--c-ink);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

/* ===== Contact ===== */

.section-contact {
    background: var(--c-cream-2);
    border-top: var(--border-thick);
}

.contact-meta {
    margin-top: 28px;
    padding: 22px 26px;
    background: var(--c-sun);
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop-sm);
    transform: rotate(-1deg);
}
.contact-meta p { margin: 6px 0; font-weight: 600; }
.contact-meta a { color: var(--c-red-dark); font-weight: 700; }

.contact-form {
    background: #fff;
    border: var(--border-thick);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 10px 0 var(--c-ink), 0 24px 60px rgba(15, 14, 13, 0.18);
}

.field { margin-bottom: 20px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.field label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    margin-bottom: 8px;
    color: var(--c-ink);
}
.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 3px solid var(--c-ink);
    border-radius: var(--radius-md);
    background: var(--c-cream);
    color: var(--c-ink);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--c-red);
    box-shadow: 0 0 0 4px rgba(200, 59, 26, 0.2);
}
.field textarea { resize: vertical; min-height: 110px; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-form .btn { margin-top: 8px; }
.btn-loading { display: none; }
.contact-form.is-loading .btn-label { display: none; }
.contact-form.is-loading .btn-loading { display: inline; }
.contact-form.is-loading .btn { opacity: 0.85; cursor: progress; }

.form-status {
    margin-top: 16px;
    font-weight: 700;
    min-height: 1.4em;
}
.form-status.ok { color: var(--c-green); }
.form-status.err { color: var(--c-red); }

.form-note {
    font-size: 0.86rem;
    color: var(--c-muted);
    margin-top: 16px;
}

/* ===== Footer ===== */

.site-footer {
    background: var(--c-ink);
    color: var(--c-cream);
    padding: 60px 0 30px;
    border-top: var(--border-thick);
    position: relative;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-logo {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 3px solid var(--c-cream);
}
.footer-brand p {
    margin: 0;
    color: rgba(255, 246, 227, 0.85);
    font-size: 0.98rem;
    max-width: 400px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    justify-content: flex-end;
}
.footer-nav a {
    color: var(--c-cream);
    font-family: var(--font-display);
    font-weight: 600;
    opacity: 0.9;
}
.footer-nav a:hover { color: var(--c-sun); text-decoration: none; }
.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    margin: 36px 0 0;
    color: rgba(255, 246, 227, 0.55);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 246, 227, 0.15);
    padding-top: 22px;
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-illustration { order: -1; }
    .hero-logo, .logo-fallback { max-width: 320px; margin: 0 auto; }
    .hero { padding: 50px 0 130px; }
    .hero-bushes-left, .hero-bushes-right { display: none; }
    .hero-sun { width: 90px; height: 90px; top: 4%; left: 3%; }

    .two-col { grid-template-columns: 1fr; gap: 50px; }
    .col-illustration { order: -1; }

    .cards { grid-template-columns: repeat(2, 1fr); }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .section-menu::before { display: none; }

    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { flex-direction: column; text-align: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--c-cream);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: var(--border-thick);
        box-shadow: var(--shadow-soft);
        transform: translateY(-110%);
        transition: transform .25s ease;
    }
    .primary-nav.is-open { transform: translateY(0); }
    .primary-nav a { padding: 14px 16px; border-radius: var(--radius-md); font-size: 1.1rem; }
    .primary-nav .nav-cta { margin: 8px 0 0; text-align: center; }

    .section { padding: 70px 0; }
    .hero { padding: 40px 0 120px; }

    .field-row { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
    .cards { grid-template-columns: 1fr; }
    .menu-grid { grid-template-columns: 1fr; }
    .container { padding: 0 18px; }
    .card:nth-child(n) { transform: rotate(0); }
    .menu-cat:nth-child(n) { transform: rotate(0); }
}
