header {
    width: 100%;
    padding: 10px 60px;
    background-color: #383838;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: solid 1px #efc899;
}
#navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#nav_logo {
    height: 50px;
}
#nav_list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
    margin-left: auto; 
}
.nav-item a {
    text-decoration: none;
    color: #fff4e7;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}
.nav-item a:hover {
    color: #efc899;
}
.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #efc899;
    transition: width 0.3s ease;
}
.nav-item a:hover::after, .nav-item.active a::after {
    width: 100%;
}
nav .button-header {
    background: #efc899;
    color: #454545;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
nav .button-header:hover {
    background: #f8d477;
}
.btn-header-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #efc899;
    color: #454545 !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}
.btn-header-mobile:hover {
    background-color: #f8d477;
}
#mobile_btn, #mobile_menu {
    display: none;
}

@media screen and (max-width: 900px) {
    #nav_list { display: none; }
    #mobile_btn {
        display: block;
        border: none;
        background: transparent;
        font-size: 1.8rem;
        color: #efc899;
        cursor: pointer;
    }
    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        background-color: #383838;
        border-top: 1px solid rgba(239, 200, 153, 0.2);
    }
    #mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
        text-align: center;
        align-items: center;
    }
}