@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- SIFIRLAMA VE İZOLASYON --- */
.ikn-hdr-wrapper,
.ikn-hdr-wrapper *,
.ikn-hdr-sidebar,
.ikn-hdr-sidebar *,
.ikn-hdr-sidebar-overlay {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- ANA HEADER KASASI --- */
.ikn-hdr-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #101012; /* <-- ARKA PLAN RENK AYARI BURADAN */
    
    /* <-- EN ALTTAKİ KOMPLE YATAY ÇİZGİ AYARI BURADAN --> 
       (Kalınlığını 2px veya rengini rgba(255, 255, 255, 0.25) yaparak değiştirebilirsin kankacım) */
    border-bottom: 2px solid rgba(255, 255, 255, 0.18); 
    
    z-index: 9999;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

/* --- İÇ TAŞIYICI --- */
.ikn-hdr-container {
    /* <-- MASAÜSTÜ FULL GENİŞLİK AYARI BURADAN -->
       (Ekranın sağından ve solundan hafif nefes alsın diye %98 yaptık kankacım. 
        Tamamen sıfıra sıfır duvarlara yapışsın istersen width: 100%; ve max-width: none; yapabilirsin) */
    width: 98%;
    max-width: 1920px; 
    
    margin: 0 auto;
    display: flex;
    align-items: stretch; /* Dikey ayraç çizgilerinin panel yüksekliğince uzaması için */
    justify-content: space-between;
    
    /* <-- PANEL YÜKSEKLİĞİ AYARI BURADAN -->
       (Eski hali 90px idi, biraz daha heybetli dursun diye 105px yaptık kankacım) */
    height: 105px; 
}

/* --- LOGO ALANI --- */
.ikn-hdr-logo-box {
    display: flex;
    align-items: center;
    padding: 0 40px;
    
    /* <-- LOGO YANINDAKİ DİKEY ÇİZGİ AYARI BURADAN -->
       (Eskiden 1px idi ve soluktu. Şimdi 2px kalınlığında ve daha belirgin beyaz yaptık kankacım) */
    border-right: 2px solid rgba(255, 255, 255, 0.18); 
}

.ikn-hdr-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ikn-hdr-logo-desktop {
    /* <-- LOGO BÜYÜKLÜĞÜ BURADAN --> 
       (Panel yüksekliği arttığı için logoyu da biraz büyüttük, 52px yaptık) */
    max-height: 52px; 
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ikn-hdr-logo-mobile {
    max-height: 42px;
    width: auto;
    display: none;
}

.ikn-hdr-logo-link:hover .ikn-hdr-logo-desktop {
    transform: scale(1.03);
}

/* --- ORTA MENÜ ALANI --- */
.ikn-hdr-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.ikn-hdr-menu {
    display: flex;
    list-style: none;
    height: 100%;
}

.ikn-hdr-item {
    position: relative;
    display: flex;
    align-items: center;
}

.ikn-hdr-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 25px; /* Menü elemanları arası boşluk */
    
    /* <-- MENÜ ELEMANLARININ RENK VE FONT AYARI BURADAN -->
       (Eskiden griydi (#a0a0a6), istediğin gibi TAM BEYAZ (#ffffff) yaptık kankacım!) */
    color: #ffffff; 
    font-size: 14px;
    font-weight: 600; /* Daha net okunsun diye kalınlığı biraz artırdık */
    
    text-decoration: none;
    letter-spacing: 0.4px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.ikn-hdr-icon {
    width: 22px; /* İkon boyutları */
    height: 22px;
    margin-bottom: 7px;
    
    /* <-- MENÜ İKONLARININ RENGİ BURADAN -->
       (Yazılar tam beyaz olduğu için ikonları da tam beyaz parlatacak şekilde ayarladık) */
    stroke: #ffffff; 
    transition: all 0.3s ease;
}

/* Hover (Üstüne gelince) ve Aktif Durumlar */
.ikn-hdr-item:hover .ikn-hdr-link,
.ikn-hdr-item.active .ikn-hdr-link {
    color: #3b82f6; /* Üstüne gelince hafif modern mavi bir ton yaksın istersen burayı değiştirebilirsin, şu an şık bir mavi */
}

.ikn-hdr-item:hover .ikn-hdr-icon,
.ikn-hdr-item.active .ikn-hdr-icon {
    stroke: #3b82f6; /* Hover ikon rengi */
    transform: translateY(-3px);
}

/* Menü Altındaki Parlayan Aktif Çizgisi */
.ikn-hdr-link::after {
    content: '';
    position: absolute;
    bottom: 22px; /* Panel yükseldiği için çizgiyi biraz yukarı aldık */
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 35px;
    height: 3px; /* Alt çizgiyi de biraz kalınlaştırdık (3px) */
    background-color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ikn-hdr-item:hover .ikn-hdr-link::after,
.ikn-hdr-item.active .ikn-hdr-link::after {
    transform: translateX(-50%) scaleX(1);
}

/* Açılır Alt Menü (Dropdown) */
.ikn-hdr-arrow {
    font-size: 11px;
    font-style: normal;
    margin-left: 4px;
}

.ikn-hdr-sub-menu {
    position: absolute;
    top: 105px; /* <-- DROPDOWN AÇILMA MESAFESİ (Panel yüksekliğiyle aynı olmalı kankacım: 105px) */
    left: 0;
    min-width: 240px;
    background: #161619;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid #ffffff;
    border-radius: 0 0 8px 8px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 100;
}

.ikn-hdr-dropdown:hover .ikn-hdr-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ikn-hdr-sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ikn-hdr-sub-menu li a:hover {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 26px;
}

/* --- SAĞ HAMBURGER BUTONU --- */
.ikn-hdr-right-action {
    display: flex;
    align-items: center;
    padding: 0 40px;
    
    /* <-- MENÜ (HAMBURGER) YANINDAKİ SOL DİKEY ÇİZGİ AYARI BURADAN -->
       (Bunu da logonun yanındaki gibi 2px kalın ve belirgin hale getirdik kankacım) */
    border-left: 2px solid rgba(255, 255, 255, 0.18); 
}

.ikn-hdr-menu-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.ikn-hdr-menu-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ikn-hdr-btn-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ikn-hdr-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}

.ikn-hdr-hamburger span {
    display: block;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.ikn-hdr-hamburger span:nth-child(1) { width: 26px; }
.ikn-hdr-hamburger span:nth-child(2) { width: 18px; }
.ikn-hdr-hamburger span:nth-child(3) { width: 22px; }

.ikn-hdr-menu-btn:hover .ikn-hdr-hamburger span {
    width: 26px;
}

/* --- YANDAN AÇILAN PREMİUM SİDEBAR --- */
.ikn-hdr-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.ikn-hdr-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.ikn-hdr-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #121214;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.ikn-hdr-sidebar.active {
    right: 0;
}

.ikn-hdr-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ikn-hdr-sidebar-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.ikn-hdr-sidebar-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ikn-hdr-sidebar-close:hover {
    background: #ffffff;
    color: #121214;
    transform: rotate(90deg);
}

.ikn-hdr-sidebar-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ikn-hdr-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ikn-hdr-sidebar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ikn-hdr-sidebar-nav a:hover {
    color: #3b82f6;
    transform: translateX(6px);
}

.ikn-hdr-sidebar-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.ikn-hdr-sidebar-contact h4 {
    color: #a0a0a6;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.ikn-hdr-sidebar-contact p {
    color: #d1d1d6;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ikn-hdr-sidebar-contact strong {
    color: #ffffff;
}

.ikn-phone-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ikn-phone-link:hover {
    color: #3b82f6;
}

/* Sosyal Medya Butonları */
.ikn-hdr-sidebar-social {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 30px;
}

.ikn-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ikn-social-btn svg {
    width: 20px;
    height: 20px;
}

.ikn-social-btn:hover {
    background: #ffffff;
    color: #121214;
    transform: translateY(-3px);
}

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 1100px) {
    .ikn-hdr-nav {
        display: none;
    }
    
    .ikn-hdr-container {
        /* <-- MOBİLDEKİ PANEL YÜKSEKLİĞİ BURADAN -->
           (Mobilde ekranda çok yer kaplamaması için 80px olarak ayarladık) */
        height: 80px; 
        width: 100%;
    }
    
    .ikn-hdr-logo-box {
        padding: 0 20px;
        border-right: none; /* Mobilde sıkışmaması için dikey çizgiyi kaldırdık */
    }
    
    .ikn-hdr-right-action {
        padding: 0 20px;
        border-left: none; /* Mobilde sıkışmaması için dikey çizgiyi kaldırdık */
    }
    
    .ikn-hdr-logo-desktop {
        display: none;
    }
    
    .ikn-hdr-logo-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .ikn-hdr-btn-text {
        display: none;
    }
    
    .ikn-hdr-sidebar {
        max-width: 100%;
        right: -100%;
    }
}