.header {
    width: 100%;
}

.header-top {
    width: 100%;
    height: 60px;
    background-image: linear-gradient(to bottom, #10304a , #e1061b);
}

.header-top>div>div {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-top .navs {
    display: inline;
    line-height: 60px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}

.header-top .navs li {
    display: inline;
    margin: 0px 8px;
    position: relative;
}

.header-top .social {
    display: inline;
    line-height: 60px;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    padding-left: 10px;
}

.header-top .social li {
    display: inline;
    margin: 0px 5px;
}

.header-top .social li a i {
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    border: 2px solid #304050;
    border-radius: 50%;
    font-size: 14px;
    opacity: 0.8;
    transition: all 0.3s;
}

.header-top ul li a {
    color: #fff;
    opacity: .7;
    font-size: 13px;
    text-decoration: none;
    font-weight: 400;
}

.header-top ul li a:hover i {
    opacity: 1;
}

.h-border {
    border-right: 1px solid #fff;
    width: 1px;
    opacity: .4;
    height: 25px;
    margin: 0px 20px;
}

.hover-bar:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    background: #304050;
    width: 0;
    height: 1px;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
}

.hover-bar:hover:before {
    width: 100%;
}

.header-gradyen {
    height: 170px !important;
    background: rgb(12, 37, 38);
    background: -moz-linear-gradient(0deg,
            rgba(12, 37, 38, 0) 0%,
            rgba(12, 37, 38, 0.5718662464985995) 30%,
            rgba(12, 37, 38, 0.8071603641456583) 60%,
            rgba(12, 37, 38, 1) 100%);
    background: -webkit-linear-gradient(0deg,
            rgba(12, 37, 38, 0) 0%,
            rgba(12, 37, 38, 0.5718662464985995) 30%,
            rgba(12, 37, 38, 0.8071603641456583) 60%,
            rgba(12, 37, 38, 1) 100%);
    background: linear-gradient(0deg,
            rgba(12, 37, 38, 0) 0%,
            rgba(12, 37, 38, 0.5718662464985995) 30%,
            rgba(12, 37, 38, 0.8071603641456583) 60%,
            rgba(12, 37, 38, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0c2526", endColorstr="#0c2526", GradientType=1);
}

.header-bottom {
    top: 60px;
    width: 100%;
    height: 130px;
    position: absolute;
    z-index: 50;
    background-image: linear-gradient(to bottom, #10304a , #e1061b4d);
}

.header-bottom .logo {
    position: absolute;
    margin-top: -45px;
}

.header-bottom .logo-box {
    height: 130px;
}

.header-bottom .navs {
    display: flex;
    justify-content: space-between;
    margin: 34px 0px;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.header-bottom .navs li {
    display: inline;
    position: relative;
}

.header-bottom .navs li:first-child {
    margin-left: 0;
}

.header-bottom .navs li:last-child {
    margin-right: 0;
    margin-bottom: 0;
}

.header-bottom .navs li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    line-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.header-item {
    position: static !important;
}

.header-item .header-dropdown {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 94px;
    transition: unset;
    overflow: hidden;
    height: 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.header-item:hover>.header-dropdown {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s;
    height: auto;
}

.header-dropdown .link-box {
    background: white;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    padding: 20px 0px;
}

.header-dropdown .link-box:hover {
    box-shadow: 0px 0px 30px 4px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.header-dropdown .link-box a {
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
    color: black !important;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 22px !important;
    transition: all 0.3s;
}

.header-item2:hover>.header-dropdown-small {
    visibility: visible;
    opacity: 1;
}

.header-dropdown-small {
    visibility: hidden;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 60px;
    left: 0;
    width: max-content;
    transition: all 0.3s;
}

.header-dropdown-small li a {
    color: black;
    text-decoration: none;
    line-height: 25px !important;
    padding: 10px !important;
    justify-content: flex-start !important;
    transition: all 0.3s;
}

.header-dropdown-small li a:hover {
    background: #10304a;
}

.right-shadow {
    box-shadow: 9px 0px 5px -7px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.header-tabs {
    float: right;
    list-style: none;
    color: #10304a;
}

.header-tabs li {
    display: list-item !important;
    cursor: pointer;
    padding: 0px 100px 0px 20px;
    line-height: 40px;
    transition: all 0.3s;
}

.header-tabs li:hover,
.header-tabs li.active {
    background: #10304a;
    color: white;
}

.header-dropdown .full {
    max-width: 100% !important;
}

.header-dropdown .tab-panel {
    display: none;
    max-width: 962px;
    padding: 20px;
    width: 100%;
}

.header-dropdown .tab-panel .g-title {
    margin-top: 0 !important;
}

.drp-tumunu-gor {
    font-size: 14px;
    line-height: 47px !important;
    text-decoration: none;
    color: #676c6d !important;
    float: right;
    transition: all 0.3s;
}

.drp-tumunu-gor:hover {
    color: #10304a !important;
}

.drp-tumunu-gor.hover-bar:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    right: 0;
    background: #10304a;
    width: 0;
    height: 1px;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
}

.drp-tumunu-gor.hover-bar:hover:after {
    width: 100%;
}

.drp-haber-box img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.drp-haber-box {
    box-shadow: 0px 0px 6px 1px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.drp-haber-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.drp-haber-box:hover {
    box-shadow: 0px 0px 6px 4px rgba(0, 0, 0, 0.2);
}

.drp-haber-box .content {
    background: white;
    padding: 20px 20px 20px 10px !important;
    display: flex;
    align-items: center;
}

.drp-haber-box h4 {
    font-size: 14px;
    margin: 0;
    color: black;
}

.drp-haber-box p {
    color: grey;
    font-size: 12px;
    line-height: 12px;
    margin: 10px 0px 0px 0px;
}

.header-dropdown .tab-panel.active {
    display: block;
}

.header-dropdown .link-box:hover a {
    color: #10304a !important;
}

.tumunu-gor.link-box a {
    color: white !important;
}

.tumunu-gor.link-box {
    background: #10304a;
}

.tumunu-gor.link-box:hover a {
    color: white !important;
}

.bg-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.header-bottom .hover-bar:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.4);
    width: 0;
    height: 1px;
    -webkit-transition: width 0.3s;
    transition: width 0.3s;
}

.header-bottom .hover-bar:hover:before {
    width: 100%;
}

.header-bottom .search-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.header-bottom .search-box a {
    color: white;
    text-decoration: none;
    font-size: 35px;
    opacity: 0.8;
    transition: 0.3s;
}

.header-bottom .search-box a:hover {
    opacity: 1;
}

.bg-red {
    background: #bb4040;
}

.header-mobile {
    display: none;
}

.header-mobile .logo {
    height: 80px;
    margin: 0px auto;
}

.header-mobile .logo-box {
    display: flex;
    align-items: center;
}

.header-mobile .logo-box a {
    display: contents;
}

.header-mobile .search-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.header-mobile .search-box a {
    color: white;
    text-decoration: none;
    font-size: 35px;
    opacity: 0.8;
    transition: 0.3s;
}

.header-mobile .search-box a:hover {
    opacity: 1;
}

.hamburger-box .icon {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger-box .icon .hamburger {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    transition: 0.5s;
    width: 100%;
    height: 20%;
    background: #fff;
    box-shadow: 0px 2px 5px rgb(0, 0, 0, 0.2);
}

.hamburger-box .icon .hamburger:before,
.hamburger-box .icon .hamburger:after {
    content: "";
    position: absolute;
    transition: 0.5s;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0px 2px 5px rgb(0, 0, 0, 0.2);
}

.hamburger-box .icon .hamburger:before {
    top: -200%;
}

.hamburger-box .icon .hamburger:after {
    top: 200%;
}

.hamburger-box .icon.active .hamburger {
    background: rgb(0, 0, 0, 0);
    box-shadow: 0px 2px 5px rgb(0, 0, 0, 0);
}

.hamburger-box .icon.active .hamburger:before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-box .icon.active .hamburger:after {
    transform: rotate(-45deg);
    top: 0;
}

#mobile-menu {
    width: 350px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #304050;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    transform: translateX(-105%);
}

#mobile-menu.active {
    transform: translateX(0);
}

.drp-mobile li a {
    padding: 0 !important;
    height: 0;
    overflow: hidden;
}

.drp-mobile.active li a {
    padding: 10px !important;
    height: 46px;
}

#dismiss {
    width: 35px;
    height: 35px;
    text-align: center;
    background: #304050;
    position: absolute;
    top: 20px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #304050;
}

#dismiss i {
    line-height: 35px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#mobile-menu .sidebar-header {
    padding: 20px;
    background: #10304a;
}

#mobile-menu ul.components {
    padding: 20px 0;
}

#mobile-menu ul p {
    color: #fff;
    padding: 10px;
}

#mobile-menu ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    transition: all 0.3s;
    text-decoration: none;
    color: #ffffff;
}

