* {
    margin: 0;
    padding: 0;
    font-family: "Saira", sans-serif;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
        url('img/gears.jpg');

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    background-color: #bbb;
}

main {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
}

header {
    background-color: #bbb;
    position: relative;
}

#logo {
    height: 8em;
    display: flex;
    justify-content: start;
    align-items: center;
}

#logo img {
    margin-left: 5vw;
    max-height: 82%;
    width: clamp(200px, 20vw, 300px);
}

.h-logo-area {
    display: flex;
    justify-content: space-between;
}

.h-kontakt {
    display: flex;
    margin-right: 5vw;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    font-size: clamp(12px, 1.2vw, 18px);
    color: #111;
    font-weight: 500;
    gap: clamp(20px, 13vw - 80px, 170px);
}

.h-kontakt a {
    color: #111;
    text-decoration: none;
}

#poptat-button {
    background-color: #ffcd00;
    text-decoration: none;
    color: inherit;
    padding: .7em 1em;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
}

#poptat-button:hover {
    background-color: #e6b800;
    transform: scale(1.03);
    cursor: pointer;
}

.h-kontakt i {
    padding-right: clamp(10px, 1.2vw, 20px);
}

nav {
    text-transform: uppercase;
    background-color: #ffcd00;
    height: 5em;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 3em;
    height: 100%;
}

nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: clamp(15px, 1.5vw, 18px);
    height: fit-content;
    padding: 3px;
    letter-spacing: 2px;
}

@media (hover : hover) and (pointer: fine) {
    .nav-links:hover {
        transform: scale(1.1);
        border-bottom: #333 3px solid;
    }
}

.aktivni {
    transform: scale(1.1);
    border-bottom: #333 3px solid;
}

.dropdown-menu {
    display: none;
    position: absolute;
    list-style: none;
    height: fit-content;
    width: 310px;
    background-color: white;
    box-shadow: 1px 3px 4px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown.open #sluzby {
    border: none;
    padding-bottom: 5px;
    transform: scale(1.1);
}

.dropdown-menu li a {
    padding: 10px 15px;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 450;
}

@media (hover : hover) and (pointer: fine) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown:hover #sluzby {
        transform: scale(1.1);
        border: none;
        padding-bottom: 5px;
    }

    .dropdown-menu li a:hover {
        background-color: #e6b800;
        padding-left: 23px;
        font-weight: 600;
    }
}

footer {
    background-color: #bbb;
    height: 10em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111;
}

footer img {
    max-height: 50%;
    border-right: #ffcd00 solid 2px;
    padding-right: 2.5vw;
    margin-left: 5vw;
    object-fit: contain;
    width: clamp(200px, 20vw, 280px);
}

.f-kontakt {
    display: flex;
    justify-content: space-evenly;
    flex-grow: 1;
    margin-right: 10px;
    margin-left: 10px;
}

.f-kontakt-item {
    display: flex;
    align-items: center;
}

.f-kontakt-item h4 {
    text-transform: uppercase;
    font-size: clamp(10px, 1.2vw, 18px);
}

.f-kontakt-item i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5vw;
    width: 2.5vw;
    min-height: 25px;
    min-width: 25px;
    aspect-ratio: 1 / 1;
    font-size: 1.25vw;
    background-color: #afafaf;
    border: #999 solid 1px;
    border-radius: 10px;
    margin-right: 20px;
}

.f-kontakt-item p {
    font-size: clamp(10px, 1.1vw, 16px);
}

.f-kontakt-item a {
    color: #111;
    text-decoration: none;
    font-size: clamp(10px, 1.1vw, 16px);
}

#poptat-button-f {
    background-color: #ffcd00;
    text-decoration: none;
    color: inherit;
    padding: .7em 1em;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    margin-right: 5vw;
    text-wrap: nowrap;
    font-size: clamp(12px, 1.2vw, 16px);
}

#poptat-button-f:hover {
    background-color: #e6b800;
    transform: scale(1.03);
    cursor: pointer;
}

#poptat-button-f i {
    padding-right: 20px;
}

.f-poptat {
    display: flex;
    align-items: center;
    height: 80px;
    border-left: #ffcd00 solid 2px;
    padding-left: 2.5vw;
}

.banner {
    background-color: #111;
    padding: 2.5vw 6.5vw;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0.1)),
        url('img/banner.jpg');
    background-size: cover;
    background-position: center;
}

