/* Header her şeyin en üstünde başlasın, tam genişlik */
.header-wrapper {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 999;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}


/* Üst çubuk */
.top-bar {
    background-color: #d8d8d8;
    color: #fff;
    width: 100%;
}

.top-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
}

.contact-info a,
.contact-info span {
    color: #1b314f;
    font-size: 0.9rem;
    margin-right: 15px;
    text-decoration: none;
}

.catalog-link {
    color: #213c61;
    text-decoration: none;
    font-weight: 500;
    margin-right: 10px;
}

    .catalog-link:hover {
        color: #102035;
    }

/* Ana navigasyon */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.nav-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

    .nav-menu a {
        text-decoration: none;
        font-weight: 500;
        color: #333;
        transition: all 0.3s ease;
        position: relative;
    }

        .nav-menu a:hover {
            color: #007bff;
        }

        .nav-menu a::after {
            content: "";
            height: 2px;
            width: 0%;
            position: absolute;
            bottom: -4px;
            left: 0;
            background: #007bff;
            transition: width 0.3s;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

#NavHeader {
    padding-left: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    margin-top: 2px;
    text-align: center;
}

@media (max-width: 991px) {
    .top-content,
    .nav-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}

/* Mobil Görünüm İçin Toggle Menu */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block;
        margin-top: 10px;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

        .nav-menu.open {
            display: flex;
        }
}

.nav-menu.open {
    opacity: 1;
    max-height: 500px;
    transform: translateY(0);
}