#mobile-menu ul li a:hover {
    color: #304050;
    background: #fff;
}

#mobile-menu ul li a i {
    line-height: 26px;
}

#mobile-menu ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    background: #10304a;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);

}

.z-index-9 {
    z-index: 9;

.trigger-link:hover{
	text-decoration:none;
}
.dil_btn{
    background: #10304a;
    border-color: #10304a;
    color: #fff !important;
}
.dil_btn::after {
    right: 2px !important;
}


}
/* ===================================================
   KARSTSO HEADER CUSTOM OVERRIDES
   Orijinal karstso.org.tr tasarımını koruyarak
   arka plan görseli ve renk entegrasyonu eklendi
=================================================== */

/* Header arka plan görseli */
section.header {
    background-image: url('/tema/genel/uploads/arkaplan/arkaplan21/fotterbnr-20260620161533.png') !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

/* Arka plan görseli varsa, gradyen rengi yarı saydam yap */
.header-bottom {
    background-image: linear-gradient(to bottom, #10304acc, #e1061b88) !important;
}

.header-top {
    background-image: linear-gradient(to bottom, #10304aee, #10304acc) !important;
}

/* Açılan dropdown menü logoyu kapatmasın: logo z-index yüksek (sadece masaüstü) */
@media (min-width: 1200px) {
    .header-bottom .logo {
        z-index: 9999 !important;
    }
}

/* Dropdown z-index'i logonun altında tut */
.header-item .header-dropdown {
    z-index: 9990 !important;
}

@media (min-width: 1200px) {
    .header-item .header-dropdown {
        top: auto !important;
        bottom: 0 !important;
        transform: translateY(100%) !important;
        pointer-events: none;
    }

    /* Hover veya tıklama ile açık kalsın */
    .header-item.has-header-dropdown:hover > .header-dropdown,
    .header-item.has-header-dropdown.is-open > .header-dropdown {
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        pointer-events: auto;
    }

    /* Menü ile panel arasındaki boşluğu köprüle — fare kaybolmasın */
    .header-item.has-header-dropdown:hover > .header-dropdown::before,
    .header-item.has-header-dropdown.is-open > .header-dropdown::before {
        content: "";
        position: absolute;
        top: -42px;
        left: 0;
        width: 100%;
        height: 42px;
        background: transparent;
    }

    .header-item.has-header-dropdown.is-open > a.hover-bar,
    .header-item.has-header-dropdown:hover > a.hover-bar {
        opacity: 1;
    }
}

/* Ana sayfa içeriği header altından başlasın */
section.main,
section.main.mtPc {
    margin-top: 190px !important;
}

@media (min-width: 1200px) {
    .mtPc { margin-top: 190px !important; }

    .header-mobile {
        display: none !important;
    }

    .header-top,
    .header-bottom {
        display: block !important;
    }
}

/* Tablet + mobil: kompakt header, masaüstü menü gizli */
@media (max-width: 1199px) {
    section.header {
        position: sticky !important;
        top: 0 !important;
        overflow: visible !important;
        height: auto !important;
        z-index: 1000 !important;
    }

    .header-top,
    .header-bottom,
    .header-item .header-dropdown,
    .header-dropdown-small {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }

    .header-bottom .logo,
    .header-bottom .logo-box {
        display: none !important;
    }

    .header-mobile {
        display: flex !important;
        align-items: center;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 56px !important;
        padding: 10px 12px !important;
        background: #10304a !important;
        z-index: 1001 !important;
        overflow: visible !important;
    }

    .header-mobile .container {
        width: 100%;
        padding: 0 !important;
    }

    .header-mobile .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .header-mobile .col-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .header-mobile .logo-box {
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 8px !important;
    }

    .header-mobile .logo-box a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100%;
    }

    .header-mobile img.logo,
    .header-mobile .logo {
        position: static !important;
        float: none !important;
        display: block !important;
        margin: 0 auto !important;
        max-height: clamp(44px, 10vw, 60px) !important;
        max-width: min(220px, 62vw) !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        z-index: auto !important;
    }

    .header-mobile .search-box {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: auto !important;
        min-width: 44px;
    }

    .header-mobile .search-box a {
        font-size: 22px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .header-mobile .hamburger-box {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-width: 44px;
        min-height: 44px;
        position: relative;
    }

    .hamburger-box .icon {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger-box .icon .hamburger,
    .hamburger-box .icon .hamburger:before,
    .hamburger-box .icon .hamburger:after {
        width: 26px;
        box-shadow: none;
    }

    #mobile-menu {
        width: min(320px, 88vw);
        z-index: 1200;
    }

    #mobile-menu ul li a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .drp-mobile.active li a {
        height: auto;
        min-height: 44px;
    }

    .overlay {
        z-index: 1190;
    }

    section.main,
    section.main.mtPc,
    .mtPc,
    .main-wrap .main.kartso-inner {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .header-mobile img.logo,
    .header-mobile .logo {
        max-height: clamp(52px, 8vw, 64px) !important;
        max-width: min(280px, 50vw) !important;
    }
}

@media (max-width: 767px) {
    .header-mobile img.logo,
    .header-mobile .logo {
        max-height: 52px !important;
        max-width: min(200px, 68vw) !important;
    }
}

/* ===================================================
   SADECE DROPDOWN İÇERİĞİ MODERNİZASYONU
   Header menü butonları orijinal karstso.org.tr stilinde
=================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---- DROPDOWN PANEL (açılan büyük panel) ---- */

/* Dropdown panelin arka planı: hafif frosted glass */
.header-dropdown.bg-red {
    background: linear-gradient(135deg, rgba(15,30,50,0.97) 0%, rgba(30,50,80,0.97) 100%) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 2px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
}

/* Dropdown içindeki arka plan görseli: koyu overlay */
.header-dropdown .bg-image {
    opacity: 0.08 !important;
    filter: grayscale(50%) !important;
}

/* Dropdown alt menü kart kutuları */
.header-dropdown .link-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    transform: translateY(0) !important;
}

.header-dropdown .link-box:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.35) !important;
}

/* Dropdown kart linkleri */
.header-dropdown .link-box a {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    letter-spacing: 0.3px !important;
    padding: 16px 12px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    transition: color 0.2s ease !important;
}

.header-dropdown .link-box:hover a {
    color: #ffffff !important;
}

/* Tümünü Gör butonu */
.tumunu-gor.link-box {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.2) !important;
}

.tumunu-gor.link-box:hover {
    background: rgba(255,255,255,0.2) !important;
}

.tumunu-gor.link-box a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Beyaz arka planlı dropdown (tip2) */
.header-dropdown.bg-white {
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    border-top: 2px solid rgba(0,0,0,0.06) !important;
}

/* Haber kutuları */
.drp-haber-box {
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.25s ease !important;
    border: 1px solid rgba(0,0,0,0.06) !important;
}

.drp-haber-box:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}

.drp-haber-box h4 {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Tab linkleri */
.header-tabs li {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-left: 3px solid transparent !important;
    transition: all 0.2s ease !important;
}

.header-tabs li.active,
.header-tabs li:hover {
    border-left-color: rgba(255,255,255,0.5) !important;
}

/* "Tümünü Gör" linki */
.drp-tumunu-gor {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-weight: 500 !important;
}

