/* ===== NAVBAR — TEMİZ VE ÇAKIŞMASIZ ===== */

.bg-dark.text-primary {
  display: none !important;
}
.sub-header {
   display: none;
}
.navbar {
    z-index: 10;
    background-color: white;
    box-shadow: 0px 0px rgba(0, 0, 0, 0);
}

/* =========================================
   RESET
========================================= */

.navbar *,
.navbar *::before,
.navbar *::after {
    box-sizing: border-box;
}

/* =========================================
   NAVBAR
========================================= */

.navbar.navbar-expand-lg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    padding: 0 !important;
    background: #fff !important;
    border: none !important;
}

/* =========================================
   CONTAINER — MASAÜSTÜ (1400px+)
========================================= */

.navbar.navbar-expand-lg .container {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    height: 88px;
    padding: 0 42px !important;
    background: #fff;
    border: none;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    align-items: center;
    overflow: visible;
    z-index: 10;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

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

.navbar-brand {
    position: relative;
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 !important;
    padding: 0 0 0 30px !important;
    height: 100%;
}

.siteLogo {
    height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    transform: none !important;
}

/* =========================================
   MENU
========================================= */

.custom-navbar-collapse {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    position: relative;
    padding: 0 !important;
    text-decoration: none;
    color: #151515;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: .35s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #b58d74;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: #b58d74;
    border-radius: 20px;
    transition: .35s ease;
}

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

/* =========================================
   RIGHT
========================================= */

.navbar-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: 100%;
}

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

.nav-social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #222;
    background: #f7f7f7;
    border: none;
    font-size: 16px;
    transition: .35s ease;
}

.nav-social:hover {
    background: #111;
    color: #fff;
}

/* =========================================
   CTA BUTTON
========================================= */

.nav-cta {
    height: 50px;
    padding: 0 30px;
    border-radius: 12px;
    background: #151515;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-left: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .35s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: #b58d74;
}

/* =========================================
   TOGGLER
========================================= */

.navbar-toggler {
    width: 46px;
    height: 46px;
    border: none !important;
    box-shadow: none !important;
    background: #f5f5f5 !important;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1000001;
    border-radius: 12px;
}

.navbar-toggler span {
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 999px;
    transition: .35s ease;
}

.navbar-toggler.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   ARA EKRAN — 992px ile 1399px          ← DEĞİŞTİ (1025 → 992)
   Logo büyük + Nav, sağ panel gizli
========================================= */

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

    .navbar.navbar-expand-lg .container {
        grid-template-columns: 220px 1fr;
        padding: 0 32px !important;
        height: 88px;
    }

    .navbar-brand {
        padding: 0 !important;
    }

    .siteLogo {
        height: 80px;
    }

    .navbar-right {
        display: none !important;
    }

    .custom-navbar-collapse {
        position: relative !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        height: 100%;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        max-height: none !important;
    }

    .navbar-nav {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: clamp(20px, 2.5vw, 40px);
        padding: 0 0 0 20px;
    }

    .nav-item {
        width: auto;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        letter-spacing: 1.2px;
        padding: 0 !important;
        border-bottom: none !important;
        background: transparent !important;
    }

    .navbar-nav .nav-link::after {
        display: block;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* =========================================
   MOBİL — 991px ve altı                 ← DEĞİŞTİ (1024 → 991)
========================================= */

@media (max-width: 991px) {

    .navbar.navbar-expand-lg {
        top: 0;
        width: 100%;
    }

    .navbar.navbar-expand-lg .container {
        height: 76px;
        padding: 0 18px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .siteLogo {
        height: 46px;
    }

    .navbar-toggler {
        display: flex;
    }

    .navbar-right {
        display: none !important;
    }

    .custom-navbar-collapse {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 76px);
        background: #ffffff !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-20px);
        transition:
            transform .45s ease,
            opacity .35s ease,
            visibility .35s ease;
        z-index: 999999;
        padding: 20px 24px 30px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 0 15px 40px rgba(0,0,0,.08);
    }

    .custom-navbar-collapse.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        display: block;
        width: 100%;
        padding: 22px 4px !important;
        border-bottom: 1px solid rgba(0,0,0,.08);
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 1px;
        background: #fff;
    }

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

/* =========================================
   KÜÇÜK MOBİL — 768px ve altı
========================================= */

@media (max-width: 768px) {

    .navbar.navbar-expand-lg .container {
        height: 72px;
        padding: 0 16px !important;
    }

    .siteLogo {
        height: 70px;
    }

    .custom-navbar-collapse {
        top: 72px;
        max-height: calc(100vh - 72px);
    }
}

/* =========================================
   GLOBAL
========================================= */

html,
body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.navbar-nav {
    background: transparent !important;
}

.custom-navbar-collapse,
.navbar-nav {
    border: none !important;
    box-shadow: none !important;
}