@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Saira",sans-serif;
}

p{
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 8px 0;
    text-align: justify;
}
.container
{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-svetla {
    padding: 80px 0;
    text-align: left;
    background-color: rgb(238 238 238 / 0.14);
    color: rgb(43 43 43);
}

.container-konec {
    padding:  80px 0;
    text-align: left;
    background-color: rgb(43 43 43);
    color: rgb(248 245 245);
    font-size: 0.95rem;
}

hr.style-footer {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
    margin: 20px 0;
}


h1 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
    color: #2b2b2b;
    line-height: 1.2;
}

h1.odsazeni{
    margin: 1.5rem 0;
}

.logo-container {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 25px;
    align-items: center;
}

.logo {
    max-width: 100px;
    display: block;
}

.carka{
    border-left: 2px solid #eee;
    padding: 10px 25px;
}

.odstavec-leva{
    margin: 15px 25px 10px 0;
}

.foto-banner {
    position: relative;
    width: 100%;
    height: 80vh; /* Na desktopu zůstává vysoký */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 0.14);
}

/* Zajištění správného chování obrázku uvnitř banneru */
.foto-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Obrázek vyplní prostor bez deformace */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.foto-text {
    position: absolute;
    bottom: 0%; /* Na desktopu posunuto níže */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    z-index: 1;
    background-color: #222222;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 80%;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .foto-banner {
        height: 40vh; /* Zmenší výšku banneru na mobilu na polovinu */
    }

    .foto-text {
        top: 50%; /* Na mobilu vycentruje text přesně na střed banneru */
        width: 90%; /* Povolí textu roztáhnout se více do krajů */
        max-width: 90%;
        padding: 15px; /* Menší vnitřní okraj, aby zbyl prostor pro text */
    }

    .foto-text {
       display: none;
    }
}


/* Kontejner pro video banner */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Výška banneru (80 % výšky obrazovky), můžete změnit na 100vh pro úplný fullscreen */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 0.14);
}

/* Samotné video přesně na plnou šířku i výšku */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* DŮLEŽITÉ: Ořízne video tak, aby pokrylo celý prostor bez deformace stran */
    z-index: 1;
}

/* --- RESPONZIVNÍ ÚPRAVA (Pro mobily a tablety) --- */
@media (max-width: 768px) {
    .video-banner {
        height: auto;          /* Výška už není fixní, ale přizpůsobí se obsahu */
        display: block;        /* Přepneme na běžný blokový prvek */
    }

    .bg-video {
        position: relative;    /* Vyjmeme video z absolutního pozicování */
        width: 100%;           /* Video bere 100% šířky displeje */
        height: auto;          /* Výška se dopočítává automaticky -> video se zmenšuje bez ořezu */
        object-fit: contain;   /* Zamezí jakémukoliv ořezání stran */
        display: block;
    }
}

@media (min-width: 800px) {
    .rowe {
        display: flex;
    }

    .cols{
        width: 100%;
    }

    .cols + .cols{
        margin-left: 2em;
    }
    .rowitem {
        display: flex;
        gap: 1rem;
    }

    .col-1 {
        flex: 1;
    }

    .col-2 {
        flex: 2;
    }
    .col-1 +  .col-2{
        margin-left: 3em;
    }
}
@media (max-width: 799px) {
    .rowe {
        display: flex;
        flex-direction: column; /* ZMĚNA: Na mobilu půjdou sloupce POD sebe */
    }

    /* Resetujeme boční okraje, které by na mobilu tlačily sloupce doprava */
    .cols + .cols {
        margin-left: 0;
        margin-top: 1.5em; /* Mezera mezi sloupci pod sebou */
    }

    .col-1 + .col-2 {
        margin-left: 0;
        margin-top: 1.5em; /* Mezera mezi sloupci pod sebou */
    }
}



.button{
    display: inline-block;
    max-width: 250px;
    margin: 10px 5px 10px 0;
    padding: 8px 35px;
    color: #ffffff;
    font-weight: 300;
    text-align: center;
    transition: all 0.1s ease;
    background: #e95314;
    box-shadow: 1px 1px 6px 1px rgba(43, 43, 43, 0.55);
    text-decoration: none;
}

.button:visited {
    color: #faf8f8;
    background:  #e95314;
    border-color: #464646;
}