.banner h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: clamp(65px, 7vw, 80px);
    border-bottom: 4px solid;
    border-image: linear-gradient(to right, #ffcd00 0%, transparent 105%) 1;
    width: fit-content;
    height: fit-content;
    line-height: 1em;
    margin-bottom: 20px;
}

.banner h1 span {
    color: #ffcd00;
}

.banner p {
    color: #fff;
    margin-left: 10px;
    font-size: clamp(14px, 1.5vw, 16px);
}

#uvod .banner {
    height: 33em;
    background-image:
        linear-gradient(100deg,
            #000000 0%,
            #000000 60%,
            transparent 80%),
        url('img/DSC_0473.JPG');

    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
}

@media (max-width: 1600px) {
    #uvod .banner {
        background-image: linear-gradient(100deg,
                #000000 0%,
                #000000 60%,
                transparent 80%),
            url('img/BOMAG_trim.JPG');
    }
}

#uvod .banner h1 {
    width: 50%;
    font-size: clamp(50px, 5vw, 70px);
    margin-top: 1em;
}

#uvod .banner p {
    font-size: 17px;
}

main>h2 {
    font-size: clamp(20px, 2vw, 25px);
    margin: 0 auto;
    margin-top: 1em;
    text-transform: uppercase;
    border-bottom: 5px solid #ffcd00;
    width: fit-content;
    color: #111;
    text-align: center;
    max-width: 80%;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 auto;
    padding-top: 20px;
    box-sizing: border-box;
    margin-bottom: 2em;
    max-width: 70%;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #555;
    border-left: 11px solid #ffcd00;
    max-height: fit-content;
}

.icon-desc {
    display: flex;
    align-items: center;
}

.kruh {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffcd00;
    border-radius: 50%;
    min-width: clamp(50px, 7vw, 100px);
    max-width: clamp(50px, 7vw, 100px);
    min-height: clamp(50px, 7vw, 100px);
    max-height: clamp(50px, 7vw, 100px);
    margin: 0 clamp(15px, 3vw - 8.5px, 50px);
}

.kruh img {
    width: 60%;
}

.list-item .description {
    flex: 1;
}

