header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: #F9F7E9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

header img {
  height: 100px;
  width: auto;
  transition: transform 0.2s ease-in-out;
}

header img:hover {
  transform: scale(1.04);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 50px;
  padding-right: 50px;
  font-family: 'Poppins', sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: #9C6E41;
  font-size: x-large;
  font-weight: 500;
  transition: font-weight 0.2s;
}

.nav-links a:hover {
  font-weight: 600;
}

@media (max-width: 1160px) {

  header img {
  height: 80px;
}

  .burger {
    width: 35px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    margin-left: auto;
    margin-right: 20px;
    padding-right: 20px;
  }

  .burger span {
    width: 100%;
    height: 4px;
    background-color: #9C6E41;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

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

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

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

  .nav-links {
    position: absolute;
    top: 92%;
    right: 0;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    min-width: max-content;
    gap: 15px;
    padding: 0 25px;
    border-radius: 5px;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    background-color: rgba(248, 245, 243, 0.85);
    z-index: 999;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;

  }

  .nav-links.active {
    max-height: 500px;
    padding: 15px 40px;
  }

  .nav-links a {
    font-size: large;
  }
}
