#header {
    width: 100%;
    height: 8rem;
    background-color: var(--bg-color);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: height 0.3s ease;
}

#header .header-info {
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .header-info .header-logo {
    width: 25rem;
    height: 8rem;
}

#header .header-info .header-logo a {
    width: 18rem;
    height: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}

#header .header-info .header-logo a img {
    width: 100%;
    height: auto;
    position: absolute;
    top: -11px;
}

#header .header-info .header-nmbr {
    width: 18rem;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
}

#header .header-info .header-nmbr img {
    width: 3.5rem;
}

#header .header-info .header-nmbr span {
    font-size: 1.6rem;
    color: #fff;
}

#header .header-info .header-entry {
    width: 25rem;
    height: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .header-info .header-entry ul {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .header-info .header-entry ul li {
    width: 12rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#header .header-info .header-entry ul li::before {
    content: '';
    width: 0;
    height: 0.1rem;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

#header .header-info .header-entry ul li:hover::before {
    width: 100%;
}

#header .header-info .header-entry ul li a {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

#header .header-info .header-entry ul li a:hover {
    color: #f0f0f0;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2),
.hamburger-menu span:nth-child(3) {
    top: 8px;
}

.hamburger-menu span:nth-child(4) {
    top: 16px;
}

.hamburger-menu.open span:nth-child(1) {
    top: 8px;
    width: 0%;
    left: 50%;
}

.hamburger-menu.open span:nth-child(2) {
    transform: rotate(45deg);
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
}

.hamburger-menu.open span:nth-child(4) {
    top: 8px;
    width: 0%;
    left: 50%;
}

@media screen and (max-width: 1440px) {
    #header {
        height: 6rem;
    }
    
    #header .header-info {
        width: 95%;
    }
}

@media screen and (max-width: 1200px) {
    #header .header-info .header-logo {
        width: 22rem;
    }

    #header .header-info .header-nmbr {
        width: 16rem;
    }

    #header .header-info .header-entry {
        width: 22rem;
    }
}

@media screen and (max-width: 992px) {
    #header {
        height: 6rem;
    }

    #header .header-info .header-logo {
        width: 20rem;
        height: 7rem;
    }

    #header .header-info .header-logo a {
        width: 16rem;
    }

    #header .header-info .header-nmbr {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    #header .header-info .header-entry {
        position: fixed;
        right: -300px;
        top: 6rem;
        width: 300px;
        height: calc(100vh - 6rem);
        background-color: var(--bg-color);
        transition: 0.3s ease-in-out;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        overflow-y: auto;
        overflow-y: auto; /* Menü içeriği uzunsa scroll olmasını sağlar */
        -webkit-overflow-scrolling: touch; /* iOS için daha iyi scroll deneyimi */
    }

    #header .header-info .header-entry.active {
        right: 0;
    }

    #header .header-info .header-entry ul {
        flex-direction: column;
        align-items: flex-start;
    }

    #header .header-info .header-entry ul li {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    #header .header-info .header-entry ul li::before {
        display: none;
    }

    #header .header-info .header-entry ul li a {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #header {
        height: 6rem;
    }

    #header .header-info .header-logo {
        width: 18rem;
        height: 6rem;
    }

    #header .header-info .header-logo a {
        width: 14rem;
    }

    #header .header-info .header-entry {
        top: 6rem;
        height: calc(100vh - 6rem);
    }
}

@media screen and (max-width: 768px) {
    #header {
        height: 6rem;
    }

    #header .header-info .header-entry {
        top: 6rem;
        height: calc(100vh - 6rem);
    }
}

@media screen and (max-width: 576px) {
    #header .header-info {
        width: 100%;
        padding: 0 1.5rem;
    }

    .hamburger-menu {
        width: 25px;
        height: 18px;
    }

    .hamburger-menu span:nth-child(2),
    .hamburger-menu span:nth-child(3) {
        top: 7px;
    }

    .hamburger-menu span:nth-child(4) {
        top: 14px;
    }
}

@media screen and (max-width: 375px) {
    #header {
        height: 5rem;
    }

    #header .header-info .header-logo {
        width: 10rem;
        height: 5rem;
    }

    #header .header-info .header-logo a {
        width: auto;
        height: 100%;
    }

    #header .header-info .header-logo a img {
        height: 100%;
        width: 100%;
        top: 0;
    }

    .hamburger-menu {
        width: 22px;
        height: 16px;
    }

    .hamburger-menu span {
        height: 2px;
    }

    .hamburger-menu span:nth-child(2),
    .hamburger-menu span:nth-child(3) {
        top: 6px;
    }

    .hamburger-menu span:nth-child(4) {
        top: 12px;
    }

    #header .header-info .header-entry {
        top: 5rem;
        height: calc(100vh - 5rem);
    }
}

/* Sayfa scroll'unu engellemek için yeni stil */
body.no-scroll {
    overflow: hidden;
}