body {
    margin: 0;
    font-family: "Righteous", sans-serif;
  }

  html, body {
  scroll-behavior: smooth;
}

  
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #3e014c;
  padding: 0px 90px; /* redus padding vertical */
  z-index: 3;
}

.logo img {
  height: 120px;
  width: 140px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #fbeed7;
  font-weight: bold;
  font-size: 26px;
  transition: transform 0.2s ease;
}

.nav-links a:hover {
  transform: translateY(-5px); /* animatia mai clară */
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 4;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #fbeed7;
  border-radius: 2px;
}

@media (max-width: 800px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #3e014c;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px 0;
    z-index: 2;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 22px;
    text-align: center;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
  }

  .logo img {
    height: 90px;
    width: 110px;
  }
}
