/* Tüm sayfalarda aynı üst bant. Anasayfa ve yasal sayfalar (style.css) ile üretilen sayfalar (kelime.css) birlikte kullanır;
   bu yüzden renkler sabit yazılı ve taban stillerden bağımsız. Üretilen sayfaların HTML'i tools/build_words.py'de (site_header). */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(23, 35, 58, 0.1), 0 2px 4px -1px rgba(23, 35, 58, 0.06);
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s ease;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    padding: 0 20px;
}
.header a { text-decoration: none; transition: all 0.3s ease; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #17233A;
}
.logo img {
    height: 40px;
    width: auto;
    border-radius: 10px;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-list a {
    font-weight: 500;
    color: #50607A;
}
.nav-list a:hover { color: #1F63B8; }
.nav-list .btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}
.nav-list .btn-primary {
    background-color: #1F63B8;
    color: #FFFFFF;
}
.nav-list .btn-primary:hover {
    background-color: #174C8F;
    color: #FFFFFF;
    transform: translateY(-2px);
}
.mobile-menu-btn {
    display: none;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #17233A;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    .nav-list.active { right: 0; }
}
