﻿/* ===========================================================
   HEADER — koyu & güçlü endüstriyel
=========================================================== */

body {
    padding-top: 128px;
}

@media(max-width:991px) {
    body {
        padding-top: 70px;
    }
}

.bz-header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 3px solid var(--bz-ink);
}

.topbar {
    height: 40px;
    background: var(--bz-ink);
    color: #fff;
    font-size: 13px;
    letter-spacing: .2px;
}

    .topbar .container {
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    transition: .25s;
}

    .topbar a:hover {
        color: var(--bz-primary-light, #e2565b);
    }

.divider {
    width: 1px;
    height: 14px;
    background: rgba(255,255,255,.22);
}

.navbar {
    background: #fff;
    min-height: 88px;
    transition: .30s;
    padding: 0;
}

    .navbar .container {
        min-height: 88px;
    }

.navbar-brand img {
    height: 52px;
    transition: .3s;
}

.bz-header.active .navbar {
    min-height: 70px;
}

    .bz-header.active .navbar .container {
        min-height: 70px;
    }

.bz-header.active .navbar-brand img {
    height: 42px;
}

.navbar-nav {
    gap: 4px;
}

.nav-link {
    color: var(--bz-ink);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .6px;
    position: relative;
    padding: 32px 14px !important;
    transition: .2s;
}

    .nav-link:hover {
        color: var(--bz-primary);
    }

    .nav-link::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 0;
        height: 3px;
        background: var(--bz-primary);
        transform: scaleX(0);
        transform-origin: left;
        transition: .25s;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn {
    width: 44px;
    height: 44px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--bz-gray-100);
    border: 1px solid var(--bz-border);
    color: var(--bz-ink);
    transition: .2s;
}

    .search-btn:hover {
        background: var(--bz-ink);
        border-color: var(--bz-ink);
        color: #fff;
    }

.b2b-btn {
    background: var(--bz-primary);
    color: #fff;
    padding: 13px 26px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .2s;
}

    .b2b-btn:hover {
        background: var(--bz-ink);
        color: #fff;
    }


.b2b-btn-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    padding: 4px 14px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: .2s;
}

    .b2b-btn-login:hover {
        background: var(--bz-primary);
        border-color: var(--bz-primary);
        color: #fff;
    }

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

    .navbar-toggler i {
        font-size: 32px;
    }

.bz-header,
.navbar,
.navbar .container {
    overflow: visible;
}

.brand-group {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-collapse.collapsing {
    transition-duration: .2s;
}


/*=========================================================
    ARAMA PANELİ
=========================================================*/

.bz-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bz-ink);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
    z-index: 998;
}

    .bz-search-panel.show {
        max-height: 120px;
        opacity: 1;
        padding: 18px 0;
    }

.bz-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 0;
    padding: 6px 6px 6px 22px;
}

    .bz-search-form i.bi-search {
        color: rgba(255,255,255,.6);
        font-size: 18px;
    }

    .bz-search-form input {
        flex: 1;
        border: none;
        background: transparent;
        color: #fff;
        font-size: 15px;
        font-family: inherit;
        padding: 10px 0;
    }

        .bz-search-form input::placeholder {
            color: rgba(255,255,255,.5);
        }

        .bz-search-form input:focus {
            outline: none;
        }

    .bz-search-form button[type="submit"] {
        background: var(--bz-primary);
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 0;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: .5px;
        cursor: pointer;
        transition: .3s;
        flex-shrink: 0;
    }

        .bz-search-form button[type="submit"]:hover {
            background: #fff;
            color: var(--bz-ink);
        }

    .bz-search-form .bz-search-close {
        width: 40px;
        height: 40px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        color: rgba(255,255,255,.7);
        border: none;
        cursor: pointer;
        flex-shrink: 0;
        transition: .3s;
    }

        .bz-search-form .bz-search-close:hover {
            color: #fff;
        }

@media(max-width:576px) {

    .bz-search-form {
        padding-left: 16px;
    }

        .bz-search-form button[type="submit"] {
            padding: 10px 16px;
        }
}

@media(max-width:991px) {

    .topbar {
        display: none;
    }

    .navbar {
        min-height: 70px;
    }

        .navbar .container {
            min-height: 70px;
        }

    .mobile-icons {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        margin-right: 10px;
    }

    .mobile-search-btn {
        width: 40px;
        height: 40px;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bz-gray-100);
        border: 1px solid var(--bz-border);
        color: var(--bz-ink);
        font-size: 16px;
        flex-shrink: 0;
    }

        .mobile-search-btn:hover {
            background: var(--bz-primary);
            border-color: var(--bz-primary);
            color: #fff;
        }

    .navbar-collapse {
        background: #fff;
        margin-top: 12px;
        margin-left: auto;
        padding: 18px;
        border-radius: 0;
        border-top: 4px solid var(--bz-primary);
        box-shadow: var(--bz-shadow);
        max-width: 320px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nav-link {
        padding: 12px 0 !important;
    }

        .nav-link::after {
            display: none;
        }

    .header-buttons {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .header-buttons .search-btn {
            display: none;
        }

        .header-buttons .b2b-btn,
        .header-buttons .b2b-btn-mobile {
            width: 100%;
            text-align: center;
        }

    .b2b-btn-mobile {
        background: var(--bz-gray-100);
        border: 1px solid var(--bz-border);
        color: var(--bz-ink);
        padding: 12px 24px;
        border-radius: 0;
        text-decoration: none;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: .5px;
        text-align: center;
        transition: .3s;
    }

        .b2b-btn-mobile:hover {
            background: var(--bz-ink);
            color: #fff;
        }
}