.button:hover {
    transition: all 0.5s ease-out;
    background: rgba(0, 0, 0, 0.11);
    color:   #e95314;
}
.facebook-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;  /* Velikost kroužku */
    height: 23px;
    border-radius: 50px; /* Pro zaoblený čtverec změňte na border-radius: 12px; */

    /* Oficiální Facebook modrá */
    background-color: #1877F2;

    transition: transform 0.2s ease;
    margin-right: 10px;
}

/* Efekt při najetí myší */
.facebook-icon-wrapper:hover {
    transform: scale(1.08);
}

.instagram-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;  /* Velikost kroužku */
    height: 23px;
    border-radius: 50px; /* Dělá kroužek, pro čtverec změňte na border-radius: 12px; */

    /* Oficiální Instagram gradient */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);

    transition: transform 0.2s ease;
}

/* Jemný efekt při najetí myší */
.instagram-icon-wrapper:hover {
    transform: scale(1.08);
}
.odkaz{
    color: #f59e0b;
}


.logo-grid {
    position: sticky;
    bottom: 0;
    z-index:999;
    text-align: center;
    background: rgb(236 233 233);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    border-top: 1px solid #ccc;
    padding: 0;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

.loga{
    width: 120px;

}

.loga_rammer{
    width: 60px;
}

.ramecek{
    background: rgb(236 233 233);
    padding: 25px;
    border-radius: 10px;
}

.odkaz_bila{
    color: #fbf9f9;
}
.odkaz_bila:hover{
    color: #f59e0b;
}

.kontakt{
    padding: 20px;
    margin-top: 20px;
    background: rgb(236 233 233 / 0.36);
}

.odkazhref{
    color: #f59e0b;
    text-decoration: underline;
}

.odkazhref:hover{
    color: #cd622d;
}

ul.seznam {
    margin: 1.5em 3em;
    padding-left: 0;
    list-style: none;
}

ul.seznam li {
    position: relative;
    padding-left: 2.1rem;
    margin-bottom: 12px;
    line-height: 1.5em;
}

ul.seznam li:last-child {
    margin-bottom: 0;
}

ul.seznam li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../svg/check-lg.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.citat {
    /* Lehký šedý podklad a jemný rámeček */
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;

    /* Odsazení a okraje */
    margin: 1.5em 0;
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;

    /* Příprava pro uvozovku na pozadí */
    position: relative;
    overflow: hidden;
}

/* Styl pro samotný text citátu */
.citat p {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #212529;
    line-height: 1.6;
}

/* Styl pro autora citátu */
.citat cite {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: normal;
    font-weight: 600;
}

/* Velká dekorativní uvozovka na pozadí */
.citat::before {
    content: "“";
    position: absolute;
    right: 15px;
    bottom: -55px;
    font-size: 8rem;
    line-height: 1;
    color: #e9ecef;
    pointer-events: none;
}

/* 1. RESPONZIVNÍ OBAL (Klíčové pro mobily) */
.table-container {
    width: 100%;
    overflow-x: auto; /* Povolí vodorovný posuvník na malých displejích */
    -webkit-overflow-scrolling: touch; /* Plynulé skrolování na iOS */
    margin: 1.4rem 0;
   border: 1px solid #dee2e6;
}

/* 2. STYL TABULKY */
.gray-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background-color: #ffffff;
    min-width: 500px;
}

/* Hlavička tabulky */
.gray-table thead tr {
    background-color: #343a40;
    color: #ffffff;
    font-weight: 600;
}

/* Společný styl pro buňky */
.gray-table th{
    background-color: #e95314;
    color: white;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}
.gray-table td {
    padding: 6px 15px;
    border-bottom: 1px solid #dee2e6; /* Světle šedé linky */
}

/* Střídání barev řádků (Zebra pattern) */
.gray-table tbody tr:nth-of-type(even) {
    background-color: #f8f9fa; /* Velmi světlá šedá na každý druhý řádek */
}

/* Poslední řádek bez spodního rámečku (kvůli zaoblení obalu) */
.gray-table tbody tr:last-of-type {
    border-bottom: none;
}

/* Hover efekt při najetí myší */
.gray-table tbody tr:hover {
    background-color: #e9ecef; /* Mírně tmavší šedá při najetí */
    transition: background-color 0.2s ease;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap; /* Na mobilech se odkazy zalomí pod sebe */
    gap: 8px; /* Mezera mezi odkazy a oddělovači */
    padding: 10px 0;
    font-family: sans-serif;
    font-size: 0.9rem;
}