.list-item .description h3 {
    text-transform: uppercase;
    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.list-item .description p {
    color: #ccc;
    font-size: clamp(12px, 1.1vw, 16px);
}

.list-img {
    max-height: 12em;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.odvoz {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background:
        linear-gradient(to right, rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)),
        url('img/banner.jpg');
    background-size: cover;
    background-position: center;
    margin: 2em auto;
    border: #ffcd00 solid 4px;
    width: 75%;
    padding: 2em;
}

.odvoz .kruh {
    min-width: clamp(75px, 10vw, 150px);
    max-width: clamp(75px, 10vw, 150px);
    min-height: clamp(75px, 10vw, 150px);
    max-height: clamp(75px, 10vw, 150px);
    margin-left: 0;
}

.odvoz .kruh img {
    width: 75%;
}

.o-icon-h4 {
    align-items: center;
}

.kruh-container {
    border-right: #ffcd00 solid 3px;
    padding-right: clamp(20px, 6.25vw - 60px, 60px);
}

.odvoz .info {
    margin-left: clamp(20px, 6.25vw - 60px, 60px);
    margin-right: clamp(20px, 6.25vw - 60px, 60px);
}

.odvoz h4 {
    font-size: clamp(15px, 1.3vw, 25px);
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}

.odvoz p {
    color: #ccc;
    font-size: clamp(12px, 1.1vw, 16px);
    text-wrap: wrap;
}

.odvoz .img-container {
    width: 50%;
    display: flex;
    gap: 1.8vw;
    height: fit-content;
    align-items: center;
}

.odvoz .img-container img {
    width: 100%;
}

.kontakt {
    position: relative;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.kontakt-item {
    min-height: 100px;
    color: #111;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #bbb;
}

.kontakt-item h4 {
    text-transform: uppercase;
    font-size: 25px;
}

.kontakt-item p {
    font-size: 20px;
}

.kontakt-item a {
    color: #111;
    text-decoration: none;
}

.kontakt-item i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    aspect-ratio: 1 / 1;
    font-size: 30px;
    background-color: #333;
    color: #ffcd00;
    border-radius: 10px;
    margin-right: 40px;
}

.no-border {
    border: none;
}

.kontakt-mapa {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    margin: 2em 6em;
    align-items: center;
    background-color: #fff;
    border: #ccc 1px solid;
}

.mapa {
    position: relative;
    width: 50%;
}

.collage {
    width: 90%;
    margin: 2em auto;
    border: #ccc 1px solid;
}

.collage-container {
    display: grid;
    grid-template-columns: repeat(100, 1fr);
    grid-template-rows: repeat(100, 1fr);
    max-width: 100%;
    aspect-ratio: 4 / 1;
    background-color: #fff;
    padding: 8px;
}

.collage-container.mirror {
    transform: scaleX(-1);
}

.collage-container.mirror .collage-item {
    transform: scaleX(-1);
}

.collage-item {
    color: #fff;
    position: relative;
    overflow: hidden;
    background-color: #333;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-1 {
    grid-column: 1 / 24;
    grid-row: 1 / 49;
}

.item-2 {
    grid-column: 25 / 37;
    grid-row: 1 / 68;
}

.item-3 {
    grid-column: 38 / 65;
    grid-row: 1 / 47;
}

.item-4 {
    grid-column: 66 / 82;
    grid-row: 1 / 47;
}

.item-5 {
    grid-column: 83 / 101;
    grid-row: 1 / 63;
}

.item-6 {
    grid-column: 1 / 24;
    grid-row: 53 / 101;
}

.item-7 {
    grid-column: 25 / 37;
    grid-row: 72 / 101;
}

.item-8 {
    grid-column: 38 / 69;
    grid-row: 51 / 101;
}

.item-9 {
    grid-column: 70 / 82;
    grid-row: 51 / 101;
}

.item-10 {
    grid-column: 83 / 101;
    grid-row: 67 / 101;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-obsah {
    max-width: 80%;
    max-height: 80%;
}

#modal-galerie .zavrit {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.predchozi,
.dalsi {
    position: absolute;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
}

.predchozi {
    left: 40px;
}

.dalsi {
    right: 40px;
}

.predchozi:hover,
.dalsi:hover,
.zavrit:hover {
    transform: scale(1.2);
}

.prodej {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2em auto;
    width: 87%;
    padding: 1em;
    background-color: #fff;
    border: #ccc 1px solid;
}

.prodej .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 300px;
    min-height: 300px;
    height: fit-content;
    background-color: #ccc;
    padding: 10px;
    border: #bbb 1px solid;
    cursor: pointer;
}

.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail {
    background-color: #ffcd00;
    padding: 7px 10px;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 18px;
    border: #bbb 1px solid;
}

.prodej .item .cena {
    font-weight: 500;
    font-size: 20px;
}

.detail:hover {
    background-color: #e6b800;
    transform: scale(1.03);
    cursor: pointer;
}

.prodej .item h6 {
    font-size: 25px;
    font-weight: 500;
    text-transform: capitalize;
}

.prodej .item img {
    max-width: 100%;
}

#modal-prodej {
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-prodej-obsah {
    position: relative;
    background-color: #fff;
    width: 85%;
    height: fit-content;
    max-height: 75%;
    padding: 40px;
    display: flex;
    gap: 40px;
    overflow-y: auto;
}

#modal-prodej .zavrit {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
    z-index: 10;
}

#modal-prodej .foto-popis {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 20px;
}

#modal-prodej .foto {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

#modal-prodej .main-photo {
    flex: 0 1 auto;
    min-width: 0;
}

#modal-prodej .main-photo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    cursor: pointer;
}

#modal-prodej .dalsi-fotky {
    width: 110px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
}

#modal-prodej .dalsi-fotky img {
    width: 100%;
    flex: 1 1 0;
    min-height: 80px;
    object-fit: cover;
    cursor: pointer;
}

#modal-prodej h5 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    margin-bottom: 10px;
}

#modal-prodej .popis {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

#modal-prodej .popis p {
    line-height: 1.5em;
    margin-bottom: 10px;
}

#modal-prodej .info {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#modal-prodej h4 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0;
}

#modal-prodej .cena {
    font-size: 26px;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0;
}

#modal-prodej .zajem {
    background-color: #ffcd00;
    text-decoration: none;
    color: inherit;
    padding: .7em 1em;
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    width: fit-content;
}

#modal-prodej .zajem:hover {
    background-color: #e6b800;
    transform: scale(1.03);
    cursor: pointer;
}

#modal-prodej .zajem i {
    padding-right: 15px;
}

