/* Üst şerit — hızlı linkler + telefon */
.topbar--compact {
    background: #1e3446;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
}

.topbar-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
}

.topbar-compact__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    min-width: 0;
}

.topbar-compact__links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-compact__links a:hover {
    color: #ff7063;
}

.topbar-compact__sep {
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
    user-select: none;
}

.topbar-compact__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.topbar-compact__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.topbar-compact__phone .fi::before {
    font-size: 14px;
    color: #ff7063;
}

.topbar-compact__phone:hover {
    color: #ff7063;
}

/* Ana menü */
.site-header-nav .navigation {
    padding: 4px 0 6px;
}

.site-header-nav .navbar-header .navbar-brand {
    display: inline-block;
    padding-top: 4px;
}

.site-header-nav .navbar-header .navbar-brand img {
    max-width: 160px;
}

.site-header-nav .header-right {
    display: none;
}

.site-header-nav__utility-mobile {
    border-bottom: 1px solid #e4e8e8;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.site-header-nav__utility-mobile > li > a {
    font-size: 15px;
    font-weight: 600;
    color: #177265 !important;
}

@media (min-width: 992px) {
    .site-header-nav #navbar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .site-header-nav #navbar > .site-header-nav__main {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 2px;
        margin: 0;
        float: none;
        flex: 0 1 auto;
    }

    .site-header-nav #navbar > .site-header-nav__main > li {
        float: none;
        flex: 0 0 auto;
        position: relative;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a {
        padding: 26px 18px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #1e3446 !important;
        letter-spacing: 0.01em;
        white-space: nowrap;
        position: relative;
        transition: color 0.2s ease;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a:hover,
    .site-header-nav #navbar > .site-header-nav__main > li > a.active {
        color: #177265 !important;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a::after {
        content: "";
        position: absolute;
        left: 18px;
        right: 18px;
        bottom: 18px;
        height: 2px;
        background: #ff7063;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.2s ease;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a:hover::after,
    .site-header-nav #navbar > .site-header-nav__main > li > a.active::after {
        transform: scaleX(1);
    }

    /* Tema dropdown — #navbar > ul yapısı korunmalı */
    .site-header-nav #navbar > ul.site-header-nav__main .sub-menu {
        background-color: #fff;
        box-shadow: 0 2px 20px rgba(62, 65, 159, 0.09);
        width: 235px;
        position: absolute;
        padding: 20px 0;
        left: 0;
        top: 110%;
        z-index: 100;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s;
    }

    .site-header-nav #navbar > ul.site-header-nav__main > li:hover > .sub-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    .site-header-nav #navbar > ul.site-header-nav__main > li .sub-menu a {
        font-size: 15px;
        display: block;
        padding: 10px 15px;
        color: #1e3446;
        font-weight: 600;
    }

    .site-header-nav #navbar > ul.site-header-nav__main > li .sub-menu a:hover {
        color: #177265;
    }

    .site-header-nav__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: 10px;
        background: #ff7063;
        color: #fff !important;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        text-decoration: none;
        padding: 14px 22px;
        border-radius: 0;
        white-space: nowrap;
        transition: background 0.2s ease;
    }

    .site-header-nav__cta:hover {
        background: #177265;
        color: #fff !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-header-nav #navbar > .site-header-nav__main > li > a {
        padding: 24px 14px !important;
        font-size: 15px !important;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a::after {
        left: 14px;
        right: 14px;
    }

    .site-header-nav__cta {
        padding: 12px 16px;
        font-size: 12px;
        margin-left: 6px;
    }
}

@media (max-width: 1199px) {
    .topbar-compact__links a {
        font-size: 11px;
    }
}

@media (max-width: 991px) {
    .topbar-compact__links {
        display: none;
    }

    .topbar-compact {
        justify-content: center;
        min-height: 38px;
    }

    .topbar-compact__phone {
        font-size: 13px;
    }

    .site-header-nav__cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 16px 0 8px;
        padding: 14px 20px;
        background: #ff7063;
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-decoration: none;
    }

    .site-header-nav__cta:hover {
        background: #177265;
        color: #fff !important;
    }

    .site-header-nav #navbar > .site-header-nav__main > li > a {
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}
