/* ========================================
   DOBRÉ JÍDLO ZE STATKU MĚCHNOV
   Color palette from logo:
   - Forest green:  #2D6A2E / #3A7D32
   - Wood brown:    #5C3D1E / #8B6536
   - Wheat gold:    #D4A846
   - Cream:         #FBF7F0
   - Dark text:     #2C1810
   ======================================== */

/* ---------- TOP BAR ---------- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    padding: 8px 0;
    transition: all var(--transition);
}

.topbar--hidden {
    transform: translateY(-100%);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    font-weight: 500;
}

.topbar__item:hover {
    color: var(--gold-light);
}

.topbar__item svg {
    flex-shrink: 0;
}


/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #245A25;
    --green: #2D6A2E;
    --green-light: #3A8C3B;
    --green-pale: #E8F5E9;
    --brown-dark: #2C1810;
    --brown: #5C3D1E;
    --brown-medium: #8B6536;
    --gold: #D4A846;
    --gold-light: #E8C96A;
    --cream: #FBF7F0;
    --cream-dark: #F3EDE2;
    --white: #FFFFFF;
    --gray-100: #F7F7F7;
    --gray-200: #E8E8E8;
    --gray-500: #888888;
    --gray-700: #555555;
    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.06);
    --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.1);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--brown-dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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


/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn--primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(45, 106, 46, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn--outline:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--green);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1.15rem;
}

.btn--full {
    width: 100%;
}


/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 24, 16, 0.06);
    transition: all var(--transition);
    overflow: visible;
}

.header--scrolled {
    top: 0;
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 32px;
}

.header__logo {
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    margin-top: 60px;
    transition: margin-top var(--transition);
}

.header--scrolled .header__logo {
    margin-top: 0;
}

.header__logo img {
    height: 180px;
    width: 180px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.header--scrolled .header__logo img {
    height: 70px;
    width: 70px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition);
}

.header__link:hover,
.header__link.active {
    color: var(--green);
    background: var(--green-pale);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__actions .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.header__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 32px 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 50px;
}

.mobile-menu__link {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.mobile-menu__link:hover {
    background: var(--green-pale);
    color: var(--green);
}

.mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}


/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.75) 100%),
        url('../assets/images/hero-bg.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}


/* ---------- SECTIONS ---------- */
.section {
    padding: 100px 0;
}

.section--light {
    background: var(--white);
}

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

.section--green {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
}

.section__title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 12px;
}

.section__title--light {
    color: var(--white);
}

.section__subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto 60px;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.85);
}


/* ---------- ABOUT CARDS ---------- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.about-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-pale);
    border-radius: 16px;
    color: var(--green);
}

.about-card__icon svg {
    width: 28px;
    height: 28px;
}

.about-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--brown-dark);
}

.about-card__text {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
}


/* ---------- STEPS ---------- */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.step__number {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--brown-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
}

.step__title {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 10px;
}

.step__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.step__arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: rgba(255, 255, 255, 0.4);
}

.step__arrow svg {
    width: 24px;
    height: 24px;
}

.steps__cta {
    text-align: center;
    margin-top: 48px;
}


/* ---------- DELIVERY ---------- */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.delivery-card {
    text-align: center;
    padding: 48px 36px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.delivery-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    border-radius: 20px;
    color: var(--white);
}

.delivery-card__icon svg {
    width: 32px;
    height: 32px;
}

.delivery-card__title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.delivery-card__text {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
}


/* ---------- MENU TABS & IMAGE ---------- */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 32px;
    background: var(--white);
    border-radius: 50px;
    padding: 5px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
}

.menu-tab {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition);
}

.menu-tab:hover {
    color: var(--green);
}

.menu-tab--active {
    background: var(--green);
    color: var(--white);
}

.menu-tab--active:hover {
    color: var(--white);
}

.menu-panel {
    display: none;
}

.menu-panel--active {
    display: block;
}

.menu-image {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    min-height: 300px;
}

.menu-image img {
    width: 100%;
    height: auto;
    display: block;
}

.menu-image__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 32px;
    color: var(--gray-500);
    text-align: center;
    gap: 12px;
}

.menu-image__placeholder p {
    font-size: 1.1rem;
    color: var(--gray-700);
}

.menu-image__placeholder-sub {
    font-size: 0.95rem !important;
    color: var(--gray-500) !important;
}

.menu-download {
    text-align: center;
    margin-bottom: 48px;
}

.menu-system {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.menu-system p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 20px;
}


/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
}

.contact-card__icon svg {
    width: 24px;
    height: 24px;
}

.contact-card__title {
    font-size: 1.1rem;
    color: var(--gray-700);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card__value {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brown-dark);
    transition: color var(--transition);
}

a.contact-card__value:hover {
    color: var(--green);
}


/* ---------- FOOTER ---------- */
.footer {
    background: var(--brown-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 64px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer__logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer__links span {
    display: block;
    font-size: 1rem;
    padding: 4px 0;
}

.footer__tagline {
    font-size: 1rem;
    line-height: 1.6;
}

.footer__links h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer__links a {
    display: block;
    font-size: 1rem;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__platform {
    display: flex;
    justify-content: center;
    padding: 32px 0 24px;
}

.footer__platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer__platform-link:hover {
    color: var(--white);
}

.footer__platform-link strong {
    color: var(--white);
    font-weight: 600;
}

.footer__platform-logo {
    height: 66px;
    width: auto;
}



/* ---------- MOBILE CONTACT BAR ---------- */
.mobile-contact {
    display: none;
}


/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
    .header__nav {
        display: none;
    }

    .header__actions {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .mobile-menu {
        display: block;
        pointer-events: none;
    }

    .mobile-menu.active {
        pointer-events: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 400px;
        width: 100%;
    }

    .step__arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .menu-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin: 0 auto;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .topbar__item {
        display: none;
    }

    .topbar {
        padding: 4px 0;
    }

    .topbar__inner {
        min-height: 10px;
    }

    .header {
        top: 18px;
    }

    .header--scrolled {
        top: 0;
    }

    .mobile-contact {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: var(--brown-dark);
    }

    .mobile-contact__item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 24px;
        color: var(--white);
        font-size: 1.05rem;
        font-weight: 500;
        transition: background var(--transition);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-contact__item:last-child {
        border-bottom: none;
    }

    .mobile-contact__item:active {
        background: rgba(255, 255, 255, 0.1);
    }

    .section {
        padding: 72px 0;
    }

    .hero {
        min-height: auto;
        padding: 160px 0 80px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .header__logo {
        margin-top: 40px;
    }

    .header__logo img {
        height: 140px;
        width: 140px;
    }

    .header--scrolled .header__logo img {
        height: 60px;
        width: 60px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer__logo {
        margin: 0 auto 16px;
    }
}
