:root {
    --bg: #111111;
    --accent: #dfac4f;
    --text: #ffffff;
    --text-soft: rgba(255, 255, 255, 0.78);
    --shell: min(1180px, calc(100vw - 28px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--bg);
    color: var(--text);
}

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

.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at top left,
            rgba(178, 58, 52, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(223, 172, 79, 0.12),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02),
            rgba(255, 255, 255, 0) 18%
        ),
        linear-gradient(180deg, #171717 0%, #0d0d0d 100%);
}

.bg-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.09;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.05)
    );
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.hero {
    padding: 18px 0;
}

.hero__topline {
    width: var(--shell);
    margin: 0 auto 4px;
    display: flex;
    justify-content: flex-end;
}

.hero__lang {
    display: none;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
}

.hero__inner {
    min-height: calc(100svh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
}

.hero__brand {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero__chef {
    width: min(200px, 44vw);
    margin: 0 0 -18px;
}

.hero__text {
    width: min(300px, 70vw);
}

.hero__copy {
    max-width: 520px;
    margin: -10px auto 0;
    text-align: center;
}

.hero__contact {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
}

.hero__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}

.hero__contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(223, 172, 79, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.hero__contact-link:focus-visible {
    outline: 2px solid rgba(223, 172, 79, 0.5);
    outline-offset: 2px;
}

.hero__contact-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.hero__contact-link span {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
}

/*.hero__copy h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 6.6vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero__lead {
    margin: 0 auto;
    max-width: 58ch;
    color: var(--text-soft);
    font-size: clamp(1rem, 2.8vw, 1.14rem);
    line-height: 1.6;
}*/

.hero__copy h1 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero__lead {
    font-family: Inter, system-ui, sans-serif;
    font-weight: 400;
}

.hero__slider {
    width: 100%;
    max-width: 320px;
    height: 56px;
    margin: 10px auto 20px;
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero__slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slider-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 56px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.98rem;
    pointer-events: none;
    text-align: center;
    white-space: nowrap;
}

.hero__slider-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #111111;
    font-weight: 700;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.hero__slider-handle:active {
    cursor: grabbing;
}

@media (max-width: 640px) {
    .hero {
        padding-top: 14px;
    }

    .hero__topline {
        margin-bottom: 8px;
    }

    .hero__lang {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.85rem;
    }

    .hero__inner {
        min-height: calc(100svh - 52px);
        padding: 28px 0 28px;
    }

    .hero__chef {
        width: min(188px, 50vw);
        margin-bottom: -16px;
    }

    .hero__text {
        width: min(286px, 76vw);
    }

    .hero__copy {
        max-width: 440px;
        margin-top: -6px;
        padding: 0 10px;
    }

    .hero__copy h1 {
        margin-bottom: 12px;
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        line-height: 1.04;
    }

    .hero__lead {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero__slider {
        max-width: 310px;
        height: 54px;
        margin-bottom: 16px;
    }

    .hero__slider-handle {
        width: 46px;
        height: 46px;
    }

    .hero__slider-text {
        font-size: 0.95rem;
    }

    .hero__contact {
        margin-top: 16px;
        gap: 8px 10px;
    }

    .hero__contact-link {
        min-height: 40px;
        padding: 0 12px;
    }

    .hero__contact-link span {
        font-size: 0.9rem;
    }
}

@media (min-width: 700px) {
    .hero {
        padding-top: 40px;
    }

    .hero__inner {
        /* Forsiramo vertikalni raspored kao na mobilnom */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centriramo sve po vertikali */
        gap: 30px; /* Pravimo razmak između elemenata */
        min-height: calc(100vh - 80px);
        padding: 40px 0;

        /* KLJUČ: Ograničavamo širinu cijele sekcije na desktopu */
        max-width: 500px;
        margin: 0 auto;
    }

    .hero__brand {
        margin-top: 0;
        gap: 12px;
    }

    .hero__chef {
        /* Smanjujemo sliku kuvara da ne dominira ekranom */
        width: 140px;
        margin-bottom: -10px;
    }

    .hero__text {
        /* Ograničavamo širinu logotipa/teksta brenda */
        width: 260px;
    }

    .hero__copy {
        /* Tekst ostaje čitljiv i uzak */
        max-width: 420px;
        margin-top: 0;
    }

    .hero__copy h1 {
        /* Malo smanjujemo font jer je sad u užem kontejneru */
        font-size: 3rem;
        line-height: 1.1;
    }

    .hero__lead {
        font-size: 1.05rem;
        max-width: 40ch; /* Još uža kolona teksta za bolji "look" */
    }

    .hero__slider {
        margin-top: 20px;
        width: 320px; /* Fiksna širina slidera da ne šeta */
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
