/* Bossfitter modern header - Header Tip 1 */
:root {
    --bf-navy: #092b46;
    --bf-navy-deep: #061e33;
    --bf-teal: #00a6a6;
    --bf-text: #263747;
    --bf-white: #ffffff;
}

/* Ana navigasyon */
.header-main {
    width: 100% !important;
    background: var(--bf-white) !important;
    border-bottom: 1px solid #e7edf2;
    box-shadow: 0 5px 22px rgba(9, 43, 70, .07);
    position: relative;
    z-index: 100;
}

.header-main-in {
    width: 92% !important;
    max-width: 1400px;
    min-height: 92px;
    margin: 0 auto !important;
    display: flex;
    align-items: center;
}

.header-main-left {
    width: auto !important;
    min-width: 190px;
    max-width: 280px;
}

.header-main-left-table,
.header-main-left-table-ic {
    height: auto !important;
}

.header-main-left-table-ic img {
    display: block;
    max-width: 250px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-main-right {
    flex: 1;
    min-width: 0;
}

.header-main-right-table,
.header-main-right-table-ic {
    width: 100%;
}

.header-main-menu-div {
    padding-top: 0 !important;
}

.top-level-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-level-menu > li {
    margin: 0 2px !important;
}

.top-level-menu > li > a {
    display: block;
    padding: 13px 12px !important;
    border-radius: 5px;
    color: var(--bf-navy) !important;
    font-weight: 600;
    transition: color .2s ease, background .2s ease;
}

.top-level-menu > li:hover > a,
.top-level-menu > li > a:hover {
    color: var(--bf-teal) !important;
    background: #edfafa !important;
}

/* Menü ikonları ve alt menüler */
.top-level-menu > li > a i {
    transition: transform .2s ease;
}

.top-level-menu > li:hover > a i {
    color: var(--bf-teal);
}

.second-level-menu,
.third-level-menu {
    border: 1px solid #e6edf2;
    border-radius: 7px;
    box-shadow: 0 12px 28px rgba(6, 30, 51, .12);
    background: var(--bf-white);
}

.second-level-menu li a:hover,
.third-level-menu li a:hover {
    color: var(--bf-teal) !important;
    background: #f1fbfb;
}

/* Üyelik, arama ve diğer işlem ikonları */
.header-main-menu-other-div {
    padding: 7px 8px;
}

.header-main-menu-other-div a:hover {
    color: var(--bf-teal);
}

/* Mobil uyumluluk */
@media (max-width: 1100px) {
    .header-main-in {
        width: 96% !important;
    }

    .header-main-left {
        min-width: 150px;
        max-width: 210px;
    }

    .header-main-left-table-ic img {
        max-width: 190px;
        max-height: 62px;
    }

    .top-level-menu > li > a {
        padding: 10px 7px !important;
    }
}

@media (max-width: 767px) {
    .header-main {
        display: none !important;
    }
}

/* Güçlendirilmiş Header Tip 1 stilleri */
body .header-main {
    width: 100% !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5edf3 !important;
    box-shadow: 0 5px 22px rgba(9, 43, 70, 0.09) !important;
}

body .header-main-in {
    width: 92% !important;
    max-width: 1400px !important;
    min-height: 92px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
}

body .header-main-left {
    width: 22% !important;
    min-width: 180px !important;
    display: block !important;
    text-align: left !important;
}

body .header-main-left-table {
    min-height: 92px !important;
}

body .header-main-left-table-ic img {
    max-width: 250px !important;
    max-height: 72px !important;
    margin: 10px 0 !important;
}

body .header-main-right {
    width: 78% !important;
    display: block !important;
    text-align: right !important;
}

body .header-main-right-table,
body .header-main-right-table-ic {
    min-height: 92px !important;
}

body .top-level-menu > li {
    margin: 0 2px !important;
}

body .top-level-menu > li > a {
    color: #092b46 !important;
    padding: 13px 10px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
}

body .top-level-menu > li:hover > a {
    color: #008f96 !important;
    background: #eaf8f8 !important;
}

@media (max-width: 1100px) {
    body .header-main-in {
        width: 96% !important;
    }

    body .header-main-left {
        width: 20% !important;
        min-width: 140px !important;
    }

    body .header-main-right {
        width: 80% !important;
    }
}


/* BOSSFITTER HEADER - SON GORUNUM DUZENLEMELERI */
@media (min-width: 1101px) {
    body .header-main-in {
        width: 94% !important;
        max-width: 1600px !important;
        min-height: 88px !important;
        gap: 18px !important;
    }

    body .header-main-left {
        width: 23% !important;
        min-width: 220px !important;
        flex-shrink: 0 !important;
    }

    body .header-main-left-table,
    body .header-main-right-table,
    body .header-main-right-table-ic {
        min-height: 88px !important;
    }

    body .header-main-left-table-ic img {
        max-width: 235px !important;
        max-height: 68px !important;
        object-fit: contain !important;
    }

    body .header-main-right {
        width: 77% !important;
        min-width: 0 !important;
    }

    body .top-level-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 2px !important;
    }

    body .top-level-menu > li {
        margin: 0 !important;
        white-space: nowrap !important;
    }

    body .top-level-menu > li > a {
        font-size: 12px !important;
        letter-spacing: .15px !important;
        padding: 12px 9px !important;
        transition: color .2s ease, background .2s ease !important;
    }
}

body .top-level-menu > li:hover > a {
    color: #008f96 !important;
    background-color: #eaf8f8 !important;
}

body .top-level-menu ul,
body .top-level-menu li ul {
    background: #ffffff !important;
    border-top: 3px solid #12b6ca !important;
    box-shadow: 0 12px 30px rgba(9, 43, 70, .15) !important;
}

body .top-level-menu ul li a,
body .top-level-menu li ul li a {
    color: #17364b !important;
}

body .top-level-menu ul li a:hover,
body .top-level-menu li ul li a:hover {
    color: #008f96 !important;
    background: #f0fafa !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
    body .header-main-in {
        width: 98% !important;
        gap: 8px !important;
    }

    body .header-main-left {
        min-width: 150px !important;
    }

    body .header-main-left-table-ic img {
        max-width: 180px !important;
    }

    body .top-level-menu > li > a {
        font-size: 11px !important;
        padding: 9px 5px !important;
    }
}

/* HEADER HIZALAMA DUZELTMESI */
@media (min-width: 1101px) {
    body .header-main-in {
        min-height: 82px !important;
        align-items: center !important;
    }

    body .header-main-left,
    body .header-main-right {
        align-self: center !important;
    }

    body .header-main-left-table,
    body .header-main-right-table,
    body .header-main-right-table-ic {
        min-height: 82px !important;
        height: 82px !important;
    }

    body .header-main-left-table-ic {
        display: flex !important;
        align-items: center !important;
        height: 82px !important;
    }

    body .header-main-left-table-ic img {
        display: block !important;
        margin: 0 !important;
        max-height: 62px !important;
    }

    body .header-main-right-table-ic {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    body .top-level-menu > li > a {
        padding: 11px 7px !important;
    }
}
