body {
    padding-top: 4.5rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    padding: 2rem 0;
    border-bottom: 1px solid #333;
}

.navbar-container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    color: #333;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

/* Menü */
.navbar-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar-menu li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.navbar-menu li a:hover {
    background-color: #333;
    color: white;
}

/* Hamburger varsayılan */
.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .navbar-menu {
        position: absolute;
        top: 70px;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        width: 240px;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        padding: 10px 0;
        display: none;
        animation: slideDown 0.3s ease forwards;
        z-index: 9999;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu li a {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 16px;
        font-weight: 600;
        color: #333;
        text-decoration: none;
        border-radius: 0;
        border-bottom: 1px solid #f1f1f1;
        transition: all 0.3s ease;
    }

    .navbar-menu li:last-child a {
        border-bottom: none; /* son elemanda çizgi olmasın */
    }

    .navbar-menu li a:hover {
        background: #333;
        color: #fff;
        padding-left: 2rem; /* hover’da hafif kayma efekti */
    }

    /* Hamburger görünsün */
    .menu-icon {
        display: flex;
    }

    /* Açıldığında menü aktif */
    .menu-checkbox:checked ~ .navbar-menu {
        display: flex;
    }

    /* Hamburger X şekline dönüşsün */
    .menu-checkbox:checked + .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .menu-checkbox:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    .menu-checkbox:checked + .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
}

/* Animasyon */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
