/* =========================
   NAVIGATION LAYOUT
========================= */

.main-nav-container {
    width: 100%;
    z-index: 9999;
}

.main-nav-container .row {
    align-items: center;
}

.sub-header {
    padding: 0;
    background: #19344a;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* TOGGLER */
.navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px;
}

.navbar-toggler span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    display: block;
}

/* MENU */
.navbar-nav .nav-link {
    color: #fff !important;
}

/* =========================
   FIXED HEADER
========================= */

.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #19344a !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: slideDown .3s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* PC - hamburger úplně pryč, schová se šipka u Služby */
@media (min-width: 992px) {

    /* LOGO */

    .logo-mobile-center {
        position: static;
        transform: none;
    }

    .sticky-logo {
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .navbar-toggler {
        display: none !important;
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    /* menu doprava */
    .navbar-nav{
        margin-left:auto;
    }


}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 991px) {

    .header-row{
        position: relative;
        display:flex;
        align-items:center;
    }

    /* sloupec s logem */
    .header-row > .col-6:first-of-type{
        flex: 1;
        max-width: 100%;
        text-align: center !important;
    }

    .sticky-logo{
        display:flex;
        /*justify-content:center;*/
        /*margin-left:15px;*/
        width: 100%;
        margin: 0;
    }

    .logo-mobile-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        padding: 0;
    }

    .sticky-logo img {
        /*margin: 0 auto;*/
        max-height: 55px;
        width: auto;
    }

    /* pravý sloupec */
    .header-row > .col-6:last-of-type{
        position: static;
    }

    .navbar{
        justify-content:flex-end;
    }

    .navbar-toggler{
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .navbar-collapse{
        margin-top:15px;
        background:#1f2326;
        padding:15px;
    }

}