/* ================================================================
   USTARAF TEMA — BİRLEŞTİRİLMİŞ CSS
   Dosya  : themes/ustaraf/assets/css/style.css
   Kaynak : style.css + header.php inline <style>
   Not    : header-pro-override.css bu dosyadan SONRA yüklenir ve
            çakışan tanımlamalarda o dosya geçerlidir.
   ================================================================ */


/* ════════════════════════════════════════════════════════════════
   0. CSS DEĞİŞKENLERİ & SIFIRLA
   ════════════════════════════════════════════════════════════════ */
:root {
    --blue:        #1a61ae;
    --white:       #ffffff;
    --orange:      rgba(255,104,58,1);
    --clr-primary: #1a61ae;
    --clr-success: #25d366;
    --clr-light:   #f8f8f8;
    --clr-border:  #e0e0e0;
    --clr-gray:    #666;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FBFBFC;
    font-weight: 300;
    margin: 0;
}

a { text-decoration: none; color: #000; }
a:hover { color: var(--blue); }
ul li { list-style: none; }
img { max-width: 100%; }


/* ════════════════════════════════════════════════════════════════
   1. TOPBAR
   ════════════════════════════════════════════════════════════════ */
.headMenu.bg-blue {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    width: 100%;
    background: #0f3f77 !important;
    border-bottom: none !important;
    box-shadow: none;
}
.headMenu.bg-blue .container {
    padding: 0;
    max-width: 100%;
}
.headMenu.bg-blue ul {
    gap: 0 !important;
    flex-wrap: nowrap !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 34px;
}
.headMenu.bg-blue ul li {
    display: flex;
    align-items: stretch;
}
.headMenu.bg-blue ul li a {
    font-size: 11.5px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,.78) !important;
    padding: 0 14px !important;
    height: 34px;
    border-right: 1px solid rgba(255,255,255,.1) !important;
    border-left:  1px solid rgba(255,255,255,.1) !important;
    margin-right: -1px;
    transition: color .15s, background .15s;
    display: flex !important;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
}
.headMenu.bg-blue ul li a:hover {
    color: #fff !important;
    background: rgba(255,255,255,.09);
    text-decoration: none !important;
}
.headMenu.bg-blue ul li.ms-auto {
    margin-left: auto !important;
}
.headMenu.bg-blue ul li.ms-auto a,
.headMenu.bg-blue ul li.ms-auto span {
    font-size: 11px !important;
    color: rgba(255,255,255,.48) !important;
    padding: 0 14px !important;
    height: 34px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: none !important;
}

/* Mobilde topbar: display none yerine koru, adresi gizle */
@media (max-width: 991px) {
    .headMenu.bg-blue {
        display: flex !important;
    }
    .headMenu.bg-blue ul {
        flex-wrap: nowrap !important;
        height: 34px !important;
        overflow: hidden;
    }
    /* Mobilde adres/harita linkini gizle, telefon numaraları görünsün */
    .headMenu.bg-blue ul li.ms-auto {
        display: none !important;
    }
    .headMenu.bg-blue ul li a {
        font-size: 11px !important;
        padding: 0 10px !important;
    }
}


/* ════════════════════════════════════════════════════════════════
   2. NAVBAR
   ════════════════════════════════════════════════════════════════ */
.navbar {
    border-bottom: 1px solid #ededed;
    background-color: #FFF;
}
.header.navbar {
    background: #fff !important;
    border-bottom: 1px solid #e8e8e8 !important;
    padding: 0 !important;
    transition: box-shadow .25s;
}
.header.navbar .container-fluid { padding: 0 28px; }
.header.navbar .d-flex.align-items-center.justify-content-between {
    height: 62px;
    padding: 0 !important;
    gap: 0;
}
.header.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,.1) !important;
}


/* ════════════════════════════════════════════════════════════════
   3. HEADER FIXED KONUM YÖNETİMİ  (eskiden header.php <style>)
   ════════════════════════════════════════════════════════════════ */
.header--fixed {
    position: fixed;
    top: 34px;   /* topbar yüksekliği */
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}
body.no-topbar .header--fixed {
    top: 0;
}
.header--sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}
.header--static {
    position: relative;
}
.header--fixed.scrolled,
.header--sticky.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,.18);
}

