.title-bar-title,
a,
a:hover {
    color: #fff;
}

.no-js .top-bar {
    display: none;
}

@media screen and (min-width: 40em) {
    .no-js .top-bar {
        display: block;
    }

    .no-js .title-bar {
        display: none;
    }
}

:focus {
    outline: 0;
}

figcaption,
h1,
h2,
h3,
h4,
h5,
h6,
li,
p {
    font-family: Roboto, sans-serif;
    color: #031c5e;
}

.title-bar {
    background: rgba(0, 0, 0, .9);
}

.top-bar,
.top-bar ul {
    background: rgba(0, 0, 0, .5);
    padding: 0;
}

.top-bar ul li {
    width: 100%;
}

.top-bar-left {
    display: none;
}

@media only screen and (min-width: 40em) {
    .top-bar,
    .top-bar ul {
        background: 0 0;
    }

    .top-bar ul li {
        width: auto;
    }

    .top-bar-left {
        display: block;
    }

    .top-bar {
        padding: 20px 0;
    }
}

a:hover {
    text-decoration: underline;
}

.reveal {
    padding: 60px;
}

.reveal h2 {
    font-size: 22px;
    color: #031c5e;
    margin-bottom: 65px;
    font-weight: 700;
}

/* styles.css */

.reveal ul li {
    line-height: 2;
    margin-top: 20px;
}

.main-section,
body {
    height: 100%;
    width: 100%;
}

.main-section-text h2,
.menu-logo h1 span {
    font-weight: 700;
    color: #fff;
}

body {
    overflow-x: hidden;
    overflow-y: scroll !important;
}

.main-menu {
    position: absolute;
    z-index: 5;
    width: 100%;
}

.menu-logo h1 {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0;
}

@media only screen and (max-width: 40em) {
    .main-menu .grid-container {
        max-width: 100%;
        padding: 0;
    }
}

@media only screen and (min-width: 705px) and (max-width: 875px) {
    .menu-logo h1 {
        font-size: 21px;
        padding: .7rem .85rem;
    }

    .top-bar-right ul li {
        font-size: 14px;
    }

    .top-bar-left {
        flex: 1 1 0 !important;
        -ms-flex: 1 1 0;
    }

    .menu a {
        padding: .7rem .65rem;
    }
}

@media only screen and (min-width: 40em) and (max-width: 705px) {
    .menu-logo h1 {
        font-size: 16px;
        padding: .7rem 0 .7rem .75rem;
    }

    .top-bar-right ul li {
        font-size: 12px;
    }

    .top-bar-left {
        flex: 1 1 0 !important;
        -ms-flex: 1 1 0;
    }

    .menu a {
        padding: .7rem 0;
    }

    .top-bar-right .menu a:last-child {
        padding: .7rem .65rem .7rem .85rem;
    }
}

.main-section {
    position: relative;
    background: url(https://slanina.net/img/main-section-bg.jpg) center center no-repeat;
    background-size: cover;
    min-height: 600px;
    height: auto;
}

.main-section-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1240px;
    padding: 20px 15px;
    box-sizing: border-box;
}

.main-section-text h2 {
    text-transform: uppercase;
    font-size: 24px;
}

.main-section-text h3 {
    color: #fff;
    font-size: 15px;
    line-height: 2;
    padding: 10px;
}

.about-section,
.coop-section,
.offers-section,
.price-list-section {
    padding: 30px 0;
}

.main-section-text h3 span {
    color: #fff;
}


.main-section-profile-pic {
    display: block;
    width: clamp(120px, 18vw, 200px);
    height: clamp(120px, 18vw, 200px);
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #fff;
}


@media only screen and (min-width: 40em) {
     .main-section {
        min-height: 500px;
        height: auto;
    }

    .main-section-text h3 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 64em) {
    .main-section-text h2 {
        font-size: 24px;
    }
}

.about-section h2,
.coop-section h2 {
    font-size: 22px;
    color: #031c5e;
    font-weight: 700;
}

.coop-section h2 {
    margin-bottom: 65px;
}

.coop-section ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.coop-section li {
    color: #031c5e;
    margin-bottom: 1.5em;
}

.about-section {
    background-color: #f3f5f6;
}