.parametry {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.param {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #bbb;
    font-size: 15px;
}

.nadpis {
    width: 50%;
    font-weight: 600;
}

.parametr {
    width: 50%;
}

.last {
    border: none;
}

.vykup-content {
    width: 80%;
    margin: 2em auto;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border: #ccc 1px solid;
    padding: 1em;
    padding-bottom: 0;
}

.vykup-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.vykup-images img {
    width: 30%;
    flex-shrink: 1;
}

.vykup-points {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5vw;
    gap: clamp(20px, 6.25vw - 60px, 60px);
}

.vykup-points .item {
    display: flex;
    align-items: center;
    border-right: #ffcd00 solid 2px;
    padding-right: clamp(20px, 6.25vw - 60px, 60px);
}

.vykup-points h4 {
    text-transform: uppercase;
    font-size: clamp(10px, 1.2vw, 20px);
}

.vykup-points p {
    font-size: clamp(8px, 1vw, 15px);
}

.vykup-points .kruh {
    margin-left: 0;
    margin-right: 1.6vw;

    min-width: clamp(50px, 5.5vw, 100px);
    max-width: clamp(50px, 5.5vw, 100px);
    min-height: clamp(50px, 5.5vw, 100px);
    max-height: clamp(50px, 5.5vw, 100px);
}

#vykup-last-item {
    border: none;
    padding: 0;
}

.uvod-items {
    display: flex;
    width: 80%;
    margin: 2em auto;
    gap: 20px;
    justify-content: center;
}

.uvod-items .item {
    display: flex;
    position: relative;
    background-color: #fff;
    width: 80%;
    border: #ccc solid 1px;
}

.uvod-items .kruh {
    background-color: black;
    position: absolute;
    top: clamp(10px, 1.2vw, 20px);
    left: clamp(10px, 1.2vw, 20px);
    margin-left: 0;
    min-width: clamp(50px, 5.5vw, 100px);
    max-width: clamp(50px, 5.5vw, 100px);
    min-height: clamp(50px, 5.5vw, 100px);
    max-height: clamp(50px, 5.5vw, 100px);
}

.uvod-items .text {
    margin-left: clamp(70px, 8vw, 160px);
    margin-top: clamp(10px, 2vw, 30px);
    margin-right: clamp(10px, 2vw, 30px);
    margin-bottom: 10px;
    flex-grow: 1;
}

.uvod-items .text h2 {
    text-transform: uppercase;
    font-size: clamp(14px, 1.2vw, 20px);
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #ffcd00 0%, transparent 105%) 1;
    width: 100%;
}

.uvod-items ul {
    margin-top: 8px;
    list-style: none;
    margin-left: 4px;
}

.uvod-items li {
    font-size: clamp(10px, 1vw, 18px);
}

.uvod-items li::before {
    content: "●";
    padding-right: 8px;
    color: #ffcd00;
}

.omne {
    display: flex;
    height: fit-content;
    margin: 2em auto 0 auto;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('img/banner.jpg');

    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 5vw, 100px);
    padding: 3vw clamp(20px, 11.62vw - 70px, 8vw);
}

.omne img {
    max-height: 80%;
    object-fit: contain;
    width: clamp(30%, 25vw, 50%);
}

.omne .text {
    color: white;
    background-color: #111;
    height: 80%;
    width: 49%;
    padding: 10px 30px;
    flex-grow: 1;
}

.omne h4 {
    text-transform: uppercase;
    font-size: clamp(15px, 1.6vw, 30px);
    border-bottom: #ffcd00 5px solid;
    width: fit-content;
}

.omne .text p {
    margin-top: clamp(10px, 1vw, 20px);
    text-indent: 15px;
    font-size: clamp(10px, 1vw, 16px);
}

#podpis {
    text-indent: 0;
    font-size: clamp(10px, 1.4vw, 20px);
}

#modal-poptat {
    background-color: rgba(0, 0, 0, 0.6);
}

.form-modal {
    background-color: #fff;
    width: 40%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-modal h4 {
    text-transform: uppercase;
    font-size: 25px;
    border-bottom: 5px solid #ffcd00;
    width: fit-content;
    margin: 1em auto;
}

.form-modal form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-bottom: 2em;
    gap: 1.5vw;
    width: 50%;
}

.form-modal input,
.form-modal textarea {
    padding: 10px;
    font-size: clamp(16px, 1vw, 20px);
    border: 1px solid #aaa;
    outline: none;
    transition: border-color 0.2s ease;
    box-shadow: inset 1px 3px 4px 2px rgba(0, 0, 0, 0.2);
}