/* Spacer: topbar(34) + navbar(62) = 96px */
.header-spacer { height: 96px; }
body.no-topbar .header-spacer { height: 62px; }

@media (max-width: 991px) {
    .header--fixed { top: 34px; } /* topbar hala gorunuyor mobilde */
    .header-spacer { height: 92px; } /* 34 + 58 */
    body.no-topbar .header-spacer { height: 58px; }
}


/* ════════════════════════════════════════════════════════════════
   4. LOGO
   ════════════════════════════════════════════════════════════════ */
.logoAll {
    display: flex;
    gap: 0 !important;
    align-items: center !important;
    justify-content: center;
}
.logo { margin-right: 32px; }
.logo img,
.logo .site-logo {
    width: auto !important;
    max-height: 40px !important;
    max-width: 150px !important;
    display: block;
}
.logoAll i   { font-size: 25px; }
.logoAll img { width: 25px; cursor: pointer; }


/* ════════════════════════════════════════════════════════════════
   5. HAMBURGER  (eskiden header.php <style>)
   ════════════════════════════════════════════════════════════════ */
.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: #1a61ae !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26,97,174,.3);
    transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-toggle:hover {
    background: #145096 !important;
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(26,97,174,.45);
}
.nav-toggle span {
    display: block;
    height: 2px !important;
    background: #fff !important;
    border-radius: 2px !important;
    transition: width .2s;
}
.nav-toggle span:nth-child(1) { width: 18px; }
.nav-toggle span:nth-child(2) { width: 12px; }
.nav-toggle span:nth-child(3) { width: 18px; }
.nav-toggle:hover span:nth-child(2) { width: 18px; }

@media (max-width: 991px) {
    .nav-toggle { display: flex !important; }
}


/* ════════════════════════════════════════════════════════════════
   6. MASAÜSTÜ NAV + LİNKLER
   ════════════════════════════════════════════════════════════════ */
nav.nav.d-none.d-lg-flex,
#nav-desktop {
    height: 100%;
    display: flex !important;
    align-items: stretch !important;
    flex: 1;
}
.nav.d-none.d-lg-flex .nav__list,
#nav-desktop .nav__list {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    height: 100%;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}
.nav.d-none.d-lg-flex .nav__item,
#nav-desktop .nav__item {
    display: flex;
    align-items: stretch;
    position: relative;
}
.nav.d-none.d-lg-flex .nav__item > .nav__link,
.nav.d-none.d-lg-flex .nav__item > a.nav__link,
#nav-desktop .nav__item > .nav__link,
#nav-desktop .nav__item > a.nav__link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 100%;
    font-size: 13.5px;
    font-weight: 500;
    color: #2a2a2a;
    white-space: nowrap;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s, background .15s;
    cursor: pointer;
}
.nav.d-none.d-lg-flex .nav__item:hover > .nav__link,
.nav.d-none.d-lg-flex .nav__item > .nav__link.active,
#nav-desktop .nav__item:hover > .nav__link,
#nav-desktop .nav__item > .nav__link.active {
    color: #1a61ae;
    border-bottom-color: #1a61ae;
    background: rgba(26,97,174,.04);
}
.nav.d-none.d-lg-flex .nav__item .fa-chevron-down,
#nav-desktop .nav__item .fa-chevron-down {
    font-size: .58rem;
    opacity: .4;
    transition: transform .2s, opacity .2s;
}
.nav.d-none.d-lg-flex .nav__item:hover .fa-chevron-down,
#nav-desktop .nav__item:hover .fa-chevron-down {
    transform: rotate(180deg);
    opacity: .8;
}


/* ════════════════════════════════════════════════════════════════
   7. DROPDOWN
   ════════════════════════════════════════════════════════════════ */
.nav.d-none.d-lg-flex .nav__item.has-dropdown,
#nav-desktop .nav__item.has-dropdown { position: relative; }

