/* Hero sekcija */
.hero {
    background-color: #ccc;
    color: #130c16;
    padding: 50px 0;
    padding-top: 140px;
}

.hero-inner {
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    box-shadow: 5px 20px 20px #666;
    max-width: 1200px;
}

.hero-left {
    flex: 1 1 480px;
    min-width: 280px;
    padding: 20px
}

.hero-left h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 300;
    font-size: 65px;
    margin: -20px;
    padding: 20px 20px 15px 20px;
    line-height: 1;
    margin-bottom: 90px;
    position: relative;
    text-align: center;
}

.h1-1 {
    color: #fff;
    background: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    padding: 25px 25px 20px 25px;
    width: 100%
}

.h1-2 {
    color: #eee;
    background: var(--accent);
    position: absolute;
    right: 0;
    top: 0;
    padding: 15px 15px 10px 15px;
    width: 30%
}

.hero-left p {
    margin-bottom: 25px;
    text-align: justify
}

.cta {
    position: relative;
    padding: 15px 15px 10px 15px;
    line-height: 2.5rem;
}

.hero-cta {
    background: #000;
    color: #fff;
    width: calc(50% + 20px);
    padding: 10px;
    line-height: 1;
    position: absolute;
    left: -20px;
    bottom: -20px;
    text-align: center;
    min-height: 65px
}

.izlazak {
    position: absolute;
    right: -20px;
    bottom: -20px;
    background: var(--primary);
    color: #fff;
    width: calc(50% + 20px);
    text-align: center;
    min-height: 80px;
    padding-top: 15px;
    padding-left: 20px;
}

.izlazak p {
    font-size: 30px;
    line-height: 1;
    margin: 0;
    padding: 2px 10px;
    margin-top: 6px
}

.izlazak p:nth-child(2) {
    font-size: 13px;
    font-style: italic
}

.hero-cta p {
    padding: 0;
    margin: 0;
}

.callout {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: var(--radius);
    margin-bottom: 0 !important;
    line-height: 1.1
}

.hero-phone a {
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 60px
}

.hero-phone i {
    font-size: 40px
}

.hero-right {
    flex: 1 1 380px;
    min-width: 500px;
    text-align: center;
}

/* Marquee traka */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    color: #000;
    /* žuta boja teksta */
    font-size: 1rem;
    padding: 15px 0;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    margin: 0;
    color: #fff;
    font-size: 20px;
    text-shadow: 2px 2px 5px #000;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.hero-right {
    position: relative;
    flex: 1;
    /* take remaining space if .hero is flex */
    min-height: 100%;
    /* allow to grow */

    /* Background with WebP + PNG fallback */
    background-color: var(--primary);
    /* fallback color */
    background-image: url('../images/hero-appliances-vehicle.png');
    background-image: image-set(url('../images/hero-appliances-vehicle.webp') type('image/webp'),
            url('../images/hero-appliances-vehicle.png') type('image/png'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    +
}

/* If .hero is the parent container */
.hero {
    display: flex;
    align-items: stretch;
    /* make children equal height */
}

@media (max-width: 1200px) {
    .hero {
        padding: 20px;
        padding-top: 100px;
        margin-left: -10px
    }
}

/* Responsivnost */
@media (max-width: 768px) {
    .hero {
        display: block;
        margin: -20px
    }

    .hero-cta {
        margin: 0 auto;
        text-align: center
    }

    .hero-right {
        min-width: 200px !important;
        margin-top: -5px
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding: 0
    }

    #hero-form {
        background: #999;
        margin-top: -10px
    }

    #hero-form button {
        flex-basis: 100%;
    }

    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        flex-basis: 100%;
    }
    
    .hero-left p {
        margin-top: 120px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 70px
    }

    .hero-inner {
        flex-direction: column-reverse
    }

    .hero-right {
        flex: 1 1 350px
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 70px
    }

    .section {
        padding: 0 20px
    }

    .hero-inner {
        flex-direction: column-reverse
    }

    .hero-right {
        flex: 1 1 350px
    }

    #kvarovi {
        padding-top: 30px
    }
}

.hero-cta {
    background: #000;
    color: #fff;
    width: calc(50% + 20px);
    padding: 10px;
    line-height: 1;
    position: absolute;
    left: -20px;
    bottom: -20px;
    text-align: center;
    min-height: 65px;
}

@media (max-width: 768px) {
    .hero-cta {
        width: 100%;
        position: relative;
        left: unset;
        bottom: unset;
        min-height: unset;
        padding-top: 15px;
    }
}

@media (max-width: 768px) {
    .izlazak {
        font-size: 30px;
    }
}

.cta {
    position: relative;
    padding: 15px 15px 10px 15px;
    line-height: 2.5rem;
}

@media (max-width: 768px) {
    .cta {
        margin: -31px;
    }
}