
/* ===== Kurumsal Header (yalnızca header alanını etkiler) ===== */

.hero {
    background: linear-gradient(135deg, #3b4a58, #2a3642);
    color: #fff;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

header.main-header {
    background: #3b4a58; /* görseldeki koyu gri-mavi */
    height: 75px; /* şerit yüksekliği */
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
}

header .header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: grid;
    grid-template-columns: auto auto 1fr auto; /* ikon | logo | menü | dil */
    align-items: center;
    column-gap: 16px;
}

/* Sol uygulama ikonu */
header .app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff; /* görseldeki beyaz blok */
    color: #3b4a58;
    text-decoration: none;
    overflow: hidden;
}

    header .app-icon img,
    header .app-icon svg {
        width: 24px;
        height: 24px;
    }

/* Logo alanı */
header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    header .logo img {
        height: 50px; /* LOGO GIF için önerilen yükseklik */
        width: auto; /* oranı koru */
    }

header .brand-name {
    font-weight: 800;
    letter-spacing: .4px;
    font-size: 1.15rem; /* ~18px */
}

/* Menü */
header .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px; /* öğeler arası boşluk */
}

    header .main-nav a {
        color: #dbe7f0;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        padding: 8px 0;
        position: relative;
        transition: color .15s ease;
    }

        header .main-nav a:hover {
            color: #ffffff;
        }

        /* Alt vurgu (aktif sayfa çizgisi) */
        header .main-nav a[aria-current="page"]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -10px;
            margin: 0 auto;
            width: 44px;
            height: 3px;
            border-radius: 3px;
            background: #ffffff; /* görseldeki beyaz alt çizgi */
        }

/* Dil bayrakları */
header .lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    header .lang img {
        width: 22px;
        height: 22px;
        border-radius: 3px;
        box-shadow: 0 0 0 1px rgba(255,255,255,.25);
    }

/* Erişilebilir odak */
header a:focus-visible {
    outline: 3px solid #22d3ee;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobil uyum: 860px altında menü daralt */
@media (max-width: 860px) {
    header .header-container {
        grid-template-columns: auto 1fr auto;
        column-gap: 12px;
    }

    header .logo .brand-name {
        display: none;
    }
    /* mobilde sadece GIF logo */
    header .main-nav {
        gap: 16px;
        overflow-x: auto;
        scrollbar-width: none; /* Firefox */
    }

        header .main-nav::-webkit-scrollbar {
            display: none;
        }
        /* WebKit */
        header .main-nav a[aria-current="page"]::after {
            bottom: -8px;
            width: 36px; /* çizgi kısalt */
        }
}

