
/* =========================================================
   TROGIRSKA KUZINA
   FINAL HERO - jedna fotografija + pravi HTML tekst
   ========================================================= */

.hero {
    position: relative !important;

    height: 570px !important;
    min-height: 570px !important;

    overflow: hidden !important;

    background-image: url("../img/hero-home.jpg") !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;

    isolation: isolate !important;
}


/*
   Vrlo diskretna lokalna podloga samo iza teksta.
   Ne mijenja samu fotografiju i nema vertikalnih rezova.
*/

.hero::before {
    content: "" !important;

    display: block !important;

    position: absolute !important;
    z-index: 1 !important;

    left: 22% !important;
    top: 8% !important;

    width: 45% !important;
    height: 82% !important;

    pointer-events: none !important;

    background:
        radial-gradient(
            ellipse at 48% 48%,
            rgba(249,247,242,.94) 0%,
            rgba(249,247,242,.86) 32%,
            rgba(249,247,242,.55) 52%,
            rgba(249,247,242,.18) 71%,
            transparent 88%
        ) !important;
}


/*
   Dno fotografije lagano prelazi u dio s proizvodima.
*/

.hero::after {
    content: "" !important;

    display: block !important;

    position: absolute !important;
    z-index: 2 !important;

    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    height: 70px !important;

    pointer-events: none !important;

    background:
        linear-gradient(
            180deg,
            transparent 0%,
            rgba(250,247,241,.18) 40%,
            rgba(250,247,241,.86) 100%
        ) !important;
}


/* =========================================================
   TEKST
   ========================================================= */

.hero-content {
    position: relative !important;

    z-index: 5 !important;

    width: 48% !important;
    height: 570px !important;

    margin: 0 0 0 26% !important;

    padding: 55px 30px !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;

    background: transparent !important;
}


.eyebrow {
    margin: 0 0 20px !important;

    color: #173f91 !important;

    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;

    letter-spacing: .27em !important;
}


.eyebrow i {
    display: inline-block !important;

    width: 3px !important;
    height: 3px !important;

    margin: 0 9px 3px !important;

    border-radius: 50% !important;

    background: currentColor !important;
}


.hero h1 {
    max-width: 760px !important;

    margin: 0 0 23px !important;

    color: #173f91 !important;

    font-family:
        Baskerville,
        "Iowan Old Style",
        "Palatino Linotype",
        Georgia,
        serif !important;

    font-size: clamp(48px, 3.65vw, 66px) !important;
    font-weight: 400 !important;

    line-height: .98 !important;
    letter-spacing: -.022em !important;

    text-transform: uppercase !important;

    text-shadow:
        0 1px 0 rgba(255,255,255,.25) !important;
}


.hero-content p {
    max-width: 520px !important;

    margin: 0 !important;

    color: #173f91 !important;

    font-size: 21px !important;
    line-height: 1.43 !important;
}


/* =========================================================
   PRIJELAZ PREMA PROIZVODIMA
   ========================================================= */

.products-section {
    position: relative !important;
    z-index: 10 !important;

    margin-top: -25px !important;

    border-radius: 30px 30px 0 0 !important;

    background:
        linear-gradient(
            180deg,
            #fcfaf6 0%,
            #faf7f2 100%
        ) !important;

    box-shadow:
        0 -13px 35px rgba(243,238,229,.42) !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .hero-content {
        width: 56% !important;
        margin-left: 20% !important;
    }

    .hero::before {
        left: 16% !important;
        width: 55% !important;
    }

}


/* =========================================================
   MOBITEL
   ========================================================= */