.form-modal input:focus,
.form-modal textarea:focus {
    border-color: #ffcd00;
}

.form-modal button {
    background-color: #ffcd00;
    height: 50px;
    font-size: 20px;
}

.form-modal button:hover {
    background-color: #e6b800;
    cursor: pointer;
}

.form-modal button:focus {
    background-color: #cea500;
}

.form-modal .zavrit {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
    z-index: 10;
}

#modal-zajem {
    background-color: rgba(0, 0, 0, 0.6);
}

#poptat button {
    text-transform: uppercase;
}

.burger {
    display: none;
}

.toast {
    /* Pozicování v pravém dolním rohu */
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;

    /* Vzhled */
    font-family: system-ui, -apple-system, sans-serif;
    background: #ffffff;
    border-left: 4px solid #10b981;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 360px;

    /* Animace - výchozí skrytá pozice */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Třída pro zobrazení toastu */
.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-icon {
    width: 28px;
    height: 28px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: #111;
}

.toast-desc {
    font-size: 13px;
    color: #333;
    margin-top: 2px;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast-icon.error {
    background: #fef2f2;
    color: #ef4444;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }

    .pc {
        display: flex;
    }
}

@media (max-width: 1024px) {
    .uvod-items {
        width: 95%;
    }

    .odvoz .img-container {
        width: clamp(100px, 20vw - 50px, 150px);
        flex-direction: column;
        flex-shrink: 0;
    }

    .modal-prodej-obsah {
        width: 80%;
        flex-direction: column;
        padding: 1em;
        padding-top: 3em;
        overflow-y: auto;
        gap: 10px;
    }

    .parametry {
        overflow-y: unset;
    }

    #modal-prodej .zavrit {
        top: 10px;
        right: 15px;
    }

    #modal-prodej h4 {
        font-size: 23px;
    }

    #modal-prodej .cena {
        font-size: 23px;
    }

    #modal-prodej .foto-popis {
        width: 100%;
        display: contents;
    }

    #modal-prodej .dalsi-fotky {
        width: 100%;
    }

    #modal-prodej .foto {
        flex-direction: column;
        order: 1;
    }

    #modal-prodej .dalsi-fotky {
        flex-direction: row;
        overflow-x: auto;
    }

    #modal-prodej .dalsi-fotky img {
        object-fit: contain;
        height: 100px;
        min-height: 100px;
        width: fit-content;
    }

    #modal-prodej .info {
        width: 100%;
        padding: 0;
        display: contents;
    }

    #modal-prodej .popis {
        flex-shrink: 0;
    }

    #modal-titulek {
        order: 2;
    }

    #modal-cena {
        order: 3;
    }

    #zajem-button {
        order: 4;
    }

    #modal-prodej .popis {
        order: 5;
    }

    #modal-parametry {
        order: 6;
    }

    .kontakt-mapa {
        flex-direction: column;
        width: 80%;
        margin: 2em auto;
    }

    .mapa {
        width: 100%;
    }

    .kontakt {
        width: 100%;
        margin: 0;
    }

    .kontakt-item h4 {
        font-size: 20px;
    }

    .kontakt-item p {
        font-size: 16px;
    }

    .kontakt-item i {
        margin-right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .form-modal {
        width: 60%;
    }

    .form-modal form {
        gap: 20px;
        width: 80%;
    }


    .f-kontakt {
        flex-direction: column;
        gap: 10px;
    }

    .f-kontakt-item {
        margin-left: 50px;
    }

    .f-kontakt-item i {
        height: 25px;
        width: 25px;
        font-size: 12px;
    }

    #uvod .banner {
        background-image: linear-gradient(to right bottom, #000000 0%, #000000e1 50%, #00000028 100%),
            url('img/BOMAG_trim.JPG');
        background-size: cover;
    }

    #uvod .banner p {
        max-width: 60%;
    }
}

