.ee-header {
  width: 100%;
  background: transparent;
  padding: 16px 28px;
  font-family: Arial, sans-serif;
}

.ee-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.ee-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ee-logo a {
  display: flex;
  align-items: center;
}

.ee-logo img {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* Midtmeny */
.ee-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  flex: 1;
  min-width: 0;
}

.ee-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.ee-menu-item:hover {
  opacity: 0.75;
}

.ee-menu-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ee-menu-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.ee-menu-text {
  display: inline-block;
}

/* Houzez Actions */
.ee-houzez-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ee-houzez-logged-in,
.ee-houzez-logged-out {
  display: flex;
  gap: 15px;
  align-items: center;
}

.ee-houzez-btn {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.ee-houzez-btn-login {
  background: transparent;
  border: 1px solid #ffffff;
}

.ee-houzez-btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ee-houzez-btn-register {
  background: #26E22A;
  color: #ffffff;
  border: 1px solid #26E22A;
}

.ee-houzez-btn-register:hover {
  background: #20c123;
  color: #ffffff;
  border-color: #20c123;
}

.ee-houzez-btn-dashboard {
  background: transparent;
  border: 1px solid #ffffff;
}

.ee-houzez-btn-dashboard:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ee-houzez-btn-logout {
  color: #ffffff;
  opacity: 0.8;
}

.ee-houzez-btn-logout:hover {
  opacity: 1;
  text-decoration: underline;
  color: #ffffff;
}

.ee-houzez-btn-mobile-icon {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #26E22A;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ee-houzez-btn-mobile-icon:hover {
  transform: scale(1.05);
}

.ee-houzez-btn-mobile-icon svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}


/* Nettbrett */
@media (max-width: 1100px) {
  .ee-header {
    padding: 14px 20px;
  }

  .ee-main-menu {
    gap: clamp(18px, 3vw, 34px);
  }

  .ee-menu-text {
    display: none;
  }

  .ee-menu-item {
    gap: 0;
  }

  .ee-menu-icon,
  .ee-menu-icon svg {
    width: 30px;
    height: 30px;
  }

  .ee-logo img {
    height: 40px;
    max-width: 150px;
  }
}

/* Mobil */
@media (max-width: 700px) {
  .ee-header {
    padding: 12px 14px;
  }

  .ee-header-inner {
    gap: 10px;
  }

  .ee-main-menu {
    gap: 18px;
  }

  .ee-menu-icon,
  .ee-menu-icon svg {
    width: 26px;
    height: 26px;
  }

  .ee-logo img {
    height: 34px;
    max-width: 120px;
  }
  
  .ee-houzez-btn-login,
  .ee-houzez-btn-register,
  .ee-houzez-btn-dashboard,
  .ee-houzez-btn-logout {
    display: none; /* Hide text buttons on mobile */
  }
  
  .ee-houzez-btn-mobile-icon {
    display: flex; /* Show icon on mobile */
  }
}

/* Veldig små mobilskjermer */
@media (max-width: 420px) {
  .ee-main-menu {
    gap: 14px;
  }

  .ee-menu-icon,
  .ee-menu-icon svg {
    width: 24px;
    height: 24px;
  }

  .ee-logo img {
    height: 30px;
    max-width: 105px;
  }
  
  .ee-houzez-btn-mobile-icon {
    width: 34px;
    height: 34px;
  }
  
  .ee-houzez-btn-mobile-icon svg {
    width: 18px;
    height: 18px;
  }
}