.about-section .profile-pic {
    display: block;
    height: 300px;
    margin: 40px auto;
    -webkit-box-shadow: 23px 24px 0 0 rgba(217, 220, 221, 1);
    -moz-box-shadow: 23px 24px 0 0 rgba(217, 220, 221, 1);
    box-shadow: 23px 24px 0 0 rgba(217, 220, 221, 1);
}

@media only screen and (min-width: 40em) {
    .about-section .profile-pic {
        margin: 0 auto;
    }

    .about-section ul li {
        margin-top: 25px;
    }
}

.about-section h2 {
    margin-bottom: 65px;
}

.about-section h3 {
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-section h2,
.offers-section h2,
.price-list-section h2,
.why-me-section h2 {
    font-size: 22px;
    color: #031c5e;
    font-weight: 700;
}

.about-section ul li {
    margin-top: 20px;
}

.about-section ul {
    margin-bottom: 0;
}

.offers-section h2 {
    margin-bottom: 0px;
}

.offers-section .cell {
    margin: 0 auto;
}

.offers-section figure {
    margin: 10px auto 10px;
}

.offers-section figure img {
    display: block;
    width: clamp(55px, 10vw, 125px);
    height: clamp(55px, 8.25vw, 103px);
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 20px;
}


.offers-section figure figcaption {
    line-height: 2;
}

.offers-section p {
    margin-bottom: 0;
}

.why-me-section {
    padding: 85px 0;

}

.why-me-section h2 {
    margin-bottom: 20px;
    text-align: center;
}

.why-me-section p {
    line-height: 2;
    margin-bottom: 20px;
}

.why-me-section img {
    height: 30px;
    margin-right: 30px;
}

.why-me-section a {
    color: #031c5e;
}

.why-me-section span {
    vertical-align: middle;
}

.linkedin-icon {
    display: table;
    margin: 0 auto;
}

@media only screen and (min-width: 40em) {
    .why-me-section h2 {
        text-align: left;
    }

    .linkedin-icon {
        display: block;
        margin: 0;
    }
}

.price-list-section h2 {
    margin-bottom: 20px;
}

.price-list-section .price-list-item {
    padding: 20px 30px;
    margin-bottom: 50px;
    cursor: pointer;
    -webkit-box-shadow: 2px 4px 13px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 2px 4px 13px 0 rgba(0, 0, 0, .15);
    box-shadow: 2px 4px 13px 0 rgba(0, 0, 0, .15);
}

.price-list-section .price-list-item.price-list-item-no-margin {
    margin-bottom: 0;
}

.price-list-section .price-list-item:hover {
    animation: bounce 1s;
}

.price-list-section .price-list-item.price-list-item-border {
    border-bottom: 3px solid #7ececa;
    margin-bottom: 20px;
}

@media only screen and (min-width: 64em) {
    .price-list-section .price-list-item.price-list-item-border {
        margin-bottom: 0;
    }
}

.price-list-section .price-list-item p {
    margin: 0;
}

.contact-section {
    padding: 30px 0 0;
    background: #f3f5f6;
}

.contact-section h2 {
    margin-bottom: 65px;
    text-align: center;
}

.contact-section img {
    height: 30px;
    margin-right: 30px;
}

.contact-section span {
    display: block;
    margin-bottom: 35px;
    color: #031c5e;
}

.contact-section p {
    margin-bottom: 35px;
}

.contact-section p.right-text {
    text-align: center;
    margin-top: 40px;
}

.contact-section a {
    color: #031c5e;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-section .contact-icon {
    display: table;
    margin: 0 auto 30px;
}

@media only screen and (min-width: 64em) {
    .contact-section h2 {
        text-align: center;
    }

    .contact-section p.right-text {
        text-align: right;
        margin-top: 0;
    }

    .contact-section .contact-icon {
        display: block;
        margin: 0;
    }
}

footer {
    padding: 0 0 30px;
    background: #f3f5f6;
}

footer hr {
    margin-bottom: 2em;
}

footer p {
    font-size: 14px;
}

footer a,
footer a:focus,
footer a:hover {
    color: #031c5e;
    text-decoration: underline;
}

.text-bold {
    font-weight: 700;
}

.icon {
    height: 25px;
    display: inline-block;
    float: right;
}

@keyframes bounce {
    0%,
    20%,
    60%,
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    40% {
        -webkit-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    80% {
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* Kompaktnější rozložení sekcí */
.about-section h2,
.coop-section h2,
.offers-section h2,
.why-me-section h2,
.price-list-section h2,
.contact-section h2 {
    margin-bottom: 10px;
}
/* Menší vnitřní odsazení buněk */
.cell {
    padding-top: 0;
    padding-bottom: 0;
}

.main-section-cta {
    margin-top: clamp(5px, 1vw, 12px);
    margin-bottom: clamp(15px, 4vw, 50px);
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: clamp(14px, 1.3vw, 16px) clamp(24px, 2.5vw, 30px);
    background-color: #f07828;
    color: #fff;
    font-size: clamp(16px, 1.4vw, 17px);
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 5px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
    transition: background-color .2s ease, transform .2s ease;
}

.cta-button:hover {
    background-color: #d95e12;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.linkedin-icon {
    display: block;
    margin: 20px 0 0;
}

.linkedin-icon a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.linkedin-icon img {
    display: block;
    height: 30px;
    width: auto;
    margin: 0;
}
.linkedin-icon a,
.linkedin-icon a:hover {
    color: #031c5e;
}

.about-section {
    background-color: #fff;
}

.coop-section {
    background-color: #f3f5f6;
}
@media only screen and (max-width: 39.99em) {
    .main-section-text h2 {
        font-size: 18px;
    }

    .main-section-text h3 {
        font-size: 12px;
        line-height: 1.6;
        padding: 5px;
    }
}
@media only screen and (max-width: 39.99em) {
    .main-section {
        min-height: 500px;
        height: auto;
    }
}

@media only screen and (max-width: 39.99em) {

    .offers-section figure {
        margin: 5px auto 10px;
    }
}
/* Kompaktní kontakty na mobilu */
@media only screen and (max-width: 39.99em) {

    .contact-section p {
        margin-top: 0;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .contact-section span {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .contact-section .contact-icon {
        margin-bottom: 15px;
    }

    .contact-section h2 {
        margin-bottom: 15px;
    }

    .contact-section p.right-text {
        margin-top: 0;
        text-align: center;
    }
}
/* Mobil: mezera před nadpisem Proč já? */
@media only screen and (max-width: 39.99em) {
    .about-section .cell h2 {
        margin-top: 25px;
    }

    .about-section .cell:first-child h2 {
        margin-top: 0;
    }
}


/* Mobil na šířku – větší odstup pod horním menu */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .main-section-text {
        top: 62%;
    }
}




/* Nižší horní menu na desktopu */
@media screen and (min-width: 40em) {
    .top-bar {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* Nižší horní menu na mobilu na šířku */
@media screen and (max-width: 767px) and (orientation: landscape) {
    .title-bar {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .title-bar .menu-icon {
        margin-top: 0;
        margin-bottom: 0;
    }
     .top-bar {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}



/* Mobil na šířku – kompaktní kontaktní údaje */
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .contact-section {
        padding-top: 15px;
    }

    .contact-section h2 {
        margin-bottom: 10px;
    }

    .contact-section p {
        margin-top: 0;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .contact-section p.right-text {
        margin-top: 0;
        text-align: center;
    }

    .contact-section .contact-icon {
        margin-bottom: 10px;
    }

    .contact-section span {
        margin-bottom: 5px;
        line-height: 1.3;
    }
}
@media only screen and (max-width: 767px) and (orientation: landscape) {
    .main-section-text {
        padding-bottom: 80px;
    }
}



/* Kontakty – kompaktní formát i při střední šířce */
@media only screen and (min-width: 40em) and (max-width: 1100px) {
    .contact-section p {
        margin-top: 0;
        margin-bottom: 8px;
        line-height: 1.4;
        font-size: 14px;
    }

    .contact-section span {
        margin-bottom: 8px;
        line-height: 1.4;
        font-size: 14px;
    }

    .contact-section .contact-icon {
        margin-bottom: 15px;
    }

    .contact-section img {
        height: 30px;
        margin-right: 8px;
    }

    .contact-section p.right-text {
        margin-top: 0;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

