.hero {
    display: flex;
    height: 80vh;
    border-bottom: 1px solid #c7c7c7;
}

.right, .left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.left {
    flex-direction: column;
    align-items: start;
    padding-left: 12rem;
}

.left h2 {
    font-size: 3rem;
    font-weight: 600;
    padding-bottom: 2rem;
    line-height: 1;
}

.left h3 {
    color: #ff6600;
    padding-bottom: 1rem;
    font-size: 0.95rem;
}
.left p {
    font-size: 1.25rem
}

.hero .right img {
    height: 80%;
    border-radius: 12px;
}

/* HODNOTY */
.hodnoty {
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hodnoty h3 {
    color: #ff6600;
    padding-bottom: 1rem;
    font-size: 0.95rem;
}

.hodnoty h2 {
    font-size: 2.5rem;
    font-weight: 600;
    padding-bottom: 2rem;
    line-height: 1;
}

.hodnoty .bars {
    display: flex;
    flex-direction: row;
    width: 65%;
}

.hodnoty .bars .card {
    margin: 0 1rem 1rem 1rem;
}

.hodnoty .bars img {
    width: 32px;
}

.hodnoty .bars h4 {
    font-weight: 600;

    margin-bottom: 1rem;
}

/* HISTORIE */

.historie {
    background-color: #f3f1ee;
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #c7c7c7;
}

.historie h3 {
    color: #ff6600;
    padding-bottom: 1rem;
    font-size: 0.95rem;
}

.historie h2 {
    font-size: 2.5rem;
    font-weight: 600;
    padding-bottom: 2rem;
    line-height: 1;
}

.historie .order {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.historie .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-items: center;
}

.historie h4 {
    background-color: #ff6600;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    color: #f3f1ee;
    margin-bottom: 0.5rem;
}

.historie p {
    font-size: 0.85rem;
}

/* SPOLUPRACE */

.spoluprace {
    padding: 8rem 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.spoluprace h3 {
    font-size: 1.5rem;
}

.spoluprace a {
    color: #f3f1ee;
    background-color: #ff6600;
    padding: 0.65rem 1.25rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    transition-duration: 0.2s;
}

.spoluprace a:hover {
    background-color: #ec5f00;
}

.spoluprace img {
    padding-left: 0.5rem;
}

/* =========================
   SKRYTÍ HERO OBRÁZKU DŘÍVE (≤ 1200px)
========================= */
@media (max-width: 1200px) {

    .hero {
        flex-direction: column;
        height: auto;
        padding: 4rem 2rem;
    }

    .left {
        width: 100%;
        padding-left: 0;
        align-items: flex-start;
    }

    .right {
        display: none; /* obrázek zmizí už před tabletem */
    }
}

/* =========================
   TABLET (≤ 1024px)
========================= */
@media (max-width: 1024px) {

    /* HERO */
    .hero {
        flex-direction: column;
        height: auto;
        padding: 4rem 2rem;
    }

    .left {
        width: 100%;
        padding-left: 0;
        align-items: flex-start;
    }

    .right {
        display: none; /* skrytí obrázku už na tabletu */
    }

    /* HODNOTY */
    .hodnoty .bars {
        flex-direction: column;
        width: 90%;
    }

    .hodnoty .card {
        margin: 1rem 0;
        text-align: center;
    }

    /* HISTORIE */
    .historie .order {
        flex-direction: column;
        gap: 2rem;
    }

    /* SPOLUPRÁCE */
    .spoluprace {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 4rem 2rem;
    }
}


/* =========================
   MOBIL (≤ 640px)
========================= */
@media (max-width: 640px) {

    .left h2 {
        font-size: 2rem;
    }

    .hodnoty h2,
    .historie h2 {
        font-size: 2rem;
        text-align: center;
    }

    .spoluprace h3 {
        font-size: 1.25rem;
    }
}