.nav.d-none.d-lg-flex .dropdown,
#nav-desktop .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 200px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 2px solid #1a61ae;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.09);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s, transform .18s, visibility .18s;
}
.nav.d-none.d-lg-flex .nav__item.has-dropdown:hover .dropdown,
.nav.d-none.d-lg-flex .nav__item.has-dropdown:focus-within .dropdown,
#nav-desktop .nav__item.has-dropdown:hover .dropdown,
#nav-desktop .nav__item.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.nav.d-none.d-lg-flex .dropdown__item,
#nav-desktop .dropdown__item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    font-size: 13px;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none !important;
    transition: background .12s, color .12s, padding-left .12s;
}
.nav.d-none.d-lg-flex .dropdown__item:last-child,
#nav-desktop .dropdown__item:last-child { border-bottom: none; }
.nav.d-none.d-lg-flex .dropdown__item:hover,
#nav-desktop .dropdown__item:hover {
    color: #1a61ae;
    background: rgba(26,97,174,.05);
    padding-left: 20px;
}
.nav.d-none.d-lg-flex .dropdown__item-icon,
#nav-desktop .dropdown__item-icon {
    color: #1a61ae;
    width: 14px;
    font-size: 11px;
    flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════════
   8. MEGA MENU (masaüstü)
   ════════════════════════════════════════════════════════════════ */
