/* =========================================================
   TZL İNŞAAT — PREMIUM CORPORATE HEADER
========================================================= */

:root {
    --tzl-navy: #0a2c52;
    --tzl-navy-dark: #061a2f;
    --tzl-blue: #124a7c;
    --tzl-gold: #d8b36a;
    --tzl-gold-light: #ead09a;
    --tzl-white: #ffffff;
    --tzl-text: #17283d;
    --tzl-muted: #6d7783;
    --tzl-border: rgba(10, 44, 82, 0.1);
}

/* =========================================================
   ROOT HEADER
========================================================= */

.tzl-site-header {
    position: sticky;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 9999;

    background: var(--tzl-white);

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.tzl-header-container {
    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 0 42px;
}

/* =========================================================
   TOP BAR
========================================================= */

.tzl-topbar {
    position: relative;

    height: 42px;

    display: flex;
    align-items: center;

    color: rgba(255, 255, 255, 0.84);
    background:
        linear-gradient(
            90deg,
            var(--tzl-navy-dark) 0%,
            var(--tzl-navy) 65%,
            #103d68 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    overflow: hidden;

    transition:
        height 0.35s ease,
        opacity 0.25s ease,
        transform 0.35s ease;
}

.tzl-topbar::before {
    content: "";

    position: absolute;
    top: -80px;
    right: 14%;

    width: 240px;
    height: 180px;

    background: rgba(255, 255, 255, 0.04);

    transform: rotate(35deg);

    pointer-events: none;
}

.tzl-topbar-inner {
    position: relative;
    z-index: 2;

    width: 100%;
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   TOP BAR CONTACT
========================================================= */

.tzl-topbar-contact {
    display: flex;
    align-items: center;

    gap: 27px;
}

.tzl-topbar-item {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: rgba(255, 255, 255, 0.82);

    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1;

    letter-spacing: 0.2px;

    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

a.tzl-topbar-item:hover {
    color: var(--tzl-gold-light);
    transform: translateY(-1px);
}

.tzl-topbar-icon {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--tzl-gold);

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    font-size: 9px;
}

/* =========================================================
   TOP BAR RIGHT
========================================================= */

.tzl-topbar-right {
    display: flex;
    align-items: center;

    gap: 19px;
}

.tzl-topbar-slogan {
    color: rgba(255, 255, 255, 0.72);

    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 10.5px;
    font-weight: 400;

    letter-spacing: 0.4px;
}

.tzl-topbar-divider {
    width: 1px;
    height: 18px;

    background: rgba(255, 255, 255, 0.15);
}

/* =========================================================
   SOCIAL LINKS
========================================================= */

.tzl-social-links {
    display: flex;
    align-items: center;

    gap: 7px;
}

.tzl-social-links a {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.82);

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;

    font-size: 10.5px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.tzl-social-links a:hover {
    color: var(--tzl-navy-dark);

    background: var(--tzl-gold);
    border-color: var(--tzl-gold);

    transform: translateY(-2px);
}

/* =========================================================
   MAIN HEADER
========================================================= */

.tzl-main-header {
    position: relative;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--tzl-border);

    box-shadow: 0 7px 28px rgba(10, 44, 82, 0.065);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background-color 0.35s ease,
        box-shadow 0.35s ease;
}

.tzl-navbar {
    min-height: 104px;
    padding: 0;

    transition: min-height 0.35s ease;
}

.tzl-navbar > .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* =========================================================
   LOGO
========================================================= */

.tzl-header-logo {
    flex: 0 0 180px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    margin-right: 52px;
}

.tzl-logo-link {
    width: 180px;
    height: 96px;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    text-decoration: none;
}

.tzl-header-logo img {
    display: block;

    width: auto !important;
    height: auto !important;

    max-width: 180px !important;
    max-height: 92px !important;

    object-fit: contain;

    filter: none !important;

    transition:
        max-width 0.35s ease,
        max-height 0.35s ease,
        transform 0.35s ease;
}

.tzl-logo-link:hover img {
    transform: scale(1.025);
}

/* =========================================================
   COLLAPSE
========================================================= */

.tzl-navbar-collapse {
    min-width: 0;
    align-items: center;
}

/* =========================================================
   NAVIGATION
========================================================= */

.tzl-navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;

    gap: 29px;

    margin-bottom: 0;

    white-space: nowrap;
}

.tzl-navbar-nav .nav-item {
    position: relative;
    flex: 0 0 auto;
}

.tzl-navbar-nav .nav-link {
    position: relative;

    min-height: 104px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    color: var(--tzl-navy) !important;

    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    letter-spacing: 0.15px;

    text-transform: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.tzl-navbar-nav .nav-link::before {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 27px;

    width: 5px;
    height: 5px;

    background: var(--tzl-gold);

    border-radius: 50%;

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(5px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.tzl-navbar-nav .nav-link::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 20px;

    width: 0;
    height: 1px;

    background: var(--tzl-gold);

    transform: translateX(-50%);

    transition: width 0.3s ease;
}

.tzl-navbar-nav .nav-link:hover,
.tzl-navbar-nav .nav-link.active {
    color: var(--tzl-gold) !important;
    transform: translateY(-1px);
}

.tzl-navbar-nav .nav-link:hover::before,
.tzl-navbar-nav .nav-link.active::before {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}

.tzl-navbar-nav .nav-link:hover::after,
.tzl-navbar-nav .nav-link.active::after {
    width: 100%;
}

/* =========================================================
   HEADER ACTIONS
========================================================= */

.tzl-header-actions {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 11px;

    margin-left: 46px;
}

/* =========================================================
   LOGIN BUTTON
========================================================= */

.tzl-header-login {
    width: 44px;
    height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--tzl-navy);

    background: rgba(10, 44, 82, 0.035);

    border: 1px solid rgba(10, 44, 82, 0.14);
    border-radius: 50%;

    font-size: 14px;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.tzl-header-login:hover {
    color: var(--tzl-navy-dark);

    background: var(--tzl-gold);
    border-color: var(--tzl-gold);

    box-shadow: 0 8px 22px rgba(216, 179, 106, 0.3);

    transform: translateY(-2px);
}

/* =========================================================
   OFFER BUTTON
========================================================= */

.tzl-header-offer {
    min-height: 46px;

    padding: 0 8px 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    color: var(--tzl-white);
    background:
        linear-gradient(
            135deg,
            var(--tzl-navy) 0%,
            #123f6c 100%
        );

    border: 1px solid var(--tzl-navy);
    border-radius: 6px;

    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.2px;

    text-transform: none;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 9px 24px rgba(10, 44, 82, 0.15);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.tzl-header-offer-icon {
    width: 32px;
    height: 32px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--tzl-navy-dark);
    background: var(--tzl-gold);

    border-radius: 4px;

    font-size: 10px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.tzl-header-offer:hover {
    color: var(--tzl-white);

    border-color: var(--tzl-gold);

    box-shadow: 0 12px 28px rgba(10, 44, 82, 0.2);

    transform: translateY(-2px);
}

.tzl-header-offer:hover .tzl-header-offer-icon {
    background: var(--tzl-white);
    transform: translateX(2px);
}

/* =========================================================
   SCROLLED STATE
========================================================= */

.tzl-site-header.tzl-header-scrolled {
    box-shadow: 0 12px 38px rgba(10, 44, 82, 0.13);
}

.tzl-site-header.tzl-header-scrolled .tzl-topbar {
    height: 0;

    opacity: 0;

    transform: translateY(-100%);
}

.tzl-site-header.tzl-header-scrolled .tzl-navbar {
    min-height: 82px;
}

.tzl-site-header.tzl-header-scrolled .tzl-logo-link {
    height: 76px;
}

.tzl-site-header.tzl-header-scrolled .tzl-header-logo img {
    max-width: 150px !important;
    max-height: 72px !important;
}

.tzl-site-header.tzl-header-scrolled .tzl-navbar-nav .nav-link {
    min-height: 82px;
}

.tzl-site-header.tzl-header-scrolled
.tzl-navbar-nav
.nav-link::before {
    bottom: 21px;
}

.tzl-site-header.tzl-header-scrolled
.tzl-navbar-nav
.nav-link::after {
    bottom: 15px;
}

/* =========================================================
   1400 PX
========================================================= */

@media (max-width: 1399.98px) {

    .tzl-header-container {
        padding: 0 26px;
    }

    .tzl-header-logo {
        flex-basis: 155px;
        margin-right: 34px;
    }

    .tzl-logo-link {
        width: 155px;
    }

    .tzl-header-logo img {
        max-width: 155px !important;
        max-height: 86px !important;
    }

    .tzl-navbar-nav {
        gap: 19px;
    }

    .tzl-navbar-nav .nav-link {
        font-size: 13px;
    }

    .tzl-header-actions {
        margin-left: 30px;
    }
}

/* =========================================================
   1200 PX
========================================================= */

@media (min-width: 1200px) and (max-width: 1299.98px) {

    .tzl-topbar-contact {
        gap: 18px;
    }

    .tzl-topbar-slogan {
        display: none;
    }

    .tzl-topbar-divider {
        display: none;
    }

    .tzl-header-logo {
        flex-basis: 140px;
        margin-right: 25px;
    }

    .tzl-logo-link {
        width: 140px;
    }

    .tzl-header-logo img {
        max-width: 140px !important;
        max-height: 82px !important;
    }

    .tzl-navbar-nav {
        gap: 14px;
    }

    .tzl-navbar-nav .nav-link {
        font-size: 12px;
    }

    .tzl-header-actions {
        margin-left: 21px;
    }
}

/* =========================================================
   SMALL DESKTOP
========================================================= */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .tzl-header-container {
        padding: 0 16px;
    }

    .tzl-topbar-slogan,
    .tzl-topbar-divider {
        display: none;
    }

    .tzl-topbar-contact {
        gap: 15px;
    }

    .tzl-topbar-item {
        font-size: 10px;
    }

    .tzl-header-logo {
        flex-basis: 118px;
        margin-right: 16px;
    }

    .tzl-logo-link {
        width: 118px;
        height: 82px;
    }

    .tzl-header-logo img {
        max-width: 118px !important;
        max-height: 76px !important;
    }

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

    .tzl-navbar-nav {
        gap: 8px;
    }

    .tzl-navbar-nav .nav-link {
        min-height: 88px;

        font-size: 10.7px;
    }

    .tzl-navbar-nav .nav-link::before {
        bottom: 23px;
    }

    .tzl-navbar-nav .nav-link::after {
        bottom: 17px;
    }

    .tzl-header-actions {
        gap: 6px;
        margin-left: 12px;
    }

    .tzl-header-login {
        width: 38px;
        height: 38px;
    }

    .tzl-header-offer {
        min-height: 39px;

        padding-left: 13px;

        gap: 8px;

        font-size: 10px;
    }

    .tzl-header-offer-icon {
        width: 27px;
        height: 27px;
    }
}

/* =========================================================
   MOBILE BUTTON
========================================================= */

.tzl-mobile-menu-button {
    width: 45px;
    height: 45px;

    padding: 0;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    color: var(--tzl-navy);
    background: rgba(10, 44, 82, 0.035);

    border: 1px solid rgba(10, 44, 82, 0.14);
    border-radius: 6px;

    box-shadow: none !important;
}

.tzl-mobile-menu-button:focus {
    box-shadow: none !important;
}

.tzl-menu-line {
    width: 19px;
    height: 1.5px;

    display: block;

    background: var(--tzl-navy);

    border-radius: 50px;

    transition:
        transform 0.3s ease,
        opacity 0.25s ease;
}

.tzl-mobile-menu-button.tzl-menu-active
.tzl-menu-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.tzl-mobile-menu-button.tzl-menu-active
.tzl-menu-line:nth-child(2) {
    opacity: 0;
}

.tzl-mobile-menu-button.tzl-menu-active
.tzl-menu-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991.98px) {

    .tzl-site-header {
        position: sticky;
        top: 0;
    }

    .tzl-header-container {
        padding: 0 15px;
    }

    .tzl-topbar {
        height: 35px;
    }

    .tzl-topbar-inner {
        min-height: 35px;
        justify-content: center;
    }

    .tzl-topbar-contact {
        width: 100%;

        justify-content: center;

        gap: 18px;
    }

    .tzl-topbar-contact
    .tzl-topbar-item:nth-child(2),
    .tzl-topbar-location,
    .tzl-topbar-right {
        display: none;
    }

    .tzl-topbar-icon {
        width: 20px;
        height: 20px;
    }

    .tzl-mobile-menu-button {
        display: inline-flex;
    }

    .tzl-navbar,
    .tzl-site-header.tzl-header-scrolled .tzl-navbar {
        min-height: 84px;
    }

    .tzl-header-logo {
        flex-basis: auto;
        margin-right: 0;
    }

    .tzl-logo-link,
    .tzl-site-header.tzl-header-scrolled .tzl-logo-link {
        width: 128px;
        height: 78px;
    }

    .tzl-header-logo img,
    .tzl-site-header.tzl-header-scrolled .tzl-header-logo img {
        max-width: 128px !important;
        max-height: 74px !important;
    }

    .tzl-navbar-collapse {
        position: absolute;

        top: 84px;
        left: -15px;
        right: -15px;

        max-height: calc(100vh - 119px);

        overflow-y: auto;

        background: var(--tzl-white);

        border-top: 1px solid var(--tzl-border);

        box-shadow: 0 28px 50px rgba(10, 44, 82, 0.16);
    }

    .tzl-site-header.tzl-header-scrolled
    .tzl-navbar-collapse {
        max-height: calc(100vh - 84px);
    }

    .tzl-navbar-nav {
        display: block;

        width: 100%;

        padding: 13px 0;

        white-space: normal;
    }

    .tzl-navbar-nav .nav-item {
        width: 100%;
    }

    .tzl-navbar-nav .nav-link,
    .tzl-site-header.tzl-header-scrolled
    .tzl-navbar-nav
    .nav-link {
        width: 100%;
        min-height: 52px;

        padding: 0 24px !important;

        justify-content: flex-start;

        color: var(--tzl-navy) !important;

        border-bottom: 1px solid rgba(10, 44, 82, 0.055);

        font-size: 13px;
        font-weight: 500;

        transform: none;
    }

    .tzl-navbar-nav .nav-link::before {
        display: none;
    }

    .tzl-navbar-nav .nav-link::after {
        left: 0;
        bottom: 0;

        width: 3px;
        height: 0;

        transform: none;

        transition: height 0.25s ease;
    }

    .tzl-navbar-nav .nav-link:hover,
    .tzl-navbar-nav .nav-link.active {
        padding-left: 31px !important;

        background: rgba(10, 44, 82, 0.025);
    }

    .tzl-navbar-nav .nav-link:hover::after,
    .tzl-navbar-nav .nav-link.active::after {
        width: 3px;
        height: 100%;
    }

    .tzl-header-actions {
        width: 100%;

        margin-left: 0;
        padding: 16px 18px 20px;
    }

    .tzl-header-login {
        flex: 0 0 44px;
    }

    .tzl-header-offer {
        flex: 1;
    }
}

/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 575.98px) {

    .tzl-topbar-contact {
        gap: 12px;
    }

    .tzl-topbar-item {
        font-size: 10px;
    }

    .tzl-navbar,
    .tzl-site-header.tzl-header-scrolled .tzl-navbar {
        min-height: 79px;
    }

    .tzl-logo-link,
    .tzl-site-header.tzl-header-scrolled .tzl-logo-link {
        width: 115px;
        height: 72px;
    }

    .tzl-header-logo img,
    .tzl-site-header.tzl-header-scrolled .tzl-header-logo img {
        max-width: 115px !important;
        max-height: 68px !important;
    }

    .tzl-navbar-collapse {
        top: 79px;
    }

    .tzl-mobile-menu-button {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   SLIDER FIX
========================================================= */

.tzl-slider,
.home-slider,
.banner-home,
.banner-slider,
.carousel,
.carousel-inner {
    position: relative;

    z-index: 1;

    margin-top: 0 !important;
    top: auto !important;

    transform: none;
}

/* =========================================================
   BODY LOCK
========================================================= */

body.tzl-menu-open {
    overflow: hidden;
}