.nav-item {padding-left: 20px; padding-right: 20px; text-transform: uppercase;}
.mega-menu {
    display: none;
    background: rgba(255,255,255,0.2);
    box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    padding: 1.5rem 0;
}

.mega-menu a {
    display: block;
    color: white;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}

.mega-menu a:hover {
    color: #fff;
}
@media screen and (min-width: 993px) {
    .container {max-width: 90%;}
}
.banner {
    height: 50vh;
    position: relative;
    background-size: cover;
}
.hoverize {
    position: relative;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.hoverize::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: white;
    transition: width 0.3s;
}

.hoverize:hover {
    color: white;
}

.hoverize:hover::after {
    width: 100%;
}
.banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.85) 25%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.banner-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}
.banner h1,h2 {color: white;z-index: 999; }
.banner h1 {font-size: 5.4rem; font-weight: 400;}
.banner h2 {font-size: 2.3rem; font-weight: 400;}
.solutions_box h3 {color: white; font-size: 1.5rem;}

.block_solutions .card-link-wrapper {
    text-decoration: none;
    color: inherit;
}

.block_solutions .custom-card {
    border: none;
    overflow: hidden;
    transition: transform 0.2s ease;
    cursor: pointer;
    border-radius: 0px;
}

.block_solutions .custom-card img {
    transition: transform 0.8s ease;
}

.block_solutions .custom-card img {
    transform: scale(1.02);
}
.block_solutions .custom-card:hover img {
    transform: scale(1.07);
}

.block_solutions .read-more {
    font-weight: 500;
    margin-top: 10px;
    text-decoration: underline;
    display: inline-block;
}

.block_solutions .card-body {background: black;}
.block_solutions .card-body {color: white;}
.block_solutions .h4 {font-weight: 400;}

h3 {border-left: 4px solid #EB2325; padding-left: 10px;}
.right_but_mob_left {text-align: right;}
@media screen and (max-width: 767px) {
    .banner h1 {font-size: 2.5rem;}
    .banner h2 {font-size: 1.3rem;}
    .right_but_mob_left {text-align: left;}
    .image-box {height: 550px !important;}
}
.news-box {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    height: 420px;
    cursor: pointer;
}

/* nový vnitřní prvek pro obrázek */
.news-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    transform: scale(1);
}

.news-box:hover .news-bg {
    transform: scale(1.05);
}

/* gradient */
.news-box::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    pointer-events: none;
}

/* glass */
.glass-tile {
    backdrop-filter: blur(6px);
    background: rgba(0,0,0,0.42);
    padding: 6px 12px;
    border-radius: 0px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
}

.tile-wrapper {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.news-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #fff;
}

.news-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 4px;
}

