nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #d6cbbf;
    margin: 0 40px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-name {
    font-size: 18px;
    color: #333;
}

.nav-right {
    display: flex;
    gap: 60px;
}

.nav-btn {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: #947968;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.close-menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 35px;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

@media (max-width: 768px) {
    nav {
        padding: 20px;
        margin: 0 20px;
    }

    .nav-name {
        font-size: 16px;
    }

    .profile-pic {
        width: 40px;
        height: 40px;
    }

    .hamburger {
        display: flex;
    }

    .close-menu {
        display: block;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: #FAEEE0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.3s ease;
        z-index: 999;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-right.active {
        right: 0;
    }

    .nav-btn {
        font-size: 15px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

@media (max-width: 480px) {
    .nav-name {
        font-size: 14px;
    }

    .profile-pic {
        width: 35px;
        height: 35px;
    }
}