A farewell after dinner
Croatian Laku noć literally expresses the wish for an easy night. It fits the moment when people are saying their final goodbyes for the day, whether they have been dining together or staying in the same accommodation. If the other person is continuing their evening, a general farewell may be more appropriate. You need not suggest that someone is going straight to bed every time you say the phrase.
Reading the letters lj and ć
In Croatian, lj represents a single palatal consonant, approximately like the sound in the middle of million. The spelling lijepo begins with that sound, followed by its vowels. The final ć of noć is distinct from č in careful pronunciation. Listening to the two sounds is more useful than trying to assign an exact English equivalent. An understandable approximation is enough to start using the expression.
How personal should your wish be?
A holiday apartment owner or a member of staff can be addressed simply with the standard farewell. With a travelling companion, you might add a friendly sleep wish. Croatian has singular familiar and plural or polite verb forms, so spavajte is useful if addressing a host respectfully or speaking to several people. The expression Slatki snovi is more affectionate and suits a message to someone close rather than an ordinary service encounter.