@media (max-width: 768px) {
    .mobile {
        display: flex;
    }

    .pc {
        display: none;
    }

    #logo {
        height: 3em;
    }

    .h-kontakt {
        gap: 5vw;
        justify-content: flex-end;
    }

    .h-kontakt i {
        padding-right: 2vw;
    }

    .h-kontakt p {
        display: none;
    }

    .h-logo-area {
        align-items: center;
        gap: 10px;
    }

    #logo img {
        width: auto;
    }

    .burger {
        display: flex;
        right: 15px;
        top: 13px;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #333;
        /* match your color scheme */
        border-radius: 2px;
    }

    /* animate into an X when open */
    .burger.open span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    #nav {
        display: none;
        /* hidden by default */
        position: absolute;
        top: 100%;
        /* right below the header */
        right: 0;
        width: 80%;
        height: fit-content;
        background: #111;
        /* match your site's background */
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    #nav.open {
        display: block;
        /* shown when toggled */
    }

    .aktivni {
        transform: none;
        border-bottom-color: #ffcd00;
    }

    .nav-links {
        width: fit-content;
    }

    .dropdown-menu {
        box-shadow: none;
    }

    #nav ul {
        flex-direction: column;
        width: 100%;
        gap: 5vw;
        padding: 2vw;
        background-color: #111;
        height: auto;
    }

    #nav ul li {
        width: 100%;
        text-align: left;
    }

    #nav ul li a {
        color: #fff;
    }

    .dropdown-menu li a {
        font-size: 12px;
    }

    /* dropdown submenu becomes inline/expanded on mobile instead of hover-popup */
    .dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown.open .banner {
        padding-top: 2em;
        padding-left: 1em;
    }

    .banner {
        padding-top: 1.5em;
    }

    .banner p {
        margin-left: 0;
    }

    #uvod .banner {
        height: 13em;
        background-image: linear-gradient(to right bottom, #000000 0%, #000000e1 40%, #00000028 100%),
            url('img/BOMAG_trim.JPG');
        background-size: cover;
        padding-top: 1em;
    }

    #uvod .banner h1 {
        margin: 0;
        font-size: 22px;
        width: 70%;
        padding-bottom: 10px;
    }

    #uvod .banner p {
        font-size: 12px;
        width: 60%;
        margin-top: 10px;
    }

    .uvod-items {
        flex-direction: column;
        height: fit-content;
        align-items: center;
        width: 90%;
    }

    .uvod-items .item {
        width: 100%;
    }

    .uvod-items .text {
        margin-left: 25%;
        margin-top: 3vw;
        margin-bottom: 2vw;
    }

    .omne {
        flex-direction: column-reverse;
        height: fit-content;
        max-width: 100%;
        margin: 0;
        gap: 20px;
        padding: 20px 0;
    }

    .omne .text {
        margin: 0;
        width: 90%;
    }

    .omne img {
        margin: 0;
        width: 90%;
    }

    footer {
        height: fit-content;
        padding: 20px 0;
    }

    .f-poptat {
        display: none;
    }

    footer img {
        max-width: 30%;
    }

    .f-kontakt {
        flex-direction: column;
        gap: 10px;
    }

    .f-kontakt-item {
        margin-left: 30px;
    }

    .f-kontakt-item i {
        height: 25px;
        width: 25px;
        font-size: 12px;
    }

    .form-modal {
        width: 80%;
    }

    .form-modal input,
    .form-modal textarea {
        font-size: 12px;
    }

    .form-modal form {
        gap: 20px;
        width: 80%;
    }

    .banner {
        height: 9em;
    }

    .banner h1 {
        font-size: 30px;
    }

    .banner p {
        font-size: 12px;
    }

    main>h2 {
        font-size: 20px;
    }

    .list {
        max-width: 80%;
    }

    .list-item {
        flex-direction: column;
        padding: 1em;
    }

    .list-img {
        clip-path: none;
    }

    .list-item .description h3 {
        font-size: 16px;
    }

    .list-item .description p {
        font-size: 12px;
    }

    .kruh {
        margin-left: 0;
    }

    .list-item .description {
        margin-left: 1em;
    }

    .icon-desc {
        margin-bottom: 1em;
        align-items: start;
    }

    .odvoz {
        flex-direction: column;
        padding: 1.5em;
        gap: 1em;
        width: 80%;
    }

    .o-icon-h4 {
        align-items: center;
    }

    .kruh-container {
        padding-right: 1em;
    }

    .odvoz h4 {
        margin-left: 1em;
    }

    .odvoz .img-container {
        width: 90%;
        flex-direction: column;
    }

    .vykup-images {
        flex-direction: column;
    }

    .vykup-images img {
        width: 100%;
    }

    .vykup-points {
        margin: 0;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 1em;
        margin-bottom: 1em;
        justify-content: space-between;
    }

    .vykup-points .item {
        width: 45%;
        border: none;
        padding: 0;
    }

    .collage-container {
        display: contents;
    }

    .collage-item {
        max-width: 30%;
    }

    .collage {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        background-color: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}