.nav.d-none.d-lg-flex .has-mega,
#nav-desktop .has-mega { position: static !important; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 680px;
    max-width: 880px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 2px solid #1a61ae;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,.11);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
}
.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0; right: 0;
    height: 10px;
}
.nav.d-none.d-lg-flex .has-mega:hover .mega-menu,
.nav.d-none.d-lg-flex .has-mega:focus-within .mega-menu,
#nav-desktop .has-mega:hover .mega-menu,
#nav-desktop .has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}
.mega-menu__inner { display: flex; width: 100%; }
.mega-menu__col {
    flex: 1;
    padding: 18px 20px;
    min-width: 0;
}
.mega-menu__col--wide { flex: 2; }
.mega-menu__col--posts {
    flex: 1;
    padding: 18px 16px;
    border-left: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 10px 0;
}
.mega-menu__heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #999;
    padding-bottom: 9px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.mega-menu__heading i { color: #1a61ae; font-size: 11px; }
.mega-menu__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    background: #1a61ae;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 9px;
    margin-left: auto;
}
.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
}
.mega-menu__cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 12.5px;
    color: #2a2a2a;
    text-decoration: none !important;
    transition: background .12s, color .12s;
    white-space: nowrap;
    overflow: hidden;
}
.mega-menu__cat-item:hover { background: rgba(26,97,174,.07); color: #1a61ae; }
.mega-menu__cat-item i,
.mega-menu__cat-item img {
    color: #1a61ae;
    font-size: 12px;
    width: 16px; height: 16px;
    object-fit: contain;
    flex-shrink: 0;
    text-align: center;
}
.mega-menu__cat-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.mega-menu__cat-item em {
    font-style: normal;
    font-size: 9.5px;
    background: rgba(26,97,174,.1);
    color: #1a61ae;
    padding: 1px 5px;
    border-radius: 8px;
    flex-shrink: 0;
}
.mega-menu__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 12.5px;
    color: #2a2a2a;
    text-decoration: none !important;
    transition: background .12s, color .12s;
    margin-bottom: 2px;
}
.mega-menu__link:hover { background: rgba(26,97,174,.07); color: #1a61ae; }
.mega-menu__count {
    margin-left: auto;
    font-size: 9.5px;
    background: rgba(26,97,174,.1);
    color: #1a61ae;
    padding: 1px 5px;
    border-radius: 8px;
}
.mega-menu__all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 13px;
    border: 1px solid #1a61ae;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1a61ae;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.mega-menu__all-link:hover { background: #1a61ae; color: #fff !important; }
.mega-menu__post {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #2a2a2a;
    text-decoration: none !important;
    transition: background .12s, color .12s;
    margin-bottom: 3px;
}
.mega-menu__post:hover { background: rgba(26,97,174,.07); color: #1a61ae; }
.mega-menu__post img {
    width: 44px; height: 36px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    display: block !important;
}
.mega-menu__post-img-placeholder {
    width: 44px; height: 36px;
    background: #ebebeb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    flex-shrink: 0;
    font-size: 14px;
}
.mega-menu__post span { flex: 1; line-height: 1.35; }


/* ════════════════════════════════════════════════════════════════
   9. SAĞ GRUP: ARAMA + BUTONLAR
   ════════════════════════════════════════════════════════════════ */
.header__cta {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
    margin-left: auto;
}
.search {
    border: 1px solid #e2e2e2 !important;
    border-radius: 8px !important;
    padding: 0 !important;
    background: #f7f7f7 !important;
    display: flex !important;
    align-items: center;
    overflow: hidden;
    height: 36px;
    width: auto !important;
    transition: border-color .18s, box-shadow .18s, background .18s;
}
.search:focus-within {
    border-color: #1a61ae !important;
    box-shadow: 0 0 0 3px rgba(26,97,174,.1);
    background: #fff !important;
}
.search form {
    display: flex !important;
    align-items: center;
    width: 100%;
    height: 100%;
}
.search input {
    font-size: 13px !important;
    padding: 0 12px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    width: 170px;
    height: 100%;
    color: #333;
    font-weight: 300;
}
.search input::placeholder { color: #aaa; }
.search button {
    background: #1a61ae !important;
    border: none !important;
    color: #fff !important;
    padding: 0 14px !important;
    height: 100%;
    cursor: pointer;
    transition: background .15s;
    font-size: 13px !important;
    display: flex !important;
    align-items: center;
    gap: 5px;
    font-weight: 500 !important;
    white-space: nowrap;
    border-radius: 0 !important;
}
.search button:hover { background: #145096 !important; }
.search button i { color: #fff !important; font-size: 13px; }
.btn-outline-success:focus,
.btn-outline-success:active:focus { box-shadow: none; }

.btn--whatsapp {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px !important;
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s;
}
.btn--whatsapp:hover { background: #1eb558 !important; color: #fff !important; }

.kayit {
    display: flex !important;
    align-items: center;
    height: 36px !important;
    background: #1a61ae !important;
    border: 1px solid #6e6f71;
    border-radius: 8px !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 8px rgba(26,97,174,.22);
    transition: background .15s, box-shadow .15s;
}
.kayit:hover {
    background: #145096 !important;
    box-shadow: 0 4px 14px rgba(26,97,174,.38);
}
.kayit a {
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
}


/* ════════════════════════════════════════════════════════════════
   10. DRAWER PANEL  (eskiden header.php <style>)
   ════════════════════════════════════════════════════════════════ */
.nav--drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 300px !important;
    max-width: 85vw !important;
    height: 100% !important;
    background: #fff !important;
    z-index: 99999 !important;
    transform: translateX(-100%) !important;
    transition: transform .28s cubic-bezier(.4,0,.2,1) !important;
    overflow-y: auto !important;
    box-shadow: 4px 0 24px rgba(0,0,0,.13) !important;
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
}
.nav--drawer.is-open {
    transform: translateX(0) !important;
}
.nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2em 1.2em 1em;
    border-bottom: 1px solid #f0f0f0;
}
.nav__header-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--blue);
}
.nav__close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #555;
    line-height: 1;
    padding: 4px 8px;
}
.nav__close:hover { color: #000; }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99998;
    backdrop-filter: blur(2px);
}
.nav-overlay.is-open { display: block; }

.nav--drawer .nav__link {
    display: block;
    padding: .55em 0;
    color: #222;
    font-size: .95rem;
    font-weight: 400;
    border-bottom: 1px solid #f5f5f5;
}
.nav--drawer .nav__link:hover,
.nav--drawer .nav__link.active { color: var(--blue); }


/* ════════════════════════════════════════════════════════════════
   11. MOBİL DRAWER (responsive override)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {

    .header.navbar .d-flex.align-items-center.justify-content-between {
        height: 58px !important;
    }
    .header.navbar .container-fluid { padding: 0 16px; }

    .header__cta .search,
    .header__cta .btn--whatsapp,
    .header__cta .kayit { display: none !important; }

    .nav--drawer {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        right: 0 !important; bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #fff !important;
        z-index: 99999 !important;
        transform: translateY(-100%) !important;
        transition: transform .3s cubic-bezier(.4,0,.2,1) !important;
        overflow: hidden !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .nav--drawer.is-open { transform: translateY(0) !important; }

    .nav__header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 18px !important;
        height: 58px !important;
        border-bottom: 2px solid #1a61ae !important;
        background: #fff !important;
        flex-shrink: 0;
    }
    .nav__drawer-logo { display: none !important; }
    .nav__header-title {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1a61ae !important;
    }
    .nav__close {
        width: 36px !important; height: 36px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f5f5f5 !important;
        border: 1px solid #e8e8e8 !important;
        border-radius: 50% !important;
        font-size: 15px !important;
        color: #555 !important;
        cursor: pointer;
        padding: 0 !important;
        transition: background .15s, color .15s;
    }
    .nav__close:hover { background: #ffe8e8 !important; color: #c0392b !important; }

    .nav--drawer .nav__list {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 6px 0 !important;
        margin: 0 !important;
    }
    .nav--drawer .nav__item {
        border-bottom: 1px solid #f2f2f2 !important;
        padding: 0 !important;
    }
    .nav--drawer .nav__link {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 14px 20px !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        color: #222 !important;
        text-decoration: none !important;
        border-bottom: none !important;
        transition: color .15s, background .15s;
    }
    .nav--drawer .nav__link:hover,
    .nav--drawer .nav__link.active {
        color: #1a61ae !important;
        background: rgba(26,97,174,.05) !important;
    }
    .nav--drawer .nav__link .fa-chevron-down {
        margin-left: auto;
        font-size: .62rem;
        opacity: .4;
    }
    .nav--drawer .has-dropdown > ul {
        background: #f9f9f9;
        border-left: 3px solid rgba(26,97,174,.25);
        margin: 0 0 4px 20px;
        padding: 0 !important;
    }
    .nav--drawer .has-dropdown > ul li { border-bottom: 1px solid #eee; }
    .nav--drawer .has-dropdown > ul li a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 11px 16px;
        font-size: 13.5px;
        color: #444;
        text-decoration: none !important;
        transition: color .15s;
    }
    .nav--drawer .has-dropdown > ul li a:hover { color: #1a61ae; }
    .nav--drawer .mega-menu { display: none !important; }

    .nav__footer {
        flex-shrink: 0;
        border-top: 1px solid #eee;
        padding: 14px 20px !important;
        background: #f8f8f8;
    }
    .nav__footer-info {
        display: flex;
        flex-direction: column;
        gap: 9px;
    }
    .nav__footer-info a,
    .nav__footer-info span {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #444;
        text-decoration: none;
        font-weight: 500;
    }
    .nav__footer-info a:hover { color: #1a61ae; }
    .nav__footer-info a i,
    .nav__footer-info span i {
        color: #1a61ae;
        width: 16px;
        text-align: center;
        flex-shrink: 0;
        font-size: 13px;
    }
    .nav__footer-info a[href*="whatsapp"] { color: #25D366 !important; }
    .nav__footer-info a[href*="whatsapp"] i { color: #25D366 !important; }

    .nav-overlay {
        backdrop-filter: blur(3px) !important;
        background: rgba(0,0,0,.5) !important;
    }
}


/* ════════════════════════════════════════════════════════════════
   12. DRAWER MOBİL MEGA MENÜ
   ════════════════════════════════════════════════════════════════ */
.mob-nav__item { border-bottom: 1px solid #f0f0f0; }

.mob-nav__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 500;
    color: #222;
    text-decoration: none !important;
    transition: color .15s, background .15s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.mob-nav__link i:first-child {
    color: #1a61ae;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-size: 13px;
}
.mob-nav__link > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mob-nav__link:hover,
.mob-nav__link.active { color: #1a61ae; background: rgba(26,97,174,.05); }
.mob-nav__link.active > i:first-child { color: #1a61ae; }

.mob-chevron {
    font-size: 10px;
    opacity: .45;
    transition: transform .25s, opacity .25s;
    flex-shrink: 0;
    margin-left: auto;
}
.mob-has-mega.is-open .mob-chevron,
.mob-has-sub.is-open  .mob-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: #1a61ae;
}

.mob-sub {
    display: none;
    background: #f9f9f9;
    border-left: 3px solid rgba(26,97,174,.3);
    margin-left: 20px;
}
.mob-sub.is-open { display: block; }
.mob-sub__link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    transition: color .15s, background .15s;
}
.mob-sub__link:last-child { border-bottom: none; }
.mob-sub__link i { color: #1a61ae; width: 14px; text-align: center; font-size: 11px; flex-shrink: 0; }
.mob-sub__link:hover { color: #1a61ae; background: rgba(26,97,174,.05); }

.mob-mega {
    display: none;
    background: #f8f8f8;
    border-left: 3px solid rgba(26,97,174,.35);
    border-top: 1px solid #eee;
}
.mob-mega.is-open { display: block; }
.mob-mega__heading {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px 7px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #999;
    border-bottom: 1px solid #eee;
}
.mob-mega__heading i { color: #1a61ae; font-size: 11px; }
.mob-mega__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    background: #1a61ae;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 9px;
    margin-left: auto;
}
.mob-mega__grid { display: grid; grid-template-columns: 1fr 1fr; }
.mob-mega__cat {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    text-decoration: none !important;
    transition: color .15s, background .15s;
    min-width: 0;
    overflow: hidden;
}
.mob-mega__grid .mob-mega__cat:nth-child(even) { border-right: none; }
.mob-mega__cat:hover { color: #1a61ae; background: rgba(26,97,174,.06); }
.mob-mega__cat > i,
.mob-mega__cat > img {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 16px !important; height: 16px !important;
    min-width: 16px !important; max-width: 16px !important;
    flex-shrink: 0 !important;
    object-fit: contain;
    color: #1a61ae;
    font-size: 12px;
    text-align: center;
}
.mob-mega__cat > span {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    line-height: 1.3;
}
.mob-mega__cat > em {
    font-style: normal;
    font-size: 9px;
    background: rgba(26,97,174,.1);
    color: #1a61ae;
    padding: 1px 4px;
    border-radius: 8px;
    flex-shrink: 0 !important;
    white-space: nowrap;
    line-height: 1.4;
}
.mob-mega__all {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #1a61ae;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none !important;
    transition: background .15s;
}
.mob-mega__all:hover { background: rgba(26,97,174,.07); }
.mob-mega__all i { font-size: 10px; }
.mob-mega__post {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    font-size: 12px;
    color: #333;
    border-bottom: 1px solid #eee;
    text-decoration: none !important;
    transition: color .15s, background .15s;
}
.mob-mega__post:last-child { border-bottom: none; }
.mob-mega__post:hover { color: #1a61ae; background: rgba(26,97,174,.05); }
.mob-mega__post img { width: 46px; height: 36px; object-fit: cover; border-radius: 4px; flex-shrink: 0; display: inline-block !important; }
.mob-mega__post-ph {
    width: 46px; height: 36px;
    background: #e8e8e8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    flex-shrink: 0;
    font-size: 13px;
}
.mob-mega__post > span {
    flex: 1;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ════════════════════════════════════════════════════════════════
   13. FOOTER
   ════════════════════════════════════════════════════════════════ */
.socialFooter a {
    text-align: center;
    color: #FFFFFF;
    padding: 2.5em 0;
    border: solid 1px #373737;
}
.facebook::before, .twitter::before,
.linkedin::before, .instagram::before {
    content: '';
    width: 0%;
    height: 100%;
    position: absolute;
    transition: all .5s;
}
.facebook:hover::before  { width: 100%; }
.twitter:hover::before   { width: 100%; }
.linkedin:hover::before  { width: 100%; }
.instagram:hover::before { width: 100%; }
.facebook::before  { background-color: #4267B2; }
.twitter::before   { background-color: #14171A; }
.linkedin::before  { background-color: #0e76a8; }
.instagram::before { background-color: #833AB4; }
.border-dark-color { border-color: #373737 !important; }


/* ════════════════════════════════════════════════════════════════
   14. SABİT FLOAT BUTONLAR (up_phone / call_phone birleştirildi)
   ════════════════════════════════════════════════════════════════ */
.up_phone, .call_phone {
    position: fixed;
    width: 50px; height: 50px;
    font-size: 30px;
    z-index: 999;
    background-color: #3c7bc2;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 1em;
    bottom: 64px;
    border-radius: 38px;
    color: #FFF;
}
.up_phone::before, .call_phone::before {
    position: absolute;
    content: '';
    width: 145%; height: 145%;
    background: #437dbe;
    z-index: -2;
    border-radius: 50px;
    animation: callPhoneAnim 1s linear infinite;
}
.up_whatsapp, .call_whatsapp {
    position: fixed;
    width: 50px; height: 50px;
    font-size: 30px;
    z-index: 999;
    background-color: #009688;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 1em;
    bottom: 64px;
    border-radius: 38px;
    color: #FFF;
}
.up_whatsapp::before, .call_whatsapp::before {
    position: absolute;
    content: '';
    width: 145%; height: 145%;
    background: #009688;
    z-index: -2;
    border-radius: 50px;
    animation: callWaAnim 1s linear infinite;
}
@keyframes callPhoneAnim {
    0%   { background-color: #437dbe; }
    50%  { background: rgba(67,125,190,.14); }
    100% { background-color: #437dbe; }
}
@keyframes callWaAnim {
    0%   { background-color: #009688; }
    50%  { background: rgba(67,125,190,.14); }
    100% { background-color: #009688; }
}

@media (max-width: 991px) {
    .up_phone,    .call_phone    { left:  14px !important; bottom: 14px !important; }
    .up_whatsapp, .call_whatsapp { right: 14px !important; bottom: 14px !important; }
}


/* ════════════════════════════════════════════════════════════════
   15. GENEL BİLEŞENLER
   ════════════════════════════════════════════════════════════════ */
.heightTop { height: 3px !important; }
@media (max-width: 991px) { .heightTop { display: none !important; } }

.bg-blue      { background-color: var(--blue); }
.text-blue    { color: var(--blue); }
.darkred      { background-color: #79262a; }
.darklightred { background-color: #a72930; }
.redcolor     { background-color: #cd2d23; }
.purplecolor  { background-color: #5a408a; }
.darkblue     { background-color: #273c83; }
.blue         { background-color: #2c609e; }
.lightblue    { background-color: #3c7fb3; }
.turquascolor { background-color: #2d98bd; }
.greencolor   { background-color: #409963; }
.lightgreen   { background-color: #93b975; }

.sliderContainer {
    background: url('/themes/ustaraf/assets/bg.webp');
    background-color: #b7daff;
    padding: 2em 0;
    position: relative;
    background-position: bottom;
}
.alt       { position: absolute; bottom: 0; width: 100%; }
.slideText { font-size: 50px; font-weight: bold; }
.kampanya  { position: absolute; top: -5em; right: 1em; }
.z-index   { z-index: 999; }

.hizmetler  { border-bottom: solid #f5f5f5; }
.firstHiz {
    background: #FFF; color: var(--blue); font-weight: 400;
    padding: 10px; text-align: center; border-radius: 3em;
    width: 75%; margin: 1em 1px; box-shadow: 0px 0 2px 1px #0000001c;
}
.hizItem {
    font-weight: 400; padding: 10px; text-align: center;
    border-radius: 3em; width: 75%; margin: 1em 1px; color: #a7a7a7;
}

.products {
    position: relative; padding: 1em;
    background-color: #FFF; border: solid 1px #CDD; margin-bottom: 1em;
}
.products img { width: 100%; height: 200px; object-fit: contain; }
.products h3  { font-size: 19px; color: var(--blue); margin: 1em 0; }
.catProducts { position: absolute; top: 1em; left: 1em; display: flex; gap: 10px; }
.catProducts div { color: #FFF; padding: 5px; font-size: 10px; border-radius: 2em; }
.catProducts div:first-child { background-color: var(--blue); }
.catProducts div:last-child  { background-color: var(--orange); }
.cardButton {
    background-color: var(--orange); padding: 15px; margin-top: 1em;
    display: block; text-align: center; color: #FFF; border: solid #222 1px;
}
.cardButton:hover { background-color: #e96030; color: #fff; }

.baslik h1 { font-size: 45px; font-weight: 300; padding-left: 3em; position: relative; }
.baslik h1::before {
    content: ''; position: absolute; width: 110px; height: 2px;
    background-color: #000; left: 0; top: 50%; transform: translateY(-50%);
}

.post-cat-badge {
    background: var(--blue); color: #fff; padding: 3px 10px;
    border-radius: 3em; font-size: .75rem; font-weight: 500;
}
.post-cat-badge:hover { background: var(--orange); color: #fff; }

.box ul li { padding: 1em 0; font-weight: bold; position: relative; }
.box ul li::before { content: '\ea94'; position: absolute; font-family: icofont; left: -22px; color: #2363aa; }

/* ── .text (single-post içerik alanı) — WooCommerce'den gelen li ikonlarını sıfırla ── */
.text ul { padding-left: 1.4em; margin-bottom: 1em; }
.text ul li { list-style: disc; padding: .35em 0; font-weight: normal; position: static; }
.text ul li::before { display: none; }
.text ol { padding-left: 1.4em; margin-bottom: 1em; }
.text ol li { list-style: decimal; padding: .35em 0; }
.box img   { width: 100%; height: 300px; object-fit: cover; object-position: bottom; }
.thumb img { width: 100%; height: auto; }

.breadcrumbs {
    padding: 20px; font-size: 14px; color: #000;
    border: solid 1px #CDD; margin-bottom: 10px; border-radius: 1em;
}
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { color: #000; }
.breadC { font-size: 13px; position: relative; }
.breadC::before { position: absolute; content: ''; bottom: -1em; width: 50px; height: 3px; background: #2363aa; }

.related_posts img { width: 100%; height: 300px; object-fit: cover; border: solid 1px #3267a3; }
.titleBenzer { background: #2b65a6; color: #FFF; text-align: center; padding: 1em; text-transform: capitalize; }

.forum input, .forum textarea { width: 100%; resize: none; font-size: 14px; padding: 1em; margin: .7em 0; border: none; border-radius: 4px; }
.forum { background-color: #2b65a6; padding: 2em; border-bottom-right-radius: 3em; border-bottom-left-radius: 3em; border-top: 7px solid #000; }

.b-iletisim { padding: 3em 1em; font-size: 22px; background: #f4f4f4; border: solid 1px #CDD; height: 100%; display: flex; align-items: center; justify-content: center; }
.icon i { color: #1a61ae; font-size: 55px !important; margin-bottom: .3em !important; display: block; }

.temaW { width: 200px; height: 200px; object-fit: cover; }

.imgContent img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; transition: transform .2s; }
.imgContent img:hover { transform: scale(1.03); }

.post-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 1.5em; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 3em; font-size: 13px; font-weight: 500; color: #fff; text-decoration: none; }
.share-btn--wa { background: #25d366; }
.share-btn--fb { background: #4267B2; }
.share-btn--tw { background: #14171A; }

.post-cta { background: linear-gradient(135deg, var(--blue), #0e3d7a); color: #fff; padding: 1.5em 2em; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 2em; }
.post-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn--primary { background: var(--orange); color: #fff; padding: 10px 20px; border-radius: 3em; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn--success { background: #25d366; color: #fff; padding: 10px 20px; border-radius: 3em; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.btn--sm { padding: 7px 14px; font-size: 13px; }

.rlet { padding: 0; margin: 0; }
.rlet li { padding: .5em 0; }

.text .rr-lightbox { display: inline-block; width: 92px; height: 92px; margin: 6px 6px 0 0; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.12); vertical-align: top; }
.text .rr-lightbox img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .15s ease; }
.text .rr-lightbox:hover img { transform: scale(1.04); }


/* ════════════════════════════════════════════════════════════════
   16. RESPONSİF (genel)
   ════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 990px) {
    /* NOT: .headMenu artık burada gizlenmez — mobilde gösterilir */
    .makale    { display: none !important; }
    .hizmetler { display: none; }
    .showMenu  { width: 100% !important; padding: 1em !important; }
    .w-sm-100  { width: 100% !important; }
    .mb-sm-3   { margin-bottom: 2em; }
    .breadcrumbs { margin-top: 1em; }
    .baslik h1 { padding-left: 1em; font-size: 30px; }
    .baslik h1::before { bottom: -.5em; top: auto; }
    .bgHizmet  { margin-bottom: 1em; }
    .btnHizmet { width: 100%; text-align: center; margin-top: 1em; }
    .butonyani { text-align: center; padding: 20px; }
}