/* Styl pro všechny odkazy */
.breadcrumbs a {
    color: #6c757d; /* Středně šedá */
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Hover efekt pro odkazy */
.breadcrumbs a:hover {
    color: #212529; /* Tmavě šedá při najetí myší */
    text-decoration: underline;
}

/* Automatické vložení lomítka mezi odkazy */
.breadcrumbs a:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #adb5bd; /* Světle šedá barva pro lomítko */
    pointer-events: none; /* Lomítko nebude klikací */
}

/* Styl pro poslední (aktuální) položku */
.breadcrumbs a:last-child {
    color: #212529; /* Tmavá barva pro aktuální stránku */
    font-weight: 600; /* Zvýraznění tučným písmem */
    pointer-events: none; /* Vypne klikatelnost na aktuální stránce */
}




.page-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid #e9ecef; /* Jemná dělicí linka nad navigací */
    font-family: sans-serif;
}

/* Společný styl pro oba odkazy */
.page-nav__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    max-width: 45%;
    transition: transform 0.2s ease;
}

/* Malý štítek (Předchozí / Následující) */
.page-nav__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #868e96; /* Světle šedá */
    margin-bottom: 4px;
}

/* Název konkrétního stroje */
.page-nav__title {
    font-size: 1rem;
    font-weight: 600;
    color: #212529; /* Tmavá barva */
}

/* Zarovnání textu pro "Následující" doprava */
.page-nav__link--next {
    text-align: right;
    margin-left: auto;
}

/* Vybarvení textu do oranžové při najetí myší */
.page-nav__link:hover .page-nav__title {
    color: #ff8c00; /* Vaše oranžová */
    text-decoration: underline;
}

/* Jemný posun šipky/odkazu při najetí (hover efekt) */
.page-nav__link--prev:hover {
    transform: translateX(-4px);
}
.page-nav__link--next:hover {
    transform: translateX(4px);
}

/* Responzivita pro mobily */
@media (max-width: 576px) {
    .page-nav {
        flex-direction: column;
        gap: 20px;
    }
    .page-nav__link {
        max-width: 100%;
    }
    .page-nav__link--next {
        text-align: left;
        margin-left: 0;
    }
}



.prava{
    text-align: right;
}

.custom-counter {
    margin: 10px;
    padding: 15px;
    list-style-type: none;
    list-style-position: inside;
}
.custom-counter li {
    counter-increment: step-counter;
    margin-bottom: 15px;
    line-height: 1.5;
}
.custom-counter li::before {
    content: counter(step-counter);
    margin-right: 20px;
    font-size: 80%;
    background-color: rgb(180, 180, 180);
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 11px;
}

#cookie-bar, .cookie-container {
    display: none;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 100000 !important;
    width: calc(100% - 40px);
    max-width: 400px;
    background: rgb(43 43 43) !important;
    color: orange !important;
    padding: 20px !important;
    border: 1px solid orange !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    flex-direction: column;
    gap: 15px;
    box-sizing: border-box;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
}

.cookie-text a {
    color: orange;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background-color 0.3s ease;
}

#cookie-accept-all {
    background: orange;
    color: #2b2b2b;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.2s;
}

#cookie-accept-all:hover {
    background: rgb(176 243 210 / 0.97);
}

#cookie-reject {
    background: transparent;
    color: orange;
    border: 1px solid orange;
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s;
}

#cookie-reject:hover {
    background: #edae8f;
    color: #fff;
}

.cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9998;
    background: #e5682d;
    color: #fff;
    border: 1px solid orange;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.cookie-settings-btn:hover {
    transform: scale(1.05);
    background-color: rgb(4 104 55 / 0.53);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.cookie-settings-btn:active {
    transform: scale(0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cookie-settings-btn i {
    font-size: 24px;
}

.cookie-close {
    text-align: center;
    font-size: 0.6em;
}

/* MEDIA QUERY PRO MOBILY (užší než 480px) */
@media screen and (max-width: 480px) {
    #cookie-bar, .cookie-container {
        right: 10px !important;
        bottom: 10px !important;
        width: calc(100% - 20px); /* Menší okraje na malých displejích */
        max-width: none; /* Zrušíme limit 300px */
    }

    .cookie-settings-btn {
        bottom: 10px;
        right: 10px;
    }
}