@media (max-width: 720px) {

    .hero {
        height: 600px !important;
        min-height: 600px !important;

        background-position: 61% center !important;
    }

    .hero::before {
        left: 0 !important;
        top: auto !important;
        bottom: 0 !important;

        width: 100% !important;
        height: 65% !important;

        background:
            linear-gradient(
                180deg,
                transparent 0%,
                rgba(248,244,237,.58) 22%,
                rgba(248,244,237,.93) 55%,
                rgba(248,244,237,.99) 100%
            ) !important;
    }

    .hero::after {
        height: 50px !important;
    }

    .hero-content {
        width: 100% !important;
        height: 600px !important;

        margin: 0 !important;

        padding:
            270px
            21px
            58px !important;

        justify-content: flex-end !important;
    }

    .eyebrow {
        font-size: 10px !important;
        letter-spacing: .20em !important;
    }

    .hero h1 {
        font-size: 40px !important;
        line-height: 1.01 !important;
    }

    .hero-content p {
        max-width: 390px !important;
        font-size: 18px !important;
    }

    .products-section {
        margin-top: -18px !important;
        border-radius: 21px 21px 0 0 !important;
    }

}



/* === FINAL TITLE POLISH === */

.hero h1 {
    /* bez ikakve sjene */
    text-shadow: none !important;

    /* mrvicu veći naslov */
    font-size: clamp(50px, 3.8vw, 69px) !important;

    /* malo punija slova */
    font-weight: 500 !important;

    /* manje stisnuta slova */
    letter-spacing: -.006em !important;

    /* više prostora da ostane lijepo u dva reda */
    max-width: 820px !important;

    line-height: .98 !important;
}

/* mrvicu više prostora za naslov */
.hero-content {
    width: 51% !important;
    margin-left: 25.5% !important;
}

@media (max-width: 1100px) {
    .hero h1 {
        font-size: clamp(47px, 5vw, 62px) !important;
    }

    .hero-content {
        width: 58% !important;
        margin-left: 21% !important;
    }
}

@media (max-width: 720px) {
    .hero h1 {
        font-size: 42px !important;
        font-weight: 500 !important;
        letter-spacing: -.004em !important;
    }

    .hero-content {
        width: 100% !important;
        margin-left: 0 !important;
    }
}


/* === HERO FINAL CLEANUP === */

/* Nema vise bijele magle/boksa preko fotografije */
.hero::before,
.hero::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Naslov direktno na fotografiji */
.hero-content {
    background: transparent !important;
}

/* Samo mrvicu puniji naslov */
.hero h1 {
    font-weight: 600 !important;
    text-shadow: none !important;
}

/* I opis potpuno cist, bez sjene */
.hero-content p,
.eyebrow {
    text-shadow: none !important;
}


/* Package 36: only hero sizing and mobile hero text readability. */
.hero.tk-product-hero{height:285px!important;min-height:285px!important}
.hero.tk-product-hero .hero-content{height:285px!important;padding-top:20px!important;padding-bottom:20px!important}
.hero.tk-product-hero h1{font-size:clamp(32px,3vw,46px)!important;margin-top:0!important;margin-bottom:12px!important}
.hero.tk-product-hero .hero-content p{font-size:17px!important;line-height:1.4!important;margin-top:0!important;margin-bottom:0!important}
@media(max-width:720px){
 .hero:not(.tk-product-hero){height:auto!important;min-height:0!important;padding:190px 0 0!important;background-size:auto 250px!important;background-position:center top!important;background-color:#f8f4ed!important;overflow:visible!important}
 .hero:not(.tk-product-hero) .hero-content{position:relative!important;width:100%!important;height:auto!important;margin:0!important;padding:24px 21px 30px!important;background:#f8f4ed!important;display:block!important;box-sizing:border-box!important}
 .hero:not(.tk-product-hero) h1{font-size:clamp(30px,8.5vw,42px)!important;line-height:1.08!important;margin:0 0 14px!important}
 .hero:not(.tk-product-hero) .hero-content p{font-size:17px!important;line-height:1.45!important;margin:0!important;max-width:100%!important}
 .hero.tk-product-hero{height:auto!important;min-height:300px!important;background-position:61% center!important}
 .hero.tk-product-hero .hero-content{width:100%!important;height:auto!important;min-height:300px!important;margin:0!important;padding:24px 21px!important;box-sizing:border-box!important;background:linear-gradient(90deg,rgba(248,244,237,.97),rgba(248,244,237,.78))!important;justify-content:center!important}
 .hero.tk-product-hero h1{font-size:32px!important;line-height:1.08!important}
}