.news-perex {
    font-size: 15px;
    margin: 0;
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
@media screen and (max-width: 768px) {
    .banner-text {
        position: relative;
        bottom: 0px;
        left: 0px;
        transform: inherit;
        text-align: center;
        z-index: 10;
        padding-top: 200px;
    }
    .banner {height: 40vh;}
}
.custom-accordion .accordion-item {
    background: transparent;
    border: none;
}

.custom-accordion .accordion-button {
    background: transparent;
    color: #D6D6D6;
    box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #D6D6D6;
}

/* hr pod každou sekcí */
.custom-accordion hr {
    border: 1.5px solid #D6D6D6;
    margin: 0;
}
.custom-accordion .accordion-item {background: transparent;}
.accordion-body { color: #D6D6D6;}
.accordion-header {margin-left: -18px;}
.custom-accordion .accordion-button::after,
.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23D6D6D6'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
}
.custom-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}
.btn-primary {background: #191D26; border-radius: 0px; color: white; border: 1px solid #191D26;}
.btn-primary img {margin-left: 10px; margin-right: 10px; width: 20px;}
.btn-primary:hover {background: #0a0b0e !important; border: 1px solid #0a0b0e; }
.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.back-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #000;
}
.bg-black {background: transparent !important;}
.intro_wo_banner {text-align: center;}
.intro_wo_banner h1 {color: white; font-size: 4rem; font-weight: 400;}
.intro_wo_banner h2 {color: #949494; font-size: 1.1rem; font-weight: 400;}
.box_approvals a{color: white; text-decoration: none; text-align: center; text-transform: uppercase; display: block; }

.image-wrapper {
    position: relative;
    display: inline-block;
    text-align: center;
}
.btn-info {border-radius: 0px; background: transparent; color: white !important; border: 1px solid transparent;}
.btn-info:hover {border-radius: 0px; background: transparent; color: white !important; border: 1px solid transparent; text-decoration: underline;}

.image-wrapper img {
    width: 100%;
    display: block;
    transition: 0.3s ease;
    margin-bottom: 10px;
}

.image-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* ztmavení */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    color: #fff;

    font-size: 2rem;
}

.image-wrapper:hover img {
    filter: brightness(60%);
}

.image-wrapper:hover .overlay {
    opacity: 1;
}
.image-wrapper {
    text-align: center;
    display: block;
    color: inherit;
    text-decoration: none;
}

.image-box {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    border-radius: 0px;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* vyplní box bez deformace */
    display: block;
    transition: transform 0.3s ease;
}

.image-box:hover img {
    transform: scale(1.05); /* jemný zoom při hover */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.5rem;
}

.image-box:hover .overlay {
    opacity: 1;
}

.box_charity span {color: white; font-size: 2rem;}
.box_charity p {color: #949494; }
.box_charity .box {padding-left: 5%; padding-right: 10%;}
.aspect-box {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 86.25%; /* výška = 16:9 poměr; pro čtverec 100% */
    background-position: center center;
    background-size: cover;
}

.image-title {
    margin-top: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}
.quote {
    color: white !important;
    font-size: 2rem;
    position: relative;
    padding: 1rem 2rem;
    display: inline-block; /* aby ::before a ::after fungovalo správně */
}

.quote::before,
.quote::after {
    font-family: "Arial", sans-serif;
    font-size: 3rem;
    color: white;
    position: absolute;
}

.quote::before {
    content: "“";
    top: -0.5rem;
    left: 0;
}

.quote::after {
    content: "”";
    bottom: -0.5rem;
    right: 0;
}
@media screen and (max-width: 767px) {
    .quote {font-size: 1.4rem;}
}
.no_border {border-left: none;}
.text-primary {color: white !important;}
.block_manuals h3 {color: #949494; font-size: 1.2rem;}
.block_manuals a {color: #D6D6D6;}
@media (min-width: 768px) { /* desktop */
    .row.g-3 .col-md-4:nth-child(3n+1) a { /* první sloupec v řádku */
        text-align: left;
    }
    .row.g-3 .col-md-4:nth-child(3n+2) a { /* druhý sloupec */
        text-align: center;
    }
    .row.g-3 .col-md-4:nth-child(3n) a { /* třetí sloupec */
        text-align: right;
    }
}

/* mobil (pod sebou) */
.row.g-3 .col-md-4 a {
    text-align: left; /* všechny pod sebou zarovnané vlevo */
}
.img-frame {
    position: relative;
    display: inline-block;
    padding: 10px; /* vzdálenost rohů od obrázku */
}


.img-frame img {
    width: 100%;
    display: block;
}


.img-frame::before,
.img-frame::after,
.img-frame span::before,
.img-frame span::after {
    content: "";
    position: absolute;
    width: 25px;   /* délka čáry */
    height: 25px;
    border-color: #626262;
    border-style: solid;
    border-width: 0;
}


.img-frame::before {
    top: 0;
    left: 0;
    border-top-width: 3px;
    border-left-width: 3px;
}


.img-frame::after {
    top: 0;
    right: 0;
    border-top-width: 3px;
    border-right-width: 3px;
}


.img-frame span::before {
    bottom: 0;
    left: 0;
    border-bottom-width: 3px;
    border-left-width: 3px;
}


.img-frame span::after {
    bottom: 0;
    right: 0;
    border-bottom-width: 3px;
    border-right-width: 3px;
}
.block_warranty strong {color: white;}
.block_warranty label {color: #d11d21;}

.modal-backdrop.show {
    opacity: 0.4;
    backdrop-filter: blur(6px);
}


.modal-dialog {
    max-width: 650px;
    margin: 80px auto;
}


.modal-content {
    border-radius: 0;
    border: 1px solid #121212;
    background: #ffffff;
    padding: 0;
    box-shadow: none;
    position: relative;
}


.modal-header {
    border-bottom: 1px solid #efefef;
    padding: 22px 28px;
}


.modal-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #121212;
}


.modal-header .btn-close {
    width: 18px;
    height: 18px;
    background: none;
    opacity: 1;
    margin: 0;
    padding: 0;
    border: none;
    position: absolute;
    right: 20px;
}

.modal-header .btn-close::before,
.modal-header .btn-close::after {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 18px;
    height: 1.8px;
    background: #000;
}

.modal-header .btn-close::before {
    transform: rotate(45deg);
}
.modal-header .btn-close::after {
    transform: rotate(-45deg);
}

.modal-header .btn-close:hover::before,
.modal-header .btn-close:hover::after {
    background: #d90000;
}


.modal-body {
    padding: 30px 28px 32px;
    font-size: 17px;
    line-height: 1.55;
    color: #222;
}
.modal-body p {color: black !important;}
.modal-body h4 {color: black !important; font-size: 15px !important;}
.modal-body h5 {color: black !important; font-size: 14px !important;}

.block_warranty h3{color: white; font-weight: 400; font-size: 2rem; margin-left: 0px; padding-left: 0px;}
.block_warranty p{color: white; font-size: .9rem;}
.block_warranty button{padding-left: 50px; padding-right: 50px;}
.block_warranty h4 {color: white; text-align: center; font-size: 1.9rem; line-height: 39px;}


.modal-footer {
    border-top: 1px solid #efefef;
    padding: 18px 28px;
}


.modal-footer .btn {
    border-radius: 0;
    padding: 10px 22px;
    font-size: 15px;
    letter-spacing: 0.4px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    transition: 0.25s;
}

.modal-footer .btn:hover {
    background: #fff;
    color: #000;
}
.modal-body form input {margin-bottom: 10px;}
.modal-body form select {margin-bottom: 10px;}
.detail_box h2 {font-weight: 400;}
.detail_box p {color: #949494 !important;}
.text-left {text-align: left;}
.detail_box ul {color: #949494;}
.detail_box h3 {color: white;}
.navbar {
    position: fixed; /* nebo relative/sticky podle potřeby */
    z-index: 100;
}

section.container-fluid {
    z-index: 1; /* sekce pod navbar */
}

.toggle_no_arrow:after{display: none;}

.login-card {
    max-width: 100%;
    border-radius: 0px;
    box-shadow: 0 8px 30px rgba(2,6,23,0.6);
    padding: 28px;
}


.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(29,33,48,0.12);
    border-color: rgba(29,33,48,0.8);
}


.btn-login {
    background-color: rgb(29,33,48);
    color: #fff;
    border-radius: 0px;
    padding: 10px 16px;
    font-weight: 600;
    border: none;
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {border-radius: 0px !important;}
.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {border-radius: 0px !important;}

.btn-login:hover, .btn-login:focus {
    filter: brightness(1.06);
    transform: translateY(-1px);
    background-color: rgb(31, 35, 48) !important;
    transition: all .4s;
}


.input-group .bi {
    font-size: 1.05rem;
    color: #6b7280;
}

.btn-outline-secondary:hover {background: transparent !important;}


.muted-small { color: #6b7280; font-size: 0.875rem; }
.btn-login:hover, .btn-login:focus {color: white !important;}


@media (max-width: 480px) {
    .login-card { margin: 24px; }
}

.btn-primary.active {background: white; color: black;}
.btn-primary.active:hover {background: